View Single Post
  #6  
Old December 7th 10, 08:26 AM posted to microsoft.public.windowsxp.basics
Jared Sohn
external usenet poster
 
Posts: 1
Default How to close multiple notepads without answering yes/no/cancelmultiple times?

I know this thread is old but am responding in case anyone discovers this page in a search because they have the same problem.

I would experience this problem a lot so I wrote a small program called Notepad Consolidator which will copy the contents of all untitled notepads and write the content to an automatically-named file.

Get it he

https://github.com/jaredsohn/NotepadConsolidator


It is open source, too.


Jared

On Friday, March 02, 2007 4:45 AM dstdst12 wrote:


Hi there

Quick question regarding notepad. I am using Windows XP.

I often need to open a lot of notepad (e.g. 25 notepads) for temporary
keeping text, but I do not need to save all these.

Everytime I want to close the whole group (e.g. whole 25 notepads),
this message keep coming up (for 25 times !!!)

"The text in the Untitled file has changed. Do you want to save
changes?
Yes/No/Cancel"


Question:
1) How can I close the whole group (e.g. whole 25 notepads) without
answering 25 times "No" ??

2) Any quicker way to close whole group without saving?

Thanks a lot.



On Friday, March 02, 2007 5:17 AM BruceM wrote:


eerm.......... boot the comp again?



On Friday, March 02, 2007 5:25 AM RajKohl wrote:


Unfortunatelly, there is no "No To All" button in Windows XP.

You are talking about closing the Whole Group that means you are using the
"Group Similar Taskbar Button" function of Taskbar Properties. Which means
that Windows XP shows you only one taskbar button for all of your 25 Notepad
items and you are closing them through "Close Group" by right-clicking the
Taskbar button and choosing Close Group.

If that is the case then the quickest way could be holding down the N key to
say "No To All" instead of clicking No for each dialog box.

This is the basic and is for our safety that Windows will always prompt us
for Save or No before closing the document.

But I think there is a good news. I was going to close this post right here
but suddenly I decide to make a Google search on "script for closing an
application" and I found a command that will kill a running process and it
works! The command is:

1. Open some Notepad windows with unsaved files.
2. Click Start - Run - copy and paste the follwing command and press Ok.

taskkill.exe /f /im notepad.exe

This command will close Notepad.exe [or you can specify any application]
without asking you for Save.

But the problem is: you have to copy and paste this each time, which will
take a longer time. So you can create a shortcut of this command on your
desktop.

1. Right-click on your Desktop, point to New - Shortcut
2. type the command: taskkill.exe /f /im notepad.exe
3. Click Next and Give a name like "Kill Notepad".

Now, whenever you have unsaved 25 Notepad files open, just press Winkey+D to
minimize all of them and then double-click on the Kill Notepad shortcut.

Hope this help, let us know!

" wrote:



On Friday, March 02, 2007 10:34 AM lvee wrote:


You could open task manager hold the ctrl key while selecting all instances
of notepad and end notepad by selecting end task.



On Friday, March 02, 2007 1:20 PM Poprivet wrote:


wrote:

There is a program called notepad.exe which makes it easy to do that, plus
to reopen sets of files if you wish to. It's simple and easy to use. I use
it for making the same changes to multiple files all at once and similar
things. It has both a Close All and a Save All feature; no individual acks
needed to use it.

http://www.freedownloadscenter.com/B...tepad_exe.html

About half way down the page; it's free.

Pop`



Submitted via EggHeadCafe
Microsoft LINQ Query Samples For Beginners
http://www.eggheadcafe.com/training-...Operators.aspx

Ads