Jump to content

Batch File Gurus - Apply Within :-)


Saraband

Recommended Posts

anyone know what the below batch file will do ? thanks in memorium :-)

@echo on

cd %homedrive%%homepath%

rd /s/q locals~1\tempor~1

rd /s/q locals~1\temp\tempor~1

rd /s/q cookies

rd /s/q temp\cookies

rd /s/q locals~1\history

rd /s/q locals~1\temp\history

rd /s/q recent

md recent

Link to comment
Share on other sites


cd %homedrive%%homepath%

change current dir to your account dir (for example c:\docs and setting\admin)

rd /s/q ...

remove all files and folders in dir ... without asking for confirmation

md recent

make a dir called 'recent'

This batch file zill do some cleanup for you, like your history and cookies (on the CURRENT account)...

Link to comment
Share on other sites

cd %homedrive%%homepath%

change current dir to your account dir (for example c:\docs and setting\admin)

rd /s/q ...

remove all files and folders in dir ... without asking for confirmation

md recent

make a dir called 'recent'

This batch file zill do some cleanup for you, like your history and cookies (on the CURRENT account)...

Yeap, I second this. :whistle:

Link to comment
Share on other sites

@Saraband: Are you serious about this?? Do some search work and find out!!!  :no:

actually no search needed :P

he just should have opened dos prompt, and have typed 'HELP', or 'rd /?'... such things are VERY logical, even my mom found that (and she can't use computers :P)

Link to comment
Share on other sites

If you're starting with little to no command-line knowledge, searching for this kind of stuff can be a bit frustrating. Besides, getting some confirmation as to what certain commands will do is part of the learning process. Give Saraband a break and save the ammo for someone who's just plain lazy :P

- Ravashaak

Link to comment
Share on other sites

@Saraband: Are you serious about this?? Do some search work and find out!!!  :no:

actually no search needed :P

he just should have opened dos prompt, and have typed 'HELP', or 'rd /?'... such things are VERY logical, even my mom found that (and she can't use computers :P)

Hope she didn't do:

rd /s /q *

:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...