Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy question I think....
Message
From
29/10/2002 10:09:51
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00716431
Message ID:
00716432
Views:
27
This message has been marked as a message which has helped to the initial question of the thread.
Fabian
	LOCAL loFSO, loDrivesCol, loDrive, loFolders, loFiles, llIsReady, lnDriveType
	loFSO       = CREATEOBJECT("Scripting.FileSystemObject")
	loDrivesCol = loFSO.Drives
	FOR EACH loDrive IN loDrivesCol
		lnDriveType = loDrive.DriveType
		DO CASE
			CASE lnDriveType = 3
				drv= loDrive.DriveLetter
				SHARE = ALLT(loDrive.ShareName)
				messagebox(+drv+" is mapped as "+share)
		ENDCASE
	NEXT
HTH


>Hi all,
>
>I have a network drive mapped , say "f:\".
>I want to know the server and drive that it is mapping...
>
>i.e.: I have "F:\" and I want to get "\\server\d\"
>
>is there a simple function to do that?
>
>tia
>fabian
Previous
Reply
Map
View

Click here to load this message in the networking platform