The Computer Oracle

How to monitor a folder and trigger a command-line action when a file is created or edited?

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Jungle Looping

--

Chapters
00:00 Question
00:51 Accepted answer (Score 128)
03:00 Answer 2 (Score 8)
04:33 Answer 3 (Score 6)
04:53 Answer 4 (Score 6)
06:13 Thank you

--

Full question
https://superuser.com/questions/226828/h...

Accepted answer links:
[Documentation for PowerShell's FileSystemWatcher]: http://msdn.microsoft.com/en-us/library/...(
[Documentation for PowerShell's Register-Event]: http://technet.microsoft.com/en-us/libra...
[Inspirations]: https://social.technet.microsoft.com:443...
[script]: http://dereknewton.com/2011/05/monitorin.../

Answer 2 links:
[this resource]: https://gallery.technet.microsoft.com/sc...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #windowsvista #automation #scheduledtasks

#avk47