i&#039;ve been working on an script that is executing commands on the web server. The script works for simple commands as DIR, but not with PING, CACLS... It returns success but it doesnt do anything. Executing the command manually on the command prompt works. Thanks!<BR><BR>Here is the code : (Im running as an administrator)<BR><BR>&#060;%<BR> szCMD = "CACLS E:WEBTESTDIR /e /r everyone"<BR><BR> Set oScript = Server.CreateObject("WSCRIPT.SHELL")<BR> Set oScriptNet = Server.CreateObject("WSCRIPT.NETWORK")<BR> Set oFileSys = Server.CreateObjec("Scripting.FileSystemObject")<B R><BR> &#039; -- Use a poor man&#039;s pipe ... a temp file -- &#039;<BR> szTempFile = "C:\" & oFileSys.GetTempName( )<BR> Call oScript.Run ("cmd.exe /c " & szCMD & " &#062; "& szTempFile, 0, True)<BR> Set oFile = oFileSys.OpenTextFile (szTempFile, 1, False, 0)<BR><BR> if RetCode = 0 Then<BR><BR> response.write "success!!!"<BR> response.write "Retcode: " & retcode<BR><BR> else<BR><BR> response.write "failed!!!"<BR> response.write retcode<BR><BR> end if<BR>%&#062;<BR><BR> I am not sure if there needs to be a special configuration on the webserver or not.