If you use XP you may know that the NTFS is not supposed to require
frequent defragging. I nevertheless like to at least occasionally
defrag my partitions. So I created a .bat file to do that
automatically. Each line after the dashes is self explanatory. The firt
argument after dfrag is the drive letter with a colon. the -f part
tells defrag force defrag even if space is low. Now the last line may
bear explanation. It can be used to shut down or reboot the oomputer
The -f forces the application to close. The -r will reboot the
computer. Change this to -s if you want to reboot instead. The -t 0
argument sets the time before shutdown or reboot, in this case it is
zero. You can change this to some value if you like.
I use this last line an other batch files or by itself to shut down my
computer without going through the three steps normally required. I
thin create a desktop shortcut [link]
Jim
clip >------
defrag c: -f
defrag d: -f
defrag e: -f
defrag f: -f
defrag g: -f
defrag h: -f
%windir%\system32\shutdown.exe -f -r -t 0
If you have any questions or problems with any aspect of this site, please feel
free to contact me directly [EMAIL PROTECTED] Please do not post personal
issues directly to the group.
To unsubscribe from this list, send an email to [EMAIL PROTECTED]
Thank you for using A-1 Computer Tech
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/A-1-Computer_Tech/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/