I stand corrected.  Thanks for the tip. 

-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 3:45 PM
To: CF-Talk
Subject: RE: Using CF to run BAT files

You don't need to write a batch file for shell commands like dir aka,
commands that don't REALLY exist... heh

pass them as arguments to cmd.exe

<cfexecute name="c:\path\to\system32\cmd.exe" arguments="/c dir
c:\some\dir"
variable="dirresults" />

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267557
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to