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 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Edit BAT Files

by Ann777 In reply to Edit BAT Files

Take off the quotation marks.

Collapse -

Edit BAT Files

by Ann777 In reply to Edit BAT Files

C:\WINNT\system32\notepad.exe %1

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

I tried that but Windows 2000, of course, puts them back in.

Collapse -

Edit BAT Files

by BobHo In reply to Edit BAT Files

These are associated in the registry and not in the file types. You can change the association or add multiple edit associations for different editors. Here's a link that will explain the process:

http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=13573

Enjoy,

DrBob:&gt

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

That link is dead. Sorry. I tried everal times with different browsers.

Collapse -

Edit BAT Files

by BobHo In reply to Edit BAT Files

OK. Go to

http://www.windows2000faq.com

and in the search for box type:

right click bat file

Choose the first article in the resulting list.

Enjoy,

DrBob:&gt

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

Still does not help. I have done all that before. The "edit" never, ever shows up when I right click.

Collapse -

Edit BAT Files

by BobHo In reply to Edit BAT Files

Is the registry entry there?
What does it say?
Do you have the required permissions to edit the registry?

Under the edit key is the value:

&Edit

DrBob:&gt

Collapse -

Edit BAT Files

by BorgInva In reply to Edit BAT Files

No, the entry is not there, and I do have ADMIN rights.

Collapse -

Edit BAT Files

by BobHo In reply to Edit BAT Files

If the entry is not there then it will not show up when you right-click the bat file. Add the entry manually to the registry.

DrBob:&gt

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

Related Discussions

Related Forums