I use the following syntax for <cfexecute> when deleting directories and their contents.
<CFEXECUTE NAME="C:\WINNT\system32\CMD.EXE" ARGUMENTS="/c RMDIR /S /Q D:\MyDirectory\" TIMEOUT="20"/> -----Original Message----- From: Jesse Noller [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 2:29 PM To: CF-Talk Subject: RE: CFEXECUTE C:\WINNT\system32\ftp.exe www.site.com is what you want. Calling the CMD interface block actual options from being passed. So, yer code should be: <CFEXECUTE NAME="C:\WINNT\system32\ftp.exe" ARGUMENTS="-s:c:\path\to\file\ftpcommands.txt"> </CFEXECUTE> Or better yet: <CFSET SOME="-s"> <CFSET arguments="#SOME# #OPTIONS# #HERE#" <CFEXECUTE NAME="C:\WINNT\system32\ftp.exe" ARGUMENTS=#arguments# OUTPUTFILE="/tmp/cf" TIMEOUT="30"> </CFEXECUTE> ======================== Jesse Noller Linux Fiend Macromedia Server Development [EMAIL PROTECTED] "Happiness in intelligent people is the rarest thing I know." -Ernest Hemingway "Ian: God help us; we're in the hands of engineers." -Jurassic Park -----Original Message----- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 2:17 PM To: CF-Talk Subject: CFEXECUTE I'm trying to fire off an FTP process with CFEXECUTE. I need to call FTP and then a -s command with a command file. So far I've got: <CFEXECUTE NAME="C:\WINNT\system32\cmd.exe" ARGUMENTS="ftp -s:c:\path\to\file\ftpcommands.txt"> </CFEXECUTE> This does not work. If I call it just like this from the command line, it works fine. Any suggestions? Thanks, Dave =============================== David R Hannum Ohio University Web Analyst/Programmer (740) 597-2524 [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

