Computing.Net > Forums > Programming > batch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch

Reply to Message Icon

Name: yellow
Date: June 25, 2002 at 00:34:59 Pacific
Comment:

hello could someone that knows how to make batch file please tell me how i can make one that will delete all cookies and temp files so that when i click on it it delets them not one that has to reboot just one that i can push at any time im not on the internet thanks




Sponsored Link
Ads by Google

Response Number 1
Name: Jeff J
Date: June 25, 2002 at 09:39:10 Pacific
Reply:

You can try putting this in a new .bat file (all one line):

DEL /F /Q "C:\Documents and Settings\USER_NAME\Cookies\*"

That will also delete INDEX.DAT, but that's no biggee. The path will have to be adjusted to your particular machine (the example is typical of Win2K and XP). Then just create a shortcut, point it to your new batch file, and put the shortcut somewhere you can get to it, like the desktop or on the Start menu somewhere. You can do the same with your temp directory.

Cheers


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch

Batch file to count a specific character in a www.computing.net/answers/programming/batch-file-to-count-a-specific-character-in-a/19751.html

Collect Antivirus info via batch www.computing.net/answers/programming/collect-antivirus-info-via-batch/20104.html

synchronise 2 folder structures using batch www.computing.net/answers/programming/synchronise-2-folder-structures-using-batch/20192.html