Sign in to follow this  
warp X

Batch file question

Recommended Posts

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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this