Running bat files
Moderators: fgagnon, nikos, Site Mods
Funny, I cannot run bat files by double clicking on them any longer. They get opened in Notepad instead. I've also noticed that a timed macro (Macro Express) I've used for a long time does the same, as does using the run command on a bat file. I suppose this must be some Windows setting gone awry. Any ideas what I should try to remedy this?
Sven
Sven
folder options for w2000 is awful! Many interesting things are listed under the "extension" N/A like folders and things, but it seems that executables like BAT files (or EXE) are not listed. That's why I recommended the registry approach
check if this key exists like on my 2000 system:
HKEY_CLASSES_ROOT\batfile\shell\open\command
Its default value should be the string
"%1" %*
check if this key exists like on my 2000 system:
HKEY_CLASSES_ROOT\batfile\shell\open\command
Its default value should be the string
"%1" %*
Here comes the bat and batfile keys from my registry. It seems I can attach only one file at a time, so I send one post for each file. I don't know how to merge them.
Sven
Attachment: http://netez.com/bbphp/uploads/post-14-78788-batreg.reg
Sven
Attachment: http://netez.com/bbphp/uploads/post-14-78788-batreg.reg
here's your problem
[HKEY_CLASSES_ROOT\.bat]
@="textedext"
looks this "textedext" thing has taken over your batch files. The default value should be batfile instead.
i'm not sure what this is (maybe a playful virus or something you installed) but you can check HKCR\textedext to discover the culprit :)
[HKEY_CLASSES_ROOT\.bat]
@="textedext"
looks this "textedext" thing has taken over your batch files. The default value should be batfile instead.
i'm not sure what this is (maybe a playful virus or something you installed) but you can check HKCR\textedext to discover the culprit :)