Jump to content

CALL/RUN defrag.exe from WPI?


Recommended Posts

Hehe I see :blushing:

Seems dirms has more options though:

dirms <drive letter> [DEFRAG, COMPACT, MOVE] [-q]
-q means move file fast, don't move w/compact (compact=glacially slow mode)
example : 'dirms c'
This defrags, then maximizes free space (slow mode), then defrags again
example : 'dirms c -q'
This defrags, then maximizes free space (fast mode), then defrags again
example : 'dirms c DEFRAG'
example : 'dirms c CoMpAcT'
example : 'dirms c move date -q'
This moves by date (puts files with oldest dates toward the front of the
drive
example : 'dirms c move lcn'
This moves by lcn (keeps files toward the front of the drive

Oh just noticed on thing. I'm calling defrag BEFORE i cleanup (after WPI). hmm that's not good. then it defrags a whole lot of temp files that im removing right after WPI finishes. Hmm. Gotta fix that somehow

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...