Caaio Posted December 27, 2007 Posted December 27, 2007 Hi guys, I'm would like to know, if there is any script that is already done, that make the fast formatation from a hard disk without make any question to me. I really tried to make a BAT file, but i could't have success. I would like if there is any script that make that! Thanks who can help me. Regards
Xenobiologist Posted December 27, 2007 Posted December 27, 2007 Hi, how many PCs you want to format? Why scripting and not doing it by hand? You can search the forum there should be some scripts. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Caaio Posted December 27, 2007 Author Posted December 27, 2007 Hi,how many PCs you want to format? Why scripting and not doing it by hand? You can search the forum there should be some scripts. So long,MegaHi Mega,I want this script to format just one computer. I want that to do every week, and I would like to try to do it automatic!I could not find any script that make that! Can you show me one, please?!Thanks and regards.
SpookMeister Posted December 27, 2007 Posted December 27, 2007 Sounds like you might want to look into some kind of imaging program. Check out http://www.feyrer.de/g4u/ [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]
au3scr Posted December 27, 2007 Posted December 27, 2007 Format C:\ -y or format C:\ /y Y means yes answer
weaponx Posted December 27, 2007 Posted December 27, 2007 Sigh...I really hope you are trying to format a slave drive / non-OS partition.
Caaio Posted December 27, 2007 Author Posted December 27, 2007 (edited) Format C:\ -yorformat C:\ /yY means yes answerHello guys,thanks for your tip au3scr... but it's not worked!And Spook, I don't want to "clone" my PC (hehe), I want to format my hard disk quick, and I want to pull the questions like if I really want to format or what will be the name of the disk after format!And for sure it's a slave driver!Any help will be welcome!Thanks. Edited December 27, 2007 by Caaio
Developers Jos Posted December 27, 2007 Developers Posted December 27, 2007 (edited) .. now tell me why you would want to format your C: drive when you are running the script from it ? Edited December 27, 2007 by Jos SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past.Â
JustinReno Posted December 27, 2007 Posted December 27, 2007 You need a good reason to format your/or some elses hard drive. And besides, it would be very easy to make one.
Caaio Posted December 27, 2007 Author Posted December 27, 2007 I don't want to format my C:, I want to format another hard disk for backup questions. I work in a company that I'm responsable for the backup, and I would like to have a script that make this format withou I had to go to the computer every week and make that with my hands.... that's the reason! Regards.
JustinReno Posted December 27, 2007 Posted December 27, 2007 Its not hard to launch CMD and format it.
JustinReno Posted December 27, 2007 Posted December 27, 2007 It is really easy: RunWait(@ComSpec & " /C Format "&@HomeDrive&" y", "", @SW_HIDE)
weaponx Posted December 27, 2007 Posted December 27, 2007 (edited) Its not a question of difficulty. He just wants it automated. You don't need AutoIt for this though.You can use at.exe or schtasks.exe from the command line to create a task on a schedule.schtasks.exe /Create /SC WEEKLY /ST 11:00:00 /TN AutoFormat /TR "format D: /y"/SC WEEKLY - Run the task weekly/ST 23:00:00 - Start the task at 11pm/TN AutoFormat - This is just an identifier name, it can be anything/TR "format D: /y" - The command to runFor more help run schtasks /? or schtasks /create /? from the command lineBTW - You can't call format like this "format e: -y" or "format e: y". It has to be "format e: /y"EDIT - fixed mispelling Edited December 27, 2007 by weaponx
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