Hi Scoot,
 
Yes we can run batch file in servlet to.
 
Runtime t = getRuntime();
t.ecec("*.bat");   -- * is the batch file name.
 
Hope this helps.

Ravisankar
----- Original Message -----
Sent: Friday, August 09, 2002 6:50 PM
Subject: Can a Servelt Run a Batch File?

Can a servlet run a batch file on a Windows-based server?
 
TIA,

Scott

Reply via email to