Main Forum > Everything Else
Defragment
chris635:
Nope, same thing...uhhmm.
Chris
chris635:
Normal defrag works from gui
Chris
Shane:
Very odd. Can you run it from a cmd window your self?
Also try this in the bat file
start /wait %SYSTEMDRIVE%\Windows\System32\defrag.exe C: /H /V
start /wait %SYSTEMDRIVE%\Windows\System32\defrag.exe C: /H /V /X
Shane
chris635:
yep
Shane:
OK so you can run defrag from cmd manually.
Try this, move the bat file to the root of the C: drive and try it.
I notice where you are running the bat file that there is a space in the path. That might be getting in the way.
Shane
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version