With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
How to Make a Command Prompt Defragmenter in Windows!! (works for All Versions of Windows)
It is probably a problem with the instructables page or you not have PRO. Either way I do not know what is wrong.
/h - Runs the command at normal priority/c Performs the operation on all volumes./u Prints the progress of the operation on the screen.Hope you are happy now. To learn more commands, open CMD as ADMIN (or it will not work) and type in defrag help
I try to download the 11steps, but the screen just refreshes and shows step 1 with the comments following on.I tried using the "view all steps" icon but it does the same taking me straight back to showing step 1.What's wrong?
in the example;Example: defrag /c /h /uyou never tell us what the switches do
Thanks for the info! I will update it very soon!
Thanks tomatoskins! I will be making more projects in the future! And BTW I am a big fan of you! :D
Also I knew the timeout was there, but I did not want it to appear there, that is why I used the ping, but I never seen the timeout command with the >nul syntaxbehind it, so thanks for telling me.
Timeout command*Syntax Behind*
Fortunately, there's no reason to use PING as a timer any more, MS heard our complaints and in Windows 7 they finally provide us an option. For a 5 second delay useTIMEOUT /T 5 > NULThat actually uses the system clock to delay for an exact number of seconds rather than relying on the random amount of length that could elapse with PINGI'm glad to see that someone who is so young is interested in CMD scripts - I work with so many recent grads who can't see beyond the GUI and they have never seen the power and efficiency of CMD tools. Keep it up!BTW: If you were trying to ping two packets with that command, it should have been PING -n 2 127.0.0.1 > NUL
Excellent first instructable! Can't wait till you share your other projects!
How to make a Command Prompt Defragmenter in Windows!! (works for all versions of Windows)
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.