Help write a simple script please!
Posted: 23 Aug 2010 13:00
Hi there!
I have a simple script to write, but I have limitations at programming. Here's what I need my script to do:
1. Scan a directory (C:\temp\spool) for changes every second.
2. If a *.pdf file is detected, execute command "AcroRd32.exe /p/t C:\temp\spool\*.pdf" (basically, print the file using acrobat)
3. Delete that file (*.pdf)
4. Resume the loop scanning.
Can anyone help me??!
Thanks much!!!
I have a simple script to write, but I have limitations at programming. Here's what I need my script to do:
1. Scan a directory (C:\temp\spool) for changes every second.
2. If a *.pdf file is detected, execute command "AcroRd32.exe /p/t C:\temp\spool\*.pdf" (basically, print the file using acrobat)
3. Delete that file (*.pdf)
4. Resume the loop scanning.
Can anyone help me??!
Thanks much!!!