| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Vista batch files..
|
Original Message
|
Name: Stuart28
Date: November 29, 2007 at 10:22:22 Pacific
Subject: Vista batch files..OS: Vista BusinessCPU/Ram: Core2Duo/2GB RAMModel/Manufacturer: Custom build |
Comment: I'm looking to create a batch file under Vista but haven't had much experience with creating these under XP or Vista. I want to be able to run a Verbose Defrag from the command prompt each time I start Vista, which should give a detailed response on how a partition/hard drive is looking. The command I usually go with from the prompt is defrag.exe c: -v How would I set this to run and display the output from a batch file? Also, could anyone point me in the right direction on learning the basics of writing batch files? Any help is greatly appreciated! Many thanks, Stuart
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: sype
Date: November 29, 2007 at 10:48:18 Pacific
|
Reply: (edit)here is a batch file that will work. Simple, does not put the .txt file anywhere, but here you go. Defrag C: /v >> defragreport.txt And the basics would be anything that has to do with Windows Shell Scripting. Also you can Google Windows Batch file, or something to that extent.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Windows Vista Forum Home