There are many great articles on 4Guys, and such an article exists that discusses how to accomplish this feat. See:<BR>http://www.4guysfromrolla.com/webtech/072199-2.shtml<BR><BR>Also, to search the 4Guys article archive, visit http://www.4GuysfromRolla.com/search (or just click on the Search 4Guys link in the bottom left hand column.
Include the following code in an ASP-Script to run C:COMMAND.COM (for example):<BR><BR><%<BR> Set Obj = Server.CreateObject("WScript.Shell")<BR> Obj.Run "C:COMMAND.COM"<BR>%><BR><BR>Make sure that Windows Scripting Host (WSCRIPT.EXE) is installed on the Webserver.<BR><BR>Greetings - firstname.lastname@example.org
Is there a way to do this on Windows 2003 Server? I've tried both of these methods and neither are working for me.<BR><BR>ASPExec acts like it's working and gives 'OK' back to me, but the file was never executed.<BR><BR>WScript.Shell gives me a permission denied error even though for testing IUSR and IWAM have Admin rights.<BR><BR>Any help would be appreciated!<BR>Thanks!<BR>Jason