First of all Hi. I found this forum and it seems to be great. I will try to participate and help.
here is my question.
I use an environment for TS user. It calls a batch file.
Here it is.
--------
@echo off
net use P: /delete
net use T: /delete
net use U: /delete
net use R: /delete
net use P: \\caij-filesrv\public
net use T: \\caij-filesrv\transfert
net use u: \\caij-filesrv\%username%$
net use R: \\caij-filesrv\administration$
explorer
exit
------
The problem is after executing explorer.exe it will never execute the 'exit' command so the batch file window will stay there and the user need to click the X to close it. Anyone knows what should i do to close the batch file auto ?
here is my question.
I use an environment for TS user. It calls a batch file.
Here it is.
--------
@echo off
net use P: /delete
net use T: /delete
net use U: /delete
net use R: /delete
net use P: \\caij-filesrv\public
net use T: \\caij-filesrv\transfert
net use u: \\caij-filesrv\%username%$
net use R: \\caij-filesrv\administration$
explorer
exit
------
The problem is after executing explorer.exe it will never execute the 'exit' command so the batch file window will stay there and the user need to click the X to close it. Anyone knows what should i do to close the batch file auto ?