Main Forum > Everything Else
Defragment
Shane:
Try running the bat file from a cmd window instead of double clicking on it, see what happens then. :wink:
Shane
chris635:
Works! How do i set this up for all my drives (c,i, j, k, and l)?
Shane:
OK so it works from a cmd window. But it should be cmd.exe that is running the bat file when you double click it.
I wonder if something else is running the bat file instead?
Do you have this key in your registry?
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT
And what do you have for these?
[HKEY_CLASSES_ROOT\.bat]
@="batfile"
[HKEY_CLASSES_ROOT\.bat\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\batfile\shell\open\command]
@="\"%1\" %*"
Shane
chris635:
no .bat on first key and last key all I have "%1" %*. None of them have the @=
Chris
Shane:
Export this reg key
HKEY_CLASSES_ROOT\batfile
zip it up and attach it. I will compare it to my system :wink:
Shane
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version