General discussion

Locked

Edit BAT Files

By BorgInva ·
I tried to modify the BAT extension toedit the *.bat files with notepad, but the "edit" does not show up when I right click the file.
I have this as the "edit" action:
C:\WINNT\system32\notepad.exe "%1"

I have also tried:
C:\WINNT\winrep.exe "%1"
C:\WINNT\notepad.exe "%1"

Any ideas?

This conversation is currently closed to new comments.

17 total posts (Page 2 of 2)   Prev   01 | 02
Thread display: Collapse - | Expand +

All Comments

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

Dr.,
I have tried that before. I add it in, and the right click still does not show it. When I go back into the registry, that entry is gone again.
I know it is not a corrupted registry because this is a fresh install and several registrytools have been used to diagnose it.

Collapse -

Edit BAT Files

by BobHo In reply to Edit BAT Files

2 questions:

1 - What version of w2k are you running (pro, server, etc)?

2 - What does it say when you go to a command prompt and type "assoc .bat" (no quotes)?

As you have a lready figured out, somthing's screwy here.

DrBob:&gt

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

Poster rated this answer

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

Dr.
W2k Pro
and
C>assoc .bat
.bat=batfile

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

Dr.
I have just realized that I have been looking under .bat, not batfile. Sorry I am.
I do have:
HKEY_CLASSES_ROOT\batfile\shell\edit\command\C:\WINNT\system32\notepad.exe "%1"
It is in here, but just not working. I tried taking out the system32, but still no help.

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

No responses from anyone since my last COMMENT. Closing issue. I am just accepting (again) that Windows 2000 sucks.

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

This question was closed by the author

Back to Windows Forum
17 total posts (Page 2 of 2)   Prev   01 | 02

Related Discussions

Related Forums