Try "\\" for each "\" in your file path . In Java you often have delimit "\" with another "\"
So try ARGUMENTS="-format jpg \\\\webpdf\\inserts\\manual\\test.pdf \\\\webpdf\\inserts\\manual\\test.jpg" WG > -----Original Message----- > From: Owens, Howard [mailto:[EMAIL PROTECTED]] > Sent: 30 January 2003 19:24 > To: CF-Talk > Subject: ImageMagick and CFExecute > > > I have an application I built on my CF 5.0 workstation (win2k), and it was > working fine (outside of cfschedule bugginess). > > I moved it to our new CFMX (win2k) machine, and I'm having some > problems ... > > The application uses ImageMagick/GhostScript to convert PDFs to JPGs. It > called IM through CFExecute. > > I can run IM find through the command line ... put in the same exact > attributes that I'm using in my CFExecute tag, and everything works > perfectly. But with CFExecute, I get an error. > > Here is my CFExecute code and the error I get .... anybody got > any ideas as > to what is going on (again, all of this works on my own machine, IM and GS > are installed correctly on the new machine, and I've confirmed > all the path > and file names are correct)? > > CODE: > <cfsavecontent variable="debugReport"> > <CFEXECUTE > NAME="E:\ImageMagick-5.5.3-Q8\mogrify.exe" > ARGUMENTS="-format jpg \\webpdf\inserts\manual\test.pdf > \\webpdf\inserts\manual\test.jpg" > TIMEOUT="200"> > </CFEXECUTE> > </cfsavecontent> > > > <cfoutput>#htmlcodeformat(debugReport)#</cfoutput> > > > ERROR: > > Error: /undefinedfilename in (and) > Operand stack: > > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > --nostringval-- false 1 %stopped_push --nostringval-- > --nostringval-- > Dictionary stack: > --dict:1012/1123(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)-- > Current allocation mode is local > Last OS error: No such file or directory > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Howard Owens > Internet Operations Coordinator > InsideVC.com/Ventura County Star > [EMAIL PROTECTED] > AIM: GoCatGo1956 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

