Joe, You've got a tag nested inside your <cfexecute> tag. While this is valid:
<Cftag><Cfchildtag></cftag> This isn't: <cftag <cfchildtag>> This should help: <cfexecute name = "C:\converter.exe" arguments = "-i #serverFile# trynum2.gif"> </cfexecute> -joe On 5/25/05, Joe Joe <[EMAIL PROTECTED]> wrote: > Hello.. > > I cant see what im doing wrong with this code, so any help would be much > apreciated. > > I have an upload page, that allows people to upload an image. I then try to > convert the image using an exe file to another format.. I have to use the exe > because of the formats im changing to. > > if i run this from the command line the converter works. > > C:\converter.exe -i Niamh1.jpg trynum2.gif > > however when i use this cfml code, using serverFile as the name of the > uploaded file, it wont work... > > <cfexecute > name = "C:\converter.exe" > arguments = "-i <cfoutput>#serverFile#</cfoutput> trynum2.gif"> > </cfexecute> > > Is it something to do with permissions or whatnot? or if anyone can see what > im doing wrong?? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207687 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

