05-11-2013, 09:04 PM
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
I wonder whether it exists a QM callable function to do it in an elegant way.
Many thanks !
Function ConnectNetDrive
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 !