How to set-up a temporary scratch folder

Posted on 2006-05-18
Last Modified: 2010-04-18

Can anyone tell me how to set-up a temporary scratch folder in windows server 2003 i.e. a folder/share where files can be scheduled for deletion every day, week or month?

Question by:sdower
    LVL 48

    Accepted Solution

    Hi sdower,

    you would have to run a scheduled task with a small script or batch file deleting the specified folder

    Author Comment

    Thanks, would you have a copy of a sample script?
    LVL 48

    Expert Comment

    or even a batch file

    open notepad

    del c:\James\*.* /q

    save with file extension of .bat

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now