Bert Posted January 31, 2006 Posted January 31, 2006 If I wanted to defrag a XP PC using the -f switch, the command should be RunWait(@ComSpec & "defrag C: -f")? I hate to run this just to see if I'm right. If I'm right, I will tie up my PC for a hour. I just want to know if the code is done right. The Vollatran project My blog: http://www.vollysinterestingshit.com/
cdkid Posted January 31, 2006 Posted January 31, 2006 (edited) umm RunWait(@comspec & " /c start defrag C: -f", @SW_RESTORE) i think that's the way to do it Edited January 31, 2006 by cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
flaxcrack Posted January 31, 2006 Posted January 31, 2006 (edited) If I wanted to defrag a XP PC using the -f switch, the command should be RunWait(@ComSpec & "defrag C: -f")? I hate to run this just to see if I'm right. If I'm right, I will tie up my PC for a hour. I just want to know if the code is done right.Try just: RunWait("defrag C: -f", "C:") and it will work. Edited January 31, 2006 by flaxcrack [quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()
Bert Posted January 31, 2006 Author Posted January 31, 2006 Thanks! The Vollatran project My blog: http://www.vollysinterestingshit.com/
flaxcrack Posted January 31, 2006 Posted January 31, 2006 Thanks!Any time. [quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now