I want to execute the following DOS command in VB6 to map a drive :
"net use m: \\myserver\mydrive ..."
BUT, I want my program do a pause to the end of the execution of this command.
If i use :
shell("net use m: \\myserver\mydrive ...")
It's not working cause the program don't wait for the end of the command and after this I have a code witch need to have the M drive mapped...
Thanks for your help !!