Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set default to issue
Message
From
03/12/2015 13:15:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01628271
Message ID:
01628411
Views:
44
>Another strange (to me) thing I found. On customer server where the directory name is set in UNC I checked the value of SYS(5) (right after SETDEFULT (cDirectName)) and it returned a long string: "\\someservername\app_name\" I thought that SYS(5) should return drive letter and in this case there is no drive letter (the drive is not mapped). Is it normal that in this case SYS(5) returns the folder name?

Yes and no. Yes, the \\servername\sharename\ part is de facto the disk you are accessing. That's what you'd have replaced with a drive letter had you mapped it.

No, this is not a folder name. It's a name of a share as published on the network. For you, it's a disk. Beneath that you have actual folders.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform