I use this CFX tag to run bat, com, exe.. it's extremely capable
Thanks to Lewis Sellars, the author, for making this available.

CFX_ConsoleCommand - Available on Allaire Developers Exchange

http://devex.allaire.com/developer/gallery/info.cfm?ID=CA347592-2830-11D4-AA
9700508B94F380&method=Full

This tag issues any command you could normally type at the console
(DOS box). It optionally captures the output back as a variable.

Dave




-----Original Message-----
From: Alexander Stepanov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 12:28 PM
To: CF-Server
Subject: batch file execution on CF server



Hi,

I need to run some batch files from CF (antivirus check for uploaded
files, right after uploading). The first intention was is to use
<CFEXECUTE> tag. But it doesn't work as (I guess) it's neccessary to run
shell int-r cmd.exe
(f.e. "cmd.exe /c batchfile1.cmd"). Did anybody run batch files on WinNT
from CFserver pages?

I will appriciate any hint/advise.

TIA,   Alexander
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to