How To Use Universal Naming Conventions with Visual FoxPro (136920)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 7.0
  • Microsoft Visual FoxPro 8.0

This article was previously published under Q136920

SUMMARY

This article describes the use of Universal Naming Convention (UNC) type path referencing with Microsoft Visual FoxPro.

MORE INFORMATION

When Visual FoxPro must resolve a path (for example with "Use C:\Test.dbf"), it passes the path to the operating system by using the appropriate API. The same procedure is used when referencing a UNC (Universal Naming Convention) path. A UNC path takes the following form:

\\servername\foldername

where servername is the name of your server and where foldername is the name of the folder.For example, the following UNC path points to the Test folder on the Mserver server :

\\Mserver\Test

Note A UNC path is not case-sensitive in Visual FoxPro. Any command that can take a fully qualified path in Visual FoxPro can support a UNC path. There is no delay internal to Visual FoxPro that is caused by the use of a UNC path to reference files. There is no proven speed or reliability increase gained by mapping a network drive to the server versus using a UNC reference.

In general, with the exception of the SET DEFAULT and CD commands, any command that can take a fully qualified path in Visual FoxPro can support UNC.

There is no delay internal to Visual FoxPro caused by the use of UNC to reference files. There is no proven speed or reliability increase given by connecting a network drive to the server and using conventional reference methods.

Modification Type:MinorLast Reviewed:8/30/2004
Keywords:kbhowto kbnetwork KB136920 kbAudDeveloper