but for now i just use batch programs that open up device manager, etc.
its all about putting the correct switch into tha program...impossible to find out w/o trial&error
I am trying to create a VBS script that will Chkdsk available drives, and then defrag them and log the event at the end. I have tried a few scripts, but I am still fairly new to the idea and I don't have time to run around defragging and scanning all the drives in my network.
This is the general idea of how want the script to work:
Checkdisk c: if not go to event log command otherwise go to checkdsk d:
Checkdisk d: see if the drive is there and if it is? check it. If its not then move to defrag.
Defrag c: if not go to event log
Defrag d if its there. If not go to event log command.
End
I work for an IT company that supports and maintains over 150+ clients networks.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic