Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Defrag

microsoft.public.windows.vista.performance maintenance






Speedup My PC
Reply
  #1 (permalink)  
Old 03-18-2010
JCG
 

Posts: n/a
Defrag
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
Sponsored Links
  #2 (permalink)  
Old 03-18-2010
Ǝиçεl
 

Posts: n/a
RE: Defrag
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
  #3 (permalink)  
Old 03-20-2010
JCG
 

Posts: n/a
RE: Defrag
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
  #4 (permalink)  
Old 03-20-2010
R. C. White
 

Posts: n/a
Re: Defrag
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
rc@grandecom.net
Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"JCG" <JCG@discussions.microsoft.com> wrote in message
news:BECC9719-D1C2-4F16-9CB1-76F31379CF54@microsoft.com...
> 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

vB 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 repeats need to defrag Alex microsoft.public.windows.vista.performance maintenance 1 11-26-2009 06:27
Defrag increases "used space" as reported by command-line defrag - =?Utf-8?B?bXdoaXRpbmcwMDFAaG90bWFpbC5jb20uTk9fU1BBTQ==?= microsoft.public.windows.vista.performance maintenance 15 06-19-2009 21:34
defrag Anne microsoft.public.windows.vista.general 3 02-13-2009 18:42
Re: Disk Defragmenter--Chat with Disk Defrag/Vista Teams on Defrag David Fumento microsoft.public.windows.vista.general 13 12-03-2007 03:13
defrag comand vs defrag windows species8350 microsoft.public.windows.vista.general 9 05-07-2007 12:41




All times are GMT +1. The time now is 09:59.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120