System Restore lies... ?

G

Guest

28-Apr-06

Win XP PRO SP2 / INTEL CELERON 2.66 GHz / 224MB RAM

System Restore Sucks (just like ERUNT says).


This popular refrain came true for yours truly recently as well. Fortunately
System Restore does still have its good points.

All I wanted was to fix my batchfile problem. Somewhere in there I tried to
check my so-called 'file associations' to get the default 'Edit'or (Notepad)
altered to the much more sensible and presentable 'EDIT.COM' editor on the
right-click menu.

But the process there was so contorted, unintelligible, non-intuitive,
misleading and language-obfuscated (as if created by the man from Mars),
that I must have accidentally changed the default 'Open' to EDIT.COM,
instead of the default 'Edit'to 'EDIT.COM'.

For the record, I couldn't find the "BAT" extension anywhere in the list,
neither before nor after I clicked 'new' (about a hundred times, eventually)
and went thru all the other contortions the same number of times.

Gosh-a-mighty, when are our high and mighty programmers going to come down
to earth and learn some SENSIBLE, negotiable English in the process? IMHO
this should have been a simple, intuitive, one-click, operation! Otherwise,
we'll all have to become programmers so we can understand each other. Back
to Babylon...

Since then it's been an unending battle trying to get ANY of my batchfiles
to RUN (much less, run properly) - which is a bit of a hassle in any case,
in XP.

At one stage there I had a message box come up, asking me if I wanted to
'run', 'save' or 'cancel' any batchfile I clicked on. And this repeated each
time I clicked 'run'. There were several other similar quirks during my
travails but which I just don't remember now.

Then I downloaded tons of knowledge base and website support articles and
programs - none of which did any good whatever. A small zipped ap (via Guys)
that was to correct this exact same problem by restoring the file
associations
to default in the Registry, went up in smoke and didn't do a darn thing.

Finally I decided to risk the dreaded System Restore and found, to my dismay,
that all the assurances given by the dialog boxes about "not affecting any
of your data" and so on and so forth, were all complete B.S.

I'm wondering now, what other files of mine it "restored"...

I spent the last 10 days working on that batchfile which was to simplify
and largely automate the running of the MS OFFRHD tool from the command line,
(plus a few extra neat little features) so that multiple folders and multiple
Office files could be cleaned at once, in one session, by a single click on
the batchfile (with Menu).

Came to find out that 'Restore' did exactly that. Not only did it 'restore'
the batchfile AND it's support (... .txt) files in root to earlier mucked up
versions, but it did so also for several backups of them (I'm paranoid that
way from long experience with you-know-who) in 3 different folders -
including 2 sub-folders! Fortunately I also had them on diskette - but not
quite the latest.

I had to finally un-do Restore, copy my final versions there to diskette
and then Restore again to the day before and replace the old files there
with my latest ones, manually.

Whatever happened to Efficiency ... ? (I'm sorry, by the way but 'batch
files'
is as far as I got in 'programming school').

The saving grace was that Restore did restore the default 'file association'
settings to what they were before the fiasco. So at least all my batches can
run now. (I won't go so far as to say 'run OK' because I'm still trying to
decipher the Help language for the 'SET' cmnd, which looks totally beyond
me and I'm still wondering whether it's Greek or old Latin. There's supposed
to be a way, also, to simulate "command/y/c" - which is gone now from the
lexicon - via 'SET', but Im still totally unclear on the concept and would
greatly appreciate some clarification on this).

I'm still as confused as ever over the process of selecting the correct
program to 'Open' (there's another one for you) / run / execute files w/ the
'BAT' extension. I could use a bit of enlightenment there from anyone who's
clearer on the concept than yours truly.

Babylon, here I kum.

Ted the Frustrated ...
 
D

DanS

I'm still as confused as ever over the process of selecting the
correct program to 'Open' (there's another one for you) / run /
execute files w/ the 'BAT' extension. I could use a bit of
enlightenment there from anyone who's clearer on the concept than
yours truly.

Babylon, here I kum.

Ted the Frustrated ...

..EXE, .COM, and .BAT, have ALWAYS been executable files, and 'Open' them
means to run them.

The right-click 'Edit' choice is undoubtably a registry edit, as that
would be in the context menu handler.

Not doing it in the registry, the only other way I can see handling this
is to create a shortcut to Edit.com in the 'Send To' section. Then to
edit a bat file, right-click -> 'Send To'-> 'Edit'. At some point,
Windows will/should add 'Edit.com' to the 'Open With...' context menu
choice.

The only advantage I see to Edit.com is that you can simultaneously open
edit 2 different files, or that what it looks like anyway in split-screen
mode.

I usually rant like that myself....when I screw something totally up and
just make it worse by trying to fix it and have noone to blame but myself
because I wasn't sure on how to do something and did no research and went
and tried it anyway.
 
W

Wesley Vogel

Windows® XP File Association Fixes
Copyright 2003 - Doug Knox
http://www.dougknox.com/xp/file_assoc.htm

Read the instructions.

Batch File Association Fix (Restore the default associations for BAT files)
-----

These are the batfile context menu options:
Open
Edit
Print

Doug Knox's fix includes the registry entries that are related to the right
click context menu. However, the fix doesn't remove what should not be
there!

Open Registry Editor...
Start | Run | Type: regedit | Click OK |
See if you have this key
HKEY_CLASSES_ROOT\batfile\shellex\ContextMenuHandlers

You should not have that key!

Delete the ContextMenuHandlers key if it exists.

Edit Gone from your Context Menu?
http://www.serverwatch.com/tutorials/article.php/1475871

Edit.com is not the default for Edit, notpad.exe is.

There is no Y switch for command.com in XP.

Type: command /? in a command prompt for help.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
R

Rock

tedoniman said:
28-Apr-06

Win XP PRO SP2 / INTEL CELERON 2.66 GHz / 224MB RAM

System Restore Sucks (just like ERUNT says).


This popular refrain came true for yours truly recently as well. Fortunately
System Restore does still have its good points.

All I wanted was to fix my batchfile problem. Somewhere in there I tried to
check my so-called 'file associations' to get the default 'Edit'or (Notepad)
altered to the much more sensible and presentable 'EDIT.COM' editor on the
right-click menu.

But the process there was so contorted, unintelligible, non-intuitive,
misleading and language-obfuscated (as if created by the man from Mars),
that I must have accidentally changed the default 'Open' to EDIT.COM,
instead of the default 'Edit'to 'EDIT.COM'.

For the record, I couldn't find the "BAT" extension anywhere in the list,
neither before nor after I clicked 'new' (about a hundred times, eventually)
and went thru all the other contortions the same number of times.

Gosh-a-mighty, when are our high and mighty programmers going to come down
to earth and learn some SENSIBLE, negotiable English in the process? IMHO
this should have been a simple, intuitive, one-click, operation! Otherwise,
we'll all have to become programmers so we can understand each other. Back
to Babylon...

Since then it's been an unending battle trying to get ANY of my batchfiles
to RUN (much less, run properly) - which is a bit of a hassle in any case,
in XP.

At one stage there I had a message box come up, asking me if I wanted to
'run', 'save' or 'cancel' any batchfile I clicked on. And this repeated each
time I clicked 'run'. There were several other similar quirks during my
travails but which I just don't remember now.

Then I downloaded tons of knowledge base and website support articles and
programs - none of which did any good whatever. A small zipped ap (via Guys)
that was to correct this exact same problem by restoring the file
associations
to default in the Registry, went up in smoke and didn't do a darn thing.

Finally I decided to risk the dreaded System Restore and found, to my dismay,
that all the assurances given by the dialog boxes about "not affecting any
of your data" and so on and so forth, were all complete B.S.

I'm wondering now, what other files of mine it "restored"...

I spent the last 10 days working on that batchfile which was to simplify
and largely automate the running of the MS OFFRHD tool from the command line,
(plus a few extra neat little features) so that multiple folders and multiple
Office files could be cleaned at once, in one session, by a single click on
the batchfile (with Menu).

Came to find out that 'Restore' did exactly that. Not only did it 'restore'
the batchfile AND it's support (... .txt) files in root to earlier mucked up
versions, but it did so also for several backups of them (I'm paranoid that
way from long experience with you-know-who) in 3 different folders -
including 2 sub-folders! Fortunately I also had them on diskette - but not
quite the latest.

I had to finally un-do Restore, copy my final versions there to diskette
and then Restore again to the day before and replace the old files there
with my latest ones, manually.

Whatever happened to Efficiency ... ? (I'm sorry, by the way but 'batch
files'
is as far as I got in 'programming school').

The saving grace was that Restore did restore the default 'file association'
settings to what they were before the fiasco. So at least all my batches can
run now. (I won't go so far as to say 'run OK' because I'm still trying to
decipher the Help language for the 'SET' cmnd, which looks totally beyond
me and I'm still wondering whether it's Greek or old Latin. There's supposed
to be a way, also, to simulate "command/y/c" - which is gone now from the
lexicon - via 'SET', but Im still totally unclear on the concept and would
greatly appreciate some clarification on this).

I'm still as confused as ever over the process of selecting the correct
program to 'Open' (there's another one for you) / run / execute files w/ the
'BAT' extension. I could use a bit of enlightenment there from anyone who's
clearer on the concept than yours truly.

Babylon, here I kum.

Ted the Frustrated ...

See http://bertk.mvps.org/

SR does monitor .bat files and it depends on what folder they are in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top