View Single Post
  #9  
Old December 7th 10, 06:08 PM posted to microsoft.public.windowsxp.basics
Tim Meddick[_3_]
external usenet poster
 
Posts: 1,020
Default EggHead Alert: Was How to close multiple notepads without answering yes/no/cancel multiple times?

The *real* answer is to simply use XP's built-in function of grouping alike
taskbar items together. You need to set it to group any alike taskbar
items above "2".

Then, no matter how many instances of Notepad are open, you can just
dismiss the lot by going to the single taskbar item with a right-click
"Close Group"

I know you can employ "taskbar grouping" in the "Taskbar Appearance"
section of the "Taskbar" tab of that "Control Panel".

But you need also to set the number to any greater than "2" setting the
reg-value :

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
"TaskbarGroupSize"=dword:00000002

But this can be done with the TweakUI.exe utility for WinXP
http://download.microsoft.com/downlo...ertoySetup.exe

==

Cheers, Tim Meddick, Peckham, London. :-)




"JD" wrote in message
ecom...
Your solution doesn't solve the original posters problem. dstdst12 wanted
to close multiple Notepads, not save their contents. Your solution is
exactly the opposite of what was requested?

Try replying to posts made in the last month or so and stop wasting our
time replying to posts from 2007.

Jared Sohn wrote:
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





--

JD..


Ads