Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 142955

Re: Monitor a folder, run Dr Brown's "Image Processor Pro" script, and move original file

$
0
0

So would this then be the complete correct code for my second script?  Also, what extension should I save this script as in order to use it in a photoshop action?

 

try{

   var BAT = new File(Folder.temp + "/MoveFilesToArchive.bat");

   BAT.open("w");

   BAT.writeln('move /Y c:\windows\temp\*.jpg c:\temp');

   BAT.close();

   BAT.execute();   // execute the temp bat file

}catch(e){

alert("Bat MoveFilesToArchive  failed to execute.");

};


Viewing all articles
Browse latest Browse all 142955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>