Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
URL path name from running executable
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00319521
Message ID:
00319523
Views:
14
Running NT, SYS(5) should return the UNC. This is from memory - I can't test here.

>I'm running a VFP setup to a workstation from an NT server using a network path (i.e. \\servername\sharename\setup.exe). This setup launches a VFP post setup executable (as defined in the setup wizard) which accesses dbf files on the server from which it is launched.
>
>The post setup executable currently requires a F:\ drive mapping to a server share to access dbf files (F:\dbfname). Is there any way to determine the server name from which the setup routine is running so that I may access the dbfs using the \\servername\sharename\dbfname format?
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform