Start-Process -FilePath “c:\docstoprint\doc1.pdf” –Verb Print -PassThru | %{sleep10;$_} | kill
Start-Process -FilePath “c:\docstoprint\doc2.pdf” –Verb Print -PassThru | %{sleep10;$_} | kill
Start-Process -FilePath “c:\docstoprint\doc3.pdf” –Verb Print -PassThru | %{sleep10;$_} | kill
Start-Process -FilePath “c:\docstoprint\doc4.pdf” –Verb Print -PassThru | %{sleep10;$_} | kill
Start-Process -FilePath “c:\docstoprint\doc5.pdf” –Verb Print -PassThru | %{sleep10;$_} | kill
The program is powershell.exe and it should be located in C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
http://windowssecrets.com/forums/showthread.php/156416-Print-External-PDF-Files-from-Excel-Sheet
http://windowssecrets.com/forums/showthread.php/156416-Print-External-PDF-Files-from-Excel-Sheet