I'm having a problem executing a batch file from ASP and I'd be very appreciate of any help I can get. The web server is serving the ASP code from a file server which is also where the batch file exists. I can run an executable with no problems (as well as run things like "ping", etc.), but the batch file will not cooperate.
I'm using the Run method of the Wscript.Shell object. I've tried executing the batch file both with and without the "%comspec% /c" in front of the name and am always getting a return code of 1 from the Run method and the batch file does nothing. I've checked permissions on the files and directories and it appears that "Everyone" has read/execute permissions. I'm still completely stumped despite having done several Google searches trying to find an answer. Thanks... -- Ross St. Clair --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
