Main Forum > Everything Else
Defragment
chris635:
both run under my account (chris)
Shane:
Well I am out of ideas LOL
Makes no sense how it can run find from a cmd window but not when double clicked.
Shane
chris635:
I figured it out. I was running from cubic explorer. Has to be run from windows explorer (oopps Sorry, all the other bat files run from it). How do I set this up to defrag all drives?
Chris
Shane:
:tongue:
Like I said before.
Defrag C:
start /wait %SYSTEMDRIVE%\Windows\System32\defrag.exe C: /H /V
start /wait %SYSTEMDRIVE%\Windows\System32\defrag.exe C: /H /V /X
Defrag C: & D:
start /wait %SYSTEMDRIVE%\Windows\System32\defrag.exe C: D: /H /V
start /wait %SYSTEMDRIVE%\Windows\System32\defrag.exe C: D: /H /V /X
You can see how you just add the drive letter to the commands.
Shane
chris635:
Shane
I really appreciate you helping. Hope you didn't cus my to bad.
Chris
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version