Possibly a malware which messed up your .bat and .cmd file association. You
can try to reset the association from the command prompt by running the
following:
assoc .bat=batfile
assoc .cmd=cmdfile
On the following registry keys:
HKEY_CLASSES_ROOT\cmdfile\shell\open\command
HKLM\SOFTWARE\Classes\batfile\shell\open\command
verify that the Reg_Sz (default) value data is set to "%1" %*
--
Salvador Manaois III
MCSE MCSA CEH MCITP | Enterprise/Server Admin
Bytes & Badz :
http://badzmanaois.blogspot.com
"Robert Fuchs" wrote:
> Hi,
>
> on my Vista Ultimate SP1 I have the problem that I can't run batches by
> double-clicking in Explorer.
> The same problem is with shortcuts to batches.
> Instead of executing the batch, a cmd.exe console window is opened - that's
> it.
> No error message, nothing.
> I also don't find a place where I could fix it.
>
> thanks, Robert
>
>