Batch file question

Started by
1 comment, last by shermy101 18 years, 6 months ago
Can you save and close a notepad window with a batch file? Can you close any application with a batch file?
"I got stuck between levels 4 and 5 and got into this strange place: warp X..."
Advertisement
REM save and close notepad
SaveAndCloseNotepad.exe




REM You just have to write the code for SaveAndCloseNotepad.exe
REM you could terminate forcefully (no save and close):

taskkill /F /IM notepad.exe

REM or with the "do you want to save" box:

taskkill /IM notepad.exe

REM /F argument forcefully closes
REM thats the best you can do i think without writing a
REM program to do it

This topic is closed to new replies.

Advertisement