Steven,

How will passing an array of arguments change my 'syntax' in such a way that
cfexecute will work?

This is CF 5 on Windows 2000AS.

I'm very confused as to why this won't work.

--
Jillian

> -----Original Message-----
> From: Steven Erat [mailto:[EMAIL PROTECTED] 
> Sent: August 22, 2003 2:46 PM
> To: CF-Talk
> Subject: RE: cfexecute erroring
> 
> 
> 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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to