PC Review


Reply
Thread Tools Rate Thread

Cleanmgr and Disks

 
 
nr
Guest
Posts: n/a
 
      13th Feb 2008
I ran this command: cleanmgr /d c: /sageset:64 to assign number 64
to cleanmgr for my C disk. However, when I run this command:
cleanmgr /sagerun:64 it runs the clean up utility for all of my
disks. I also tried: cleanmgr /d c: /sagerun:64 but that did all
the disks also.

How can I get this to run only for my C disk?

Thanks for any assistance.
 
Reply With Quote
 
 
 
 
thecreator
Guest
Posts: n/a
 
      13th Feb 2008
Hi ,

Simply as can be.

Click Start > All Programs > Accessories > System Tools > Disk Cleanup.

Or instead of left clicking on Disk Cleanup, right-click and click Send
To and then click Desktop (Create Shortcut). This way, Disk Cleanup will
always be available on your Desktop, if you wish it so.

Better than having to click or to type in the command always. Unless you
want to keep typing in the commands.


--
thecreator


"nr" <(E-Mail Removed)> wrote in message
news:3e0a6692-8861-49cc-8fe0-(E-Mail Removed)...
>I ran this command: cleanmgr /d c: /sageset:64 to assign number 64
> to cleanmgr for my C disk. However, when I run this command:
> cleanmgr /sagerun:64 it runs the clean up utility for all of my
> disks. I also tried: cleanmgr /d c: /sagerun:64 but that did all
> the disks also.
>
> How can I get this to run only for my C disk?
>
> Thanks for any assistance.



 
Reply With Quote
 
WTC
Guest
Posts: n/a
 
      13th Feb 2008
nr wrote:

> I ran this command: cleanmgr /d c: /sageset:64 to assign number 64
> to cleanmgr for my C disk. However, when I run this command:
> cleanmgr /sagerun:64 it runs the clean up utility for all of my
> disks. I also tried: cleanmgr /d c: /sagerun:64 but that did all
> the disks also.
>
> How can I get this to run only for my C disk?
>
> Thanks for any assistance.


Hi nr,

From the following MS article,
How to Automate the Disk Cleanup Tool in Windows XP
http://support.microsoft.com/kb/315246

<quote>
Note: The /d option is not utilized with /sagerun: n.
</quote>

Try

cleanmgr /sagerunt:64

--
William Crawford
MS-MVP Windows Shell/User
 
Reply With Quote
 
Bill Blanton
Guest
Posts: n/a
 
      13th Feb 2008
"WTC" <bcrawfordjr(remove)@hotmail.com> wrote in message news:(E-Mail Removed)...
> nr wrote:
>
>> I ran this command: cleanmgr /d c: /sageset:64 to assign number 64
>> to cleanmgr for my C disk. However, when I run this command:
>> cleanmgr /sagerun:64 it runs the clean up utility for all of my
>> disks. I also tried: cleanmgr /d c: /sagerun:64 but that did all
>> the disks also.
>>
>> How can I get this to run only for my C disk?
>>
>> Thanks for any assistance.

>
> Hi nr,
>
> From the following MS article,
> How to Automate the Disk Cleanup Tool in Windows XP
> http://support.microsoft.com/kb/315246
>
> <quote>
> Note: The /d option is not utilized with /sagerun: n.
> </quote>
>
> Try
>
> cleanmgr /sagerunt:64


I think /sagerun always runs on all drives, with no way around it. Furthur down
in the KB article you quoted-

"
/sagerun: n - This option runs the specified tasks that are assigned to the n
value if you use the \sageset option. All drives on the computer are
enumerated and the selected profile runs against each drive.
"




 
Reply With Quote
 
nr
Guest
Posts: n/a
 
      14th Feb 2008
On Feb 13, 2:13 pm, "Bill Blanton" <bblan...@REMOVEmagicnet.net>
wrote:
> "WTC" <bcrawfordjr(remove)@hotmail.com> wrote in messagenews:(E-Mail Removed)...
> > nr wrote:

>
> >> I ran this command: cleanmgr /d c: /sageset:64 to assign number 64
> >> to cleanmgr for my C disk. However, when I run this command:
> >> cleanmgr /sagerun:64 it runs the clean up utility for all of my
> >> disks. I also tried: cleanmgr /d c: /sagerun:64 but that did all
> >> the disks also.

>
> >> How can I get this to run only for my C disk?

>
> >> Thanks for any assistance.

>
> > Hi nr,

>
> > From the following MS article,
> > How to Automate the Disk Cleanup Tool in Windows XP
> >http://support.microsoft.com/kb/315246

>
> > <quote>
> > Note: The /d option is not utilized with /sagerun: n.
> > </quote>

>
> > Try

>
> > cleanmgr /sagerunt:64

>
> I think /sagerun always runs on all drives, with no way around it. Furthur down
> in the KB article you quoted-
>
> "
> /sagerun: n - This option runs the specified tasks that are assigned to the n
> value if you use the \sageset option. All drives on the computer are
> enumerated and the selected profile runs against each drive.
> "


Good catch, I didn't see that. If sagerun runs on all disks, anyone
know why sageset would have the /d option? It appears to be of no
use.

Does anyone know of a way to get commands into a BAT file to delete
the History, Temp, and Temporary Internet Files folders in the Local
Settings folder?
 
Reply With Quote
 
Bill Blanton
Guest
Posts: n/a
 
      14th Feb 2008
"nr" <(E-Mail Removed)> wrote in message news:e869b112-1cae-408e-9459-(E-Mail Removed)...
> On Feb 13, 2:13 pm, "Bill Blanton" <bblan...@REMOVEmagicnet.net>
> wrote:
>> "WTC" <bcrawfordjr(remove)@hotmail.com> wrote in messagenews:(E-Mail Removed)...
>> > nr wrote:

>>
>> >> I ran this command: cleanmgr /d c: /sageset:64 to assign number 64
>> >> to cleanmgr for my C disk. However, when I run this command:
>> >> cleanmgr /sagerun:64 it runs the clean up utility for all of my
>> >> disks. I also tried: cleanmgr /d c: /sagerun:64 but that did all
>> >> the disks also.

>>
>> >> How can I get this to run only for my C disk?



>> > From the following MS article,
>> > How to Automate the Disk Cleanup Tool in Windows XP
>> >http://support.microsoft.com/kb/315246

>>
>> > <quote>
>> > Note: The /d option is not utilized with /sagerun: n.
>> > </quote>

>>
>> > Try

>>
>> > cleanmgr /sagerunt:64

>>
>> I think /sagerun always runs on all drives, with no way around it. Furthur down
>> in the KB article you quoted-
>>
>> "
>> /sagerun: n - This option runs the specified tasks that are assigned to the n
>> value if you use the \sageset option. All drives on the computer are
>> enumerated and the selected profile runs against each drive.
>> "

>
> Good catch, I didn't see that. If sagerun runs on all disks, anyone
> know why sageset would have the /d option? It appears to be of no
> use.


I don't really know, but perhaps using /d was an easy way (code-wise) to
bring up the desired options on a particular drive. Then /sageset only has
to save the info to the registry and end the program.


> Does anyone know of a way to get commands into a BAT file to delete
> the History, Temp, and Temporary Internet Files folders in the Local
> Settings folder?


If using /sageset:64 to set up cleanmgr to delete %history%, %temp% and
the %TIF%,,, even though you see /sagerun:64 "opening" all the drives, it's
not doing anything on those other drives. Those particular %folders% only exist
in the one place.




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
How to compare solid state disks to standard SATA disks ? johns DIY PC 5 28th Sep 2008 02:39 PM
Encrypt Your Flash Disks/ Portable Disks and Carry Them Around newlet Windows XP General 4 30th Nov 2006 09:30 PM
XP Pro Disk Management does not setup basic disks; only dynamic disks? Knack Windows XP General 1 1st Nov 2005 01:06 AM
Converting Basic Disks to Dynamic Disks with 1394 Steve Lawrie Microsoft Windows 2000 Setup 1 11th Nov 2003 09:12 PM
External USB Floppy Drive Problems - 1)Sees formatted disks as unformatted, 2)won't format new disks limner Windows XP Basics 0 3rd Nov 2003 07:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 PM.