Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2007
    Posts
    107

    can you help me how to empty temp folder with a button click ?

    hi everyone

    can you help me how to empty temp folder ( c:/WINDOWS/temp)

    with a button click?

    thank you

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Try this:

    File.Delete(_WindowsFolder.."\\Temp\\*.*", true, false, true, nil);
    File.Delete(_TempFolder.."\\*.*", true, false, true, nil);
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Feb 2007
    Posts
    107
    thank you bule , i will try it and i tell later

  4. #4
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    This code not working?

  5. #5
    Join Date
    Feb 2007
    Posts
    107
    thank you bule the code is working

    nals i tryed the code is working for me , try again

  6. #6
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    Uhh how come i did but not working, what operating sys you have? I ve got win xp pro.

  7. #7
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    ops sorry melissa its working, i was looking at the wrong folder, i went and chack C:\Documents and Settings\user\Local Settings\Temp (this folder)

    Thank you worm, It works fine.!!!!

    how do you delete crrent user internet temp internet files folder? and is there a way to delete internet search history??


Similar Threads

  1. cookies
    By goukilord10 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 05-20-2005, 04:08 PM
  2. Simple Button Click Opens up Folder On Disc..How do I ?
    By resin8 in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 12-31-2004, 12:14 PM
  3. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 PM
  4. HOWTO: Create an Empty Folder
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-21-2002, 03:21 PM
  5. INFO: The Explore Button on the Distribution Folder Dialog
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-11-2002, 12:06 PM

Posting Permissions

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