BAT file does not start anymore

T

Tcat

Hello,

I have a problem with the *.bat files. I erroneously
associated the BAT files with an editor (PFE32) via its
own "register extension" but soon unregistered it.
Unfortunately now the BAT files, once clicked within the
explorer windows, do not execute anymore. I suspect I need
to tweak the registry to fix it, but I do not know which
hive and so on..

Thanks for your help!

Tcat
(e-mail address removed)
 
M

Mark V

Tcat wrote in
Hello,

I have a problem with the *.bat files. I erroneously
associated the BAT files with an editor (PFE32) via its
own "register extension" but soon unregistered it.
Unfortunately now the BAT files, once clicked within the
explorer windows, do not execute anymore. I suspect I need
to tweak the registry to fix it, but I do not know which
hive and so on..

C:\TEMP>assoc .bat
..bat=batfile

C:\TEMP>ftype batfile
batfile="%1" %*

assoc /?
ftype /?

or change them to *.cmd
 
T

Tcat

-----Original Message-----
Tcat wrote in (snip)

C:\TEMP>assoc .bat
..bat=batfile

C:\TEMP>ftype batfile
batfile="%1" %*

assoc /?
ftype /?

or change them to *.cmd
.
Thanks !!!! This worked perfectly !

Tcat.
 

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