Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To connect a network drive
#2
Macro Macro2037
Code:
Copy      Help
Wsh.WshNetwork n._create
VARIANT v=1
n.MapNetworkDrive("N:" "\\x\y" v)
Macro Macro2038
Code:
Copy      Help
Wsh.WshNetwork n._create
VARIANT v=1
n.RemoveNetworkDrive("N:" v v)

A network drive mapping is for current user only. On Windows Vista and later, there are 2 users simultaneously - standard user and admin. If QM is running as admin, the mapping is visible only to QM and other admin programs, and therefore is not displayed in Windows Explorer. If QM is running as standard user (User or uiAccess), the mapping is not visible to admin programs; it's the same as when you map in Windows Explorer. It seems there is a registry setting to make it visible to admin and standard user: http://www.winability.com/how-to-make-e ... rk-drives/


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)