1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

deleting temp internet files and cookies

Discussion in 'Business Applications' started by LRibnick, Dec 4, 2001.

Thread Status:
Not open for further replies.
Advertisement
  1. LRibnick

    LRibnick Thread Starter

    Joined:
    Dec 4, 2001
    Messages:
    1
    How can I set up Windows98 to automatically delete temporary internet files and cookies as a scheduled task? I don't know how to program using DOS.
     
  2. jbcalg

    jbcalg

    Joined:
    Oct 29, 2001
    Messages:
    2,056
    there were some ideas in this thread earlier today
     
  3. TonyKlein

    TonyKlein Malware Specialist

    Joined:
    Aug 26, 2001
    Messages:
    10,392
    You can put a couple of lines in your autoexec.bat.

    Let's suppose your Cookies folder is C:\Windows\Cookies, and your TIF folder is C:\Windows\Temporary Internet Files.

    Then do this:

    Go to Start/run and type notepad /autoexec.bat (there's a space after 'Notepad'!)

    Your Autoexec.bat will now open in Notepad.

    Insert the following lines just before the last one:

    @Echo Off
    Smartdrv
    Deltree /Y C:\Windows\Tempor~1\*.* > Nul
    Deltree /Y C:\Windows\Cookies\*.* > Nul


    Save in 'File'

    Now every time you start Windows these folders will be thorougly emptied.

    If the path to the two folders is different on your system, it has to be adapted in the batch file.

    Good luck,
     
  4. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - deleting temp internet
  1. ImaGrump
    Replies:
    2
    Views:
    595
  2. Tamekay25
    Replies:
    5
    Views:
    171
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/60704

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice