[SOLVED] bat file to monitor folder contents
Posted: 13 Jan 2013 19:54
Ive tried apps like Total Folder Monitor to do these things for me but each one has its issues or faults or just doesnt work so Ive resorted to bat files and hope I can find an answer here.
Requested Outcome:
New jpg is added to folder via dropbox
bat file realizes new item is there
bat file runs a command prompt which runs a photoshop droplet against the new file eg:
command I need run in cmd prompt window would be similar to c:\droplet_path\droplet.exe "c:\monitored_folder\new_item.jpg" (new_item.jpg would be randomly named from camera to be something more like 2013-01-01 15.22.14.jpg)
what this does then is opens photoshop, runs an action against the new image that appeared in the folder and saves it somewhere else
I then want the bat file to delete the original jpg that the camera took that was in the dropbox folder c:\monitored_folder\2013-01-01 15.22.14.jpg which leaves me only with the new item that photoshop has saved into a different location
does this make sense?
I'm assuming it's pretty straight forward but the things I have tried up to this point are just pissing me off now haha.
-Dave
Requested Outcome:
New jpg is added to folder via dropbox
bat file realizes new item is there
bat file runs a command prompt which runs a photoshop droplet against the new file eg:
command I need run in cmd prompt window would be similar to c:\droplet_path\droplet.exe "c:\monitored_folder\new_item.jpg" (new_item.jpg would be randomly named from camera to be something more like 2013-01-01 15.22.14.jpg)
what this does then is opens photoshop, runs an action against the new image that appeared in the folder and saves it somewhere else
I then want the bat file to delete the original jpg that the camera took that was in the dropbox folder c:\monitored_folder\2013-01-01 15.22.14.jpg which leaves me only with the new item that photoshop has saved into a different location
does this make sense?
I'm assuming it's pretty straight forward but the things I have tried up to this point are just pissing me off now haha.
-Dave