Computers |
|
| | #1 (permalink) |
| Super Techie Join Date: May 2003
Posts: 469
| Create a shortcut on your desktop by opening notepad and and putting in the line defrag c: Save this file as defrag_c.bat or whatever you desire. When double-clicking this shortcut, it will open the command prompt and, you guessed it, defrag drive, c: Gone is the fancy interface and options. Well there are a few options, but you'll have to enter them by using one of the following in your batch file: Windows Disk Defragmenter Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc. Usage: defrag [-a] [-f] [-v] [-?] volume drive letter or mount point (d: or d:\vol\mountpoint) -a Analyze only -f Force defragmentation even if free space is low -v Verbose output -? Display this help text You can make a batch file for each drive individually, or add them to a single file like this: defrag c: defrag d: defrag e: The output in the command prompt isn't very verbose, but it is defragmenting.
__________________ Death has a thousand doors, let's see which one our victim chose. "There's one thing that you learn on this job, is that human beings are capable of anything" If you chase two rabbits, you lose them both You say tomato... I say cause of death For sale/trade http://www.tech-forums.net/pc/f40/fu...r-fs-t-139695/ |
| | |