Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find UNC path to a file?
Message
 
To
13/06/2007 16:36:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01232750
Message ID:
01232779
Views:
20
Or, in exchange of the IP Address, you can use the computer name

? File('\\' + Getenv("COMPUTERNAME") + '\C$\Temp\test.txt')

>You can always convert c:\sub\dire\cto\ry into \\127.0.0.1\c$\sub\dire\cto\ry (if the local IP is known, it can be used instead), but that's cheating, and I don't see any purpose to it.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform