Guest pgarcia Posted August 31, 2007 Posted August 31, 2007 I need to loop the following. I have, say, 3 file in the folder that I need printed. The code does work, however, it will only bring up only one file and I need to bring up all the files in the folder and pring them. Or could you tell me were I can find some help on DOS or command prompt. Thanks C:\program files\adobe\reader 8.0\reader>acrord32.exe /t/n c:\print pdfs\*.pdf \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116
Guest Pegasus \(MVP\) Posted August 31, 2007 Posted August 31, 2007 Re: command prompt loop? "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message news:C89C5AD8-E7EA-489A-AA3B-A9D88AF0067D@microsoft.com... >I need to loop the following. I have, say, 3 file in the folder that I need > printed. The code does work, however, it will only bring up only one file > and > I need to bring up all the files in the folder and pring them. Or could > you > tell me were I can find some help on DOS or command prompt. Thanks > > C:\program files\adobe\reader 8.0\reader>acrord32.exe /t/n c:\print > pdfs\*.pdf \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 > 172.21.211.116 > Try this: for %a in (c:\print\pdfs\*.pdf) do acrord32.exe /t/n "%a" \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 Type for /? at the Command Prompt to see how it works.
Guest pgarcia Posted August 31, 2007 Posted August 31, 2007 Re: command prompt loop? Oh, so close. It brought up three different Adobe reads but could not display the pdf. I'm not sure if that's a short coming of Adobe or could something be missing? Thanks, by the way. "Pegasus (MVP)" wrote: > > "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message > news:C89C5AD8-E7EA-489A-AA3B-A9D88AF0067D@microsoft.com... > >I need to loop the following. I have, say, 3 file in the folder that I need > > printed. The code does work, however, it will only bring up only one file > > and > > I need to bring up all the files in the folder and pring them. Or could > > you > > tell me were I can find some help on DOS or command prompt. Thanks > > > > C:\program files\adobe\reader 8.0\reader>acrord32.exe /t/n c:\print > > pdfs\*.pdf \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 > > 172.21.211.116 > > > > Try this: > > for %a in (c:\print\pdfs\*.pdf) do acrord32.exe /t/n "%a" > \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 > > Type > > for /? > > at the Command Prompt to see how it works. > > >
Guest Pegasus \(MVP\) Posted August 31, 2007 Posted August 31, 2007 Re: command prompt loop? If the command acrord32.exe /t/n "SomeFile.pdf" \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 works then my initial suggestion will work too. I think you need to put a little more work into the command itself. "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message news:9920326B-56B9-433E-BAC9-742684F80DC6@microsoft.com... > Oh, so close. It brought up three different Adobe reads but could not > display > the pdf. I'm not sure if that's a short coming of Adobe or could something > be > missing? > Thanks, by the way. > > "Pegasus (MVP)" wrote: > >> >> "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message >> news:C89C5AD8-E7EA-489A-AA3B-A9D88AF0067D@microsoft.com... >> >I need to loop the following. I have, say, 3 file in the folder that I >> >need >> > printed. The code does work, however, it will only bring up only one >> > file >> > and >> > I need to bring up all the files in the folder and pring them. Or could >> > you >> > tell me were I can find some help on DOS or command prompt. Thanks >> > >> > C:\program files\adobe\reader 8.0\reader>acrord32.exe /t/n c:\print >> > pdfs\*.pdf \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 >> > 172.21.211.116 >> > >> >> Try this: >> >> for %a in (c:\print\pdfs\*.pdf) do acrord32.exe /t/n "%a" >> \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 >> >> Type >> >> for /? >> >> at the Command Prompt to see how it works. >> >> >>
Guest pgarcia Posted August 31, 2007 Posted August 31, 2007 Re: command prompt loop? How do you mean "more work into the command"? If you please. "Pegasus (MVP)" wrote: > If the command > > acrord32.exe /t/n "SomeFile.pdf" \\csg-amdc2\hplj9050mfp_9 adobeps tektonix > phaser 840 172.21.211.116 > > works then my initial suggestion will work too. I think > you need to put a little more work into the command > itself. > > "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message > news:9920326B-56B9-433E-BAC9-742684F80DC6@microsoft.com... > > Oh, so close. It brought up three different Adobe reads but could not > > display > > the pdf. I'm not sure if that's a short coming of Adobe or could something > > be > > missing? > > Thanks, by the way. > > > > "Pegasus (MVP)" wrote: > > > >> > >> "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message > >> news:C89C5AD8-E7EA-489A-AA3B-A9D88AF0067D@microsoft.com... > >> >I need to loop the following. I have, say, 3 file in the folder that I > >> >need > >> > printed. The code does work, however, it will only bring up only one > >> > file > >> > and > >> > I need to bring up all the files in the folder and pring them. Or could > >> > you > >> > tell me were I can find some help on DOS or command prompt. Thanks > >> > > >> > C:\program files\adobe\reader 8.0\reader>acrord32.exe /t/n c:\print > >> > pdfs\*.pdf \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 > >> > 172.21.211.116 > >> > > >> > >> Try this: > >> > >> for %a in (c:\print\pdfs\*.pdf) do acrord32.exe /t/n "%a" > >> \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 > >> > >> Type > >> > >> for /? > >> > >> at the Command Prompt to see how it works. > >> > >> > >> > > >
Guest Pegasus \(MVP\) Posted August 31, 2007 Posted August 31, 2007 Re: command prompt loop? You proposed this command: acrord32.exe /t/n "SomeFile.pdf" \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 I have a strong suspicion that it is not quite correct. Check the Acrobat FAQs for the correct syntax! "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message news:E5DFE664-FFDD-4309-A5D1-6BF207A2A49F@microsoft.com... > How do you mean "more work into the command"? If you please. > > "Pegasus (MVP)" wrote: > >> If the command >> >> acrord32.exe /t/n "SomeFile.pdf" \\csg-amdc2\hplj9050mfp_9 adobeps >> tektonix >> phaser 840 172.21.211.116 >> >> works then my initial suggestion will work too. I think >> you need to put a little more work into the command >> itself. >> >> "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message >> news:9920326B-56B9-433E-BAC9-742684F80DC6@microsoft.com... >> > Oh, so close. It brought up three different Adobe reads but could not >> > display >> > the pdf. I'm not sure if that's a short coming of Adobe or could >> > something >> > be >> > missing? >> > Thanks, by the way. >> > >> > "Pegasus (MVP)" wrote: >> > >> >> >> >> "pgarcia" <pgarcia@discussions.microsoft.com> wrote in message >> >> news:C89C5AD8-E7EA-489A-AA3B-A9D88AF0067D@microsoft.com... >> >> >I need to loop the following. I have, say, 3 file in the folder that >> >> >I >> >> >need >> >> > printed. The code does work, however, it will only bring up only one >> >> > file >> >> > and >> >> > I need to bring up all the files in the folder and pring them. Or >> >> > could >> >> > you >> >> > tell me were I can find some help on DOS or command prompt. Thanks >> >> > >> >> > C:\program files\adobe\reader 8.0\reader>acrord32.exe /t/n c:\print >> >> > pdfs\*.pdf \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 >> >> > 172.21.211.116 >> >> > >> >> >> >> Try this: >> >> >> >> for %a in (c:\print\pdfs\*.pdf) do acrord32.exe /t/n "%a" >> >> \\csg-amdc2\hplj9050mfp_9 adobeps tektonix phaser 840 172.21.211.116 >> >> >> >> Type >> >> >> >> for /? >> >> >> >> at the Command Prompt to see how it works. >> >> >> >> >> >> >> >> >>
Recommended Posts