You can optionally pass an array of arguments to cfexecute, so you would build an array with each index containing one argument. Then pass the array to the arguments attribute (arguments="#myArgAry#"). In that way you clearly tell the executable what each of the arguments are. Otherwise, if you pass an argument string to the arguments attribute, CF parses the string to create an array for you.
Is this CFMX, CFMX 6.1, or CF5? -Steven Erat -----Original Message----- From: Jillian Carroll [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 4:30 PM To: CF-Talk Subject: cfexecute erroring I'm starting to work on this web based .htaccess creation, and the most basic place to begin seems to be with creation. When I do this: <cfexecute name="c:\Program Files\Apache Group\Apache\bin\htpasswd.exe" arguments="-c -b c:\Program Files\Apache Group\Apache\htdocs\epi2\docs\test\.htpasswd test test" timeout="5" /> It doesn't work. It appears to find the htpasswd.exe file, but I get a printout of the syntax on my screen, indicating that my syntax is incorrect. Because this is a Windows server, I tried this (with quotations added and escaped): <cfexecute name="c:\Program Files\Apache Group\Apache\bin\htpasswd.exe" arguments="-c -b ""c:\Program Files\Apache Group\Apache\htdocs\epi2\docs\test\.htpasswd"" test test" timeout="5" /> This doesn't work either. On the command line, this works: htpasswd -c -b "c:\Program Files\Apache Group\Apache\htdocs\epi2\docs\test\.htpasswd" test test I'd be delighted to find out it is something easy and obvious to fix... I'm confused. -- Jillian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 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

