Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To connect a network drive
#1
To connect a network drive I call a DOS .bat file, which uses the dos-prompt command "net use z: \\147.......\abc" as it follows :

Function ConnectNetDrive
Code:
Copy      Help
if(RunConsole2("$my qm$\Files\Connect_Z.bat"))
,_s="Command failed, get advice fron QM output"
,min 0; err out "<>%s : <open ''%s /%i''>%s</open> - %s" NowT si _error.place si _s
,mac "Warning_QM" si 0
,end

I wonder whether it exists a QM callable function to do it in an elegant way.

Many thanks !


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)