PC Review


Reply
Thread Tools Rate Thread

command prompt loop?

 
 
=?Utf-8?B?cGdhcmNpYQ==?=
Guest
Posts: n/a
 
      31st Aug 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

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      31st Aug 2007

"pgarcia" <(E-Mail Removed)> wrote in message
news:C89C5AD8-E7EA-489A-AA3B-(E-Mail Removed)...
>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.


 
Reply With Quote
 
=?Utf-8?B?cGdhcmNpYQ==?=
Guest
Posts: n/a
 
      31st Aug 2007
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" <(E-Mail Removed)> wrote in message
> news:C89C5AD8-E7EA-489A-AA3B-(E-Mail Removed)...
> >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.
>
>
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      31st Aug 2007
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" <(E-Mail Removed)> wrote in message
news:9920326B-56B9-433E-BAC9-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:C89C5AD8-E7EA-489A-AA3B-(E-Mail Removed)...
>> >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.
>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?cGdhcmNpYQ==?=
Guest
Posts: n/a
 
      31st Aug 2007
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" <(E-Mail Removed)> wrote in message
> news:9920326B-56B9-433E-BAC9-(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> >> news:C89C5AD8-E7EA-489A-AA3B-(E-Mail Removed)...
> >> >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.
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      31st Aug 2007
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" <(E-Mail Removed)> wrote in message
news:E5DFE664-FFDD-4309-A5D1-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:9920326B-56B9-433E-BAC9-(E-Mail Removed)...
>> > 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" <(E-Mail Removed)> wrote in message
>> >> news:C89C5AD8-E7EA-489A-AA3B-(E-Mail Removed)...
>> >> >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.
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command prompt tool to minimize a command window AFTER it starts? Herb Martin Microsoft Windows 2000 CMD Promt 4 9th Apr 2009 09:52 PM
NO COMMAND PROMPT OR RECOVERY CONSOLE PROMPT =?Utf-8?B?QV9EVUI=?= Windows XP Performance 1 6th Aug 2006 09:06 PM
Changing prompt from C:\documents and settings\ to C:\ within command prompt Nulligan@gmail.com Windows XP General 4 1st Aug 2006 08:10 PM
command line prompt showing how long last command took? sillyhat@yahoo.com Microsoft Windows 2000 CMD Promt 13 31st May 2006 04:18 PM
Permission Denied while running cscript command in command prompt Eric Microsoft Windows 2000 CMD Promt 0 3rd Oct 2003 08:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.