سؤال

Team,

I have used a batch script in my local machine to execute a batch script in my remote server. For that i have tried the following commands.

net use X: \\Server1\Folder1 /user:uname Pwd
X:
call Test.bat
C:
net use X: /d*

In the above script, first three steps gets executed and creates drive "X" after that calls "Test.bat" in the remote server. After that the control gets missed and next two steps are not getting executed. Can anyone guide me to fix this issue.

هل كانت مفيدة؟

المحلول

You should use start Test.bat if you want control to return to the first script

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top