Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining UNC path at setup
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Determining UNC path at setup
Divers
Thread ID:
00319694
Message ID:
00319694
Vues:
57
I posted this question earlier today. Based on the two responses I received, I obviously did not accurately convey my question.

I'm running a VFP setup to a workstation from an NT server using a UNC 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?

I'm looking to eliminate the need for the F:\ drive mapping entirely. The two responses I received earlier directed me to functions that will determine a UNC path based on a drive mapping. I want to run the setup using a UNC path and determine where the setup exe is running from my VFP post setup executable. This would allow me to access the dbfs using UNC format and eliminate the need for any drive mapping.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform