Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Batch File

Batch File

Batch File

I have a situation where I have a batch file that executes a php process that moves a file from one folder to another (and some processing occurs, but thats beyond the scope of what I am asking for help with here)

Essentially, sometimes the file that gets placed in what I would call the pick up folder, does not get moved when processed... so that file stays there getting re-processed numerous times...this causes a big headache and the only solution is to physically remove the file from the folder ....

I am interested to know if anyone had any ideas for a batch file that I can run directed at a particular folder that will delete a file if it is still in a folder after a specified amount of time.

This has proven to be a difficult thing for me to google as its hard to narrow the results to what I actually need... Anyone have any experience with something like this?

Thank you very much

Matt M

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close