1.

Solve : cleanmgr?

Answer»

Hi all

1-)if I write cleanmgr on CMD a window appear to choose the disk I want to CLEAN

can I choose the disk from CMD?

2-)How can I make a program works in background?

thank youWhat do you mean by 'Clean Disk'?hello

Quote

What do you mean by 'Clean Disk'?

clean the disk means:
delete:
- Download program files
- Temporary internet files
empty recycle bin
clean setup log files
and others you can see by opening cleanmgr

thanks

Try: cleanmgr /d drive_letter:

hhhhh

very very good

thanks a lot

what about RUN tha batch file in the back ground?You COULD use: Code: [Select]start "" /min batch_file_namethaaaaaaaaanks I run Window's Disk Cleanup a bit differently.

I run the "Extended Disk Cleanup" using this shortcut:

%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:35 & Cleanmgr /sagerun:35

It works great to remove much more JUNK than just cleanmgr by itself.
But here's my problem,,,,, It automatically scans every drive in my system and that's SIX. That wastes a lot of time. I only want it to scan drive C: and then quit.

I've tried putting /C: in the line in several places but nothing works. It still scans all drives.
Does anyone know how to force it to scan C: and then quit.

Shadow Did you try:

Code: [Select]%SystemRoot%\System32\Cmd.exe /c Cleanmgr /d C: /sageset:35 & Cleanmgr /sagerun:35


Discussion

No Comment Found