Hidden Defrag Option Tip
Window Xp Support Tip
By: WinXpFix.com
In the previous tip, I mentioned that the built-in Windows defragment utility has a command-line option that allows
you to run defrag from a command line, or from a batch
or script file.
There is a hidden switch, however, that doesn't appear
in the help file or in the syntax display (by typing "defrag
/?" without the quotes at a command prompt). If you
use the "-b" option, the defrag utility will
optimize the boot files and applications (based on usage
information that Windows tracks) but it will leave
most of the drive untouched. For instance, if you run
defrag c: -b
from the command line, the boot files and some application
files will be defragged and possibly moved to a different
location on the disk to enable them to be read from disk
faster.
SCHTASKS in Windows Tip:
Window Xp Support Tip
By: WinXpFix.com
There is a new command-line scheduler tool available
in Windows, however, that you may want to consider
instead. Similar to the JT Resource Kit tool, the new
"schtasks" command is a full featured utility
for scheduling jobs using the command prompt. Here is
the correct syntax:
SCHTASKS /parameter [arguments]
Description:
Enables an administrator to create, delete, query, change,
run and
end scheduled tasks on a local or remote system. Replaces
AT.exe.
Parameter List:
/Create Creates a new scheduled task.
/Delete Deletes the scheduled task(s).
/Query Displays all scheduled tasks.
/Change Changes the properties of scheduled task.
/Run Runs the scheduled task immediately.
/End Stops the currently running scheduled task.
/? Displays this help/usage.