Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NAS access
#2
I cannot test. Is it possible to map NAS to a drive letter? Then you can try this:

Macro map (connect) network drive2
Code:
Copy      Help
;Note: there are separate mappings for standard user and admin. If QM is admin, the mapping is not in Windows Explorer, and is not visible to non-admin programs.

Wsh.WshNetwork n._create
VARIANT v(1) user("...") password("...")
n.MapNetworkDrive("N:" "\\server\share\folder" v user password)

out dir("N:\file.exe")
10

;Wsh.WshNetwork n._create
;VARIANT v=1
n.RemoveNetworkDrive("N:" v v)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)