Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Feb 2001
    Location
    Cascais, Portugal
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts

    *.tmp files in c:\windows

    I wrote a msdos batch file (fairly primmitive) to clear out .tmp files from my temp and windowstemp directories - works, but now I find I have a lot, in fact lots + lots of ffe?.tmp files in my c:windows directory. What are these? Most are 0 bytes. what a nuisance.
    Please help

  2. #2
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    England
    Posts
    1,306
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: *.tmp files in c:\windows

    Hi
    Polish your batch file. These files could have the 'read only'
    attribute checked. Try a batch file like this - without the REMs, of course:

    @ECHO OFF

    REM if you're using Win 2000 : CD Xocuments and SettingsUserNameLocal SettingsTemp, where X is the drive with your OS on.
    CD C:
    attrib *.tmp -s -h -r
    REM and do this for ~mp etc if you want.
    Del *.tmp
    Del *.~mp
    Del *.temp

    CLS
    EXIT
    ************************************************** ****

    Note: you cannot delete temp files that are still being used; you'll get a 'Sharing Violation' error message.

    For more detail, slide over to my web site, click the Index button and select ' Autoclean Temp Files' (Green button for PDF, red for Doc)

    Rgds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •