Defrag

J

JCG

Greetings:

Within my task scheduler, Windows Defrag is configured as such:

%windir%\system32\defrag.exe -c-i-g

I believe -c is to defrag my c:\ drive.

What are the switches -i and -g for?

Thanks in advance...j
 
Æ

Ǝиçεl

defrag volume [/a] Analyzes the volume and displays a summary of the
analysis report.

defrag volume [/a] [/v]

defrag volume [/v] Displays the complete analysis and defragmentation
reports.

When used in combination with /a, displays only the analysis report. When
used alone, displays both the analysis and defragmentation reports.

defrag volume [/f] Forces defragmentation of the volume regardless of
whether it needs to be defragmented.

/? : Displays help at the command prompt.
-=-
 
J

JCG

Thanks for the info. However, what does -c and -g do. Maybe it is an error
in Vista setup?

Ǝиçεl said:
defrag volume [/a] Analyzes the volume and displays a summary of the
analysis report.

defrag volume [/a] [/v]

defrag volume [/v] Displays the complete analysis and defragmentation
reports.

When used in combination with /a, displays only the analysis report. When
used alone, displays both the analysis and defragmentation reports.

defrag volume [/f] Forces defragmentation of the volume regardless of
whether it needs to be defragmented.

/? : Displays help at the command prompt.
-=-



JCG said:
Greetings:

Within my task scheduler, Windows Defrag is configured as such:

%windir%\system32\defrag.exe -c-i-g

I believe -c is to defrag my c:\ drive.

What are the switches -i and -g for?

Thanks in advance...j
 
R

R. C. White

Hi, JCG.

As Ǝиçεl said:
At the Command Prompt, simply type:
defrag /?

That should produce what I call a mini-Help file that shows the switches and
parameters available with the defrag command - and the syntax for using
them. This shows that all the switches use the slash "/" character, rather
than hyphen "-". Many commands will actually accept a variety of such
characters; I don't know if defrag will accept "-" for "/". And they
usually are not fussy about "c" or "C" - but they are insistent on the colon
when referring to volume ("drive") letters.

Use defrag /c to "Perform the operation on all volumes". Specify defrag C:
to operate only on Drive C:.

This does not show -i or -g as available switches, and I don't know what
those do. They may be a part of Task Scheduler, rather than of Defrag.

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

JCG said:
Thanks for the info. However, what does -c and -g do. Maybe it is an
error
in Vista setup?

Ǝиçεl said:
defrag volume [/a] Analyzes the volume and displays a summary of the
analysis report.

defrag volume [/a] [/v]

defrag volume [/v] Displays the complete analysis and defragmentation
reports.

When used in combination with /a, displays only the analysis report. When
used alone, displays both the analysis and defragmentation reports.

defrag volume [/f] Forces defragmentation of the volume regardless of
whether it needs to be defragmented.

/? : Displays help at the command prompt.
-=-



JCG said:
Greetings:

Within my task scheduler, Windows Defrag is configured as such:

%windir%\system32\defrag.exe -c-i-g

I believe -c is to defrag my c:\ drive.

What are the switches -i and -g for?

Thanks in advance...j
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top