Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Performance > Defrag

Reply
 
 
JCG
Guest
Posts: n/a

 
      03-18-2010
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
 
Reply With Quote
 
 
 
 
Ǝиçεl
Guest
Posts: n/a

 
      03-18-2010
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" wrote:

> 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

 
Reply With Quote
 
JCG
Guest
Posts: n/a

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

"Ǝиçεl" wrote:

> 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" wrote:
>
> > 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

 
Reply With Quote
 
R. C. White
Guest
Posts: n/a

 
      03-20-2010
Hi, JCG.

As Ǝиçεl said:
>> /? : Displays help at the command prompt.


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

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"JCG" <> wrote in message
news:BECC9719-D1C2-4F16-9CB1-...
> Thanks for the info. However, what does -c and -g do. Maybe it is an
> error
> in Vista setup?
>
> "Ǝиçεl" wrote:
>
>> 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" wrote:
>>
>> > 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Defrag increases "used space" as reported by command-line defrag - mwhiting001@hotmail.com.NO_SPAM Windows Vista Performance 15 06-19-2009 08:34 PM
Vista Does NOT Defrag TheComputerWizard@Gmail.com Windows Vista Performance 7 02-14-2008 12:41 PM
Defrag - Vista vs. XP Dave Nuttall Windows Vista Performance 8 02-11-2007 03:58 AM
Defragmenting Vista - Quick review of the available products Telstar Windows Vista Performance 3 10-11-2006 06:37 PM
O&O Defrag versus Microsoft Defrag in Vista MB@MI, USA Windows Vista Performance 12 10-06-2006 12:24 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59