|
| |||||||||
| Tags: batch file |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| Can We check the exit command in the batch file
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? |
|
#2
| ||||
| ||||
| Re: Can We check the exit command inthe batch file.
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 |
|
#3
| ||||
| ||||
| Re: Can We check the exit command inthe batch file.
I think it may be due to the CMD window that closes the window. |
|
#4
| ||||
| ||||
| Re: Can We check the exit command inthe batch file. I think it was due to the background task that was running. It would be shown as invisible. Any way in this the OP would be disappear without checking for answers any further. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Can We check the exit command in the batch file" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to work with if command and batch file | kolton | Operating Systems | 5 | 01-12-2010 12:09 AM |
| Batch file to check directory | Trini Alvarado | Software Development | 5 | 01-04-2010 12:00 PM |
| How to exit a Windows MS-DOS window through a batch file. | Juaquine | Operating Systems | 4 | 27-03-2010 06:31 PM |
| stringtokenizer in batch file / dos command | sayeed | Software Development | 2 | 14-10-2009 02:26 PM |
| Exit code from a batch file? | Bhairav | Operating Systems | 3 | 17-02-2009 05:38 PM |