> Can I execute a batch file and send it parameters through cold 
> fusion?

Yes. In CF 4.5.x, you can use the CFEXECUTE tag. Here's an example, which
will add a user to the local NT account database:

<cfexecute name="c:\winnt\system32\net.exe"
           arguments="user testme testme /add">
</cfexecute>

If you're using an older version of CF, you'll need to install a CFX tag to
run command-line programs. You can get one from Lewis Sellers' site
(http://www.intrafoundation.com/).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to