Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

can some1 hel me make a clenaup.cmd?

Featured Replies

i don't know what the temporyly folders where they are for 2k3/xp dose any budy know? but i need to cleanup up a the temp folders the the all the installation i did for unattended windows xp/2k3

it depends on which temp folders you are referring too... if you are talking the user's temp dir, it would be (for XP)

%systemdrive%\Documents and Settings\User\Local Settings\Temp

but generally speaking, that folder should be pretty empty to start off. If you are talking about your specific folders you used during installation of your programs, you could put the following code in your cmd file

RD /S /Q %systemdrive%\setup\applications

just continue on that idea for all the folders you need to delete. Obviously anything contained in the "applications" folder in my example would be deleted

hope that helped

  • Author

yeah i'm talking about:

%systemdrive%\Documents and Settings\User\Local Settings\Temp

for XP and i think win2k3 has too how about deleting the *.tmp files to and the junk files is there a program durning the RunOnceEx.cmd to clenup the junk files that i install first then it cleanuse up after the installation applications?

there's nothing "built in" to runonce that would automatically flush your temp directory that i'm aware of, though to be honest, i don't use runonce, so I'm not 100% sure. I would have to digress to the members that have more knowledge on that than I.

Have you found that the temp directories are filled with files during/after an install?

good luck.

  • Author

yeah they are but i need to delete all files in that temp directory

rd /q /s "%systemdrive%\Documents and Settings\User\Local Settings\Temp\"

That shoud work. If there are any files in that directory that are currently in use, they will not be deleted. Otherwise, the temp directory as well as all files and subfolders will be deleted. That's fine as Windows will recreate the Temp directory at the next logon.

  • Author

@jrzycrim

this didn't work rd /q /s "%systemdrive%\Documents and Settings\User\Local Settings\Temp\" like it suppost too delete it why isn't it working ?

did you try that literally, or did you change User to the user name you want to delete the temp files of?

i have Administrator, All Users, Default User

only Default User and Administrator have a temp dir

so you might want to try

RD /Q /S "%systemdrive%\Documents and Settings\Administrator\Local Settings\Temp\"
RD /Q /S "%systemdrive%\Documents and Settings\Default User\Local Settings\Temp\"

and that's only if you're using an english xp

Or your temp dir is an environmental variable.

Such as:

Del /Q /F /S %Temp%\*.*

As others have stated, files may be in use, that may cause prompts. For unattended, if tested, and no prompts, then it should be good to burn.

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.