More often i'm using one batch file which display many things in it and at the end it shows me exit command.
Can anyone tell me how can i check whether that exit command is called or not?
More often i'm using one batch file which display many things in it and at the end it shows me exit command.
Can anyone tell me how can i check whether that exit command is called or not?
Welcome to Our Windows Forum.
I would suggest you to follow the following code just before the exit command:-
e.g. CODE
Code:echo "script successfully ended at exit point" > script.log exit
I think it may be due to the CMD window that closes the window.
Bookmarks