Re: [DOS]/DOS query - ANOTHER SOLUTION
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47029
interpreted = N
texte = On further investigation and FYI, you use && to break within the [DOS]context:
[DOS]C:&&cd program files\imagemagick-5.5.3-q16&&mogrify -size 120x120 d:\inetpub\wwwroot\testing\*.jpg -resize 120x120[/DOS]
This works too!Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Tim Robinson
> Reply-To: (WebCatalog Talk)> Date: Wed, 22 Jan 2003 15:39:05 +1100> To: (WebCatalog Talk)> Subject: Re: [DOS]/DOS query - A SOLUTION> > Raj here has come up with a workaround by creating a bat file.> > The [DOS] context calls the bat file:> > [DOS]testing.bat> [/DOS]>
> > And the bat file contains this:> C:> cd program files\imagemagick-5.5.3-q16> mogrify -size 120x120 d:\inetpub\wwwroot\testing\*.jpg -resize 120x120> > And that works. It seemed that no way would it access the mogrify exe direct> from the WebDNA [DOS] context.> > Regards,> Tim> -- > Tim Robinson> IDFK Web Developments> tim@idfk.com.au> 114a/40 Yeo Street> Neutral Bay 2089> Australia> Phone +612 9908 2134> Fax +612 9908 4837> >> From: Tim Robinson >> Reply-To: (WebCatalog Talk)>> Date: Wed, 22 Jan 2003 14:20:47 +1100>> To: (WebCatalog Talk)>> Subject: Re: [DOS]/DOS query perhaps OT>> >> I tried that earlier (and again now) and it doesn't work. Nothing happens..>> Do i need to put a special linebreak character to tell DOS they're separate?>> >> Regards,>> Tim>> -- >> Tim Robinson>> IDFK Web Developments>> tim@idfk.com.au>> 114a/40 Yeo Street>> Neutral Bay 2089>> Australia>> Phone +612 9908 2134>> Fax +612 9908 4837>> >>> From: Alain Russell >>> Reply-To: (WebCatalog Talk)>>> Date: Wed, 22 Jan 2003 16:05:05 +1300>>> To: (WebCatalog Talk)>>> Subject: Re: [DOS]/DOS query perhaps OT>>> >>> Donšt you set the path and then call the executable .. ?>>> >>> [dos]>>> PATH=c:\program files\imagemagick-5.5.3-q16 (line break here)>>> Mogrify blah blah blah ..>>> [/dos]>>> >>> Alain>>> >>>> That doesn't come up with an error, but does nothing.>>>> >>>> I typed that straight into the DOS prompt on the server, and it>>>> worked.......>>>> so basically the only thing different is that the one called by the WebDNA>>>> [DOS] context has:>>>> path=c:\program files\imagemagick-5.5.3-q16>>>> at the beginning of it (and it doesn't do anything). ;-)>>>> >>>> Do you think I'd be wasting my time putting the application on the same D>>>> partition as the website?>>>> >>>> Regards,>>>> Tim>>> >>> >>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/>>> >> >> >> >> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>> > > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- Re: [DOS]/DOS query - ANOTHER SOLUTION (Tim Robinson 2003)
|
On further investigation and FYI, you use && to break within the [DOS]context:[DOS]C:&&cd program files\imagemagick-5.5.3-q16&&mogrify -size 120x120 d:\inetpub\wwwroot\testing\*.jpg -resize 120x120[/DOS]
This works too!Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Tim Robinson > Reply-To: (WebCatalog Talk)> Date: Wed, 22 Jan 2003 15:39:05 +1100> To: (WebCatalog Talk)> Subject: Re: [DOS]/DOS query - A SOLUTION> > Raj here has come up with a workaround by creating a bat file.> > The [DOS] context calls the bat file:> > [DOS]testing.bat> [/DOS]>
> > And the bat file contains this:> C:> cd program files\imagemagick-5.5.3-q16> mogrify -size 120x120 d:\inetpub\wwwroot\testing\*.jpg -resize 120x120> > And that works. It seemed that no way would it access the mogrify exe direct> from the WebDNA [DOS] context.> > Regards,> Tim> -- > Tim Robinson> IDFK Web Developments> tim@idfk.com.au> 114a/40 Yeo Street> Neutral Bay 2089> Australia> Phone +612 9908 2134> Fax +612 9908 4837> >> From: Tim Robinson >> Reply-To: (WebCatalog Talk)>> Date: Wed, 22 Jan 2003 14:20:47 +1100>> To: (WebCatalog Talk)>> Subject: Re: [DOS]/DOS query perhaps OT>> >> I tried that earlier (and again now) and it doesn't work. Nothing happens..>> Do i need to put a special linebreak character to tell DOS they're separate?>> >> Regards,>> Tim>> -- >> Tim Robinson>> IDFK Web Developments>> tim@idfk.com.au>> 114a/40 Yeo Street>> Neutral Bay 2089>> Australia>> Phone +612 9908 2134>> Fax +612 9908 4837>> >>> From: Alain Russell >>> Reply-To: (WebCatalog Talk)>>> Date: Wed, 22 Jan 2003 16:05:05 +1300>>> To: (WebCatalog Talk)>>> Subject: Re: [DOS]/DOS query perhaps OT>>> >>> Donšt you set the path and then call the executable .. ?>>> >>> [DOS]>>> PATH=c:\program files\imagemagick-5.5.3-q16 (line break here)>>> Mogrify blah blah blah ..>>> [/dos]>>> >>> Alain>>> >>>> That doesn't come up with an error, but does nothing.>>>> >>>> I typed that straight into the DOS prompt on the server, and it>>>> worked.......>>>> so basically the only thing different is that the one called by the WebDNA>>>> [DOS] context has:>>>> path=c:\program files\imagemagick-5.5.3-q16>>>> at the beginning of it (and it doesn't do anything). ;-)>>>> >>>> Do you think I'd be wasting my time putting the application on the same D>>>> partition as the website?>>>> >>>> Regards,>>>> Tim>>> >>> >>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/>>> >> >> >> >> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>> > > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Tim Robinson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] Searching for encrypted values (2014)
Migrating to NT (1997)
Frames and WebCat (1997)
format_to_days on NT (1997)
NT vs Mac (1997)
multi-paragraph fields (1997)
TeaRoom (1997)
[WebDNA] listfiles on linux server (2011)
[include ...] behavior (1997)
Error Log.db --however (1997)
The List is Changing (1997)
sendmail and CGatePro - Not working (2003)
[math] show=F exists? (1997)
HTML docs are wrong about listwords ... (2000)
Re:Dashes and dots in credit card (1998)
WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997)
In Digest Dijon (2000)
rotating thumbnails (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
[WebDNA] sum in a search (2009)