Solved

Windows watch folder dealing with multiple new files

Posted on 2016-07-29
1
21 Views
Last Modified: 2016-09-03
I am using powershell FileSystemWatcher to watch a folder for new files. On new file, it removes file from folder, imports data and processes it into a PDF. It works, but it crashes if a file appears in the folder while a previous file is still being processed. Is there a way to queue the files and process them one at a time?
0
Comment
Question by:Michael Gray
1 Comment
 
LVL 12

Accepted Solution

by:
Dustin Saunders earned 500 total points
ID: 41734685
If you need help with code, it would be helpful to see said code.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

706 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

19 Experts available now in Live!

Get 1:1 Help Now