Jump to content

Batch File Gurus - Apply Within :-)


Recommended Posts

Posted

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


Posted

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)...

Posted
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:

Posted
@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)

Posted

don't slay him guys, we all start somewhere!

once you start using batch files (and using windows help to find out which commands do what) you'll learn fast!

Posted

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

Posted
how to "open DOS prompt" ?

press the windows key, hold it and press the key 'r'

type cmd

press enter

voila, you're in the command prompt! :P

Posted
@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 *

:)

Posted

mine says Service Pack 2 :w00t:

and did you modify that picture to put the

XXXXXX

XXXXXX stuff in or is that how your computer is registered? :}

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...