> If you are trying to run commands that don't really exist, 
> then you need to create a BAT file to run them.
> 
> For example, if you want to do a DIR of a directory, you 
> can't just run DIR since it doesn't exist.  However, you can 
> wrap it in a BAT file and run the BAT file with no problems.  
> (I'm using DIR as an example, I forget the actual command I 
> was trying to use when I found out the hard
> way.)

They're not "commands that don't really exist", they're shell commands. If
you want to run a shell command from CF without using a batch file, you have
to run the shell itself, and pass the command as an argument:

<cfexecute name="c:\windows\system32\cmd.exe" arguments="/c dir c:\foo" ...>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:267548
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