im kinda new to the batch scripting.i had a problem recently about how to disable the close button of the cmd while the batch file is running.i saw some posts about how to overcome this.but the things stated there was out of my reach..if any1 could point me to a correct direction, it would be really great. it would be really preferred if sum1 can tell me how to do what i mentioned before inside my batch file.so when i use it in some other pc the effect would still be there...
thanks
You could create an executable that disables the [X] button for all processes named "cmd", and run that executable the first line of your batch file.
Here is a c# program that does just that:
You can't.
You could hide the execution of the batch file by using a VBScript
That would hide it from the user, but it wouldn't stop them from killing it in task manager.
What you're asking can't really be done.