WScript.Shell Run giver fejl: 0x80070002
function exec(command){
var shell = Server.CreateObject("WScript.Shell")
RetCode = shell.run(command, 1, true);
if( RetCode != 0){
Response.Write("Errors in the command : " + command);
}
}
giver fejlen : 0x80070002
hvor command kan være hvad som helst... fx "dir c:" eller "ping 127.0.0.1"... hvilket burde eksekvere i en slags dos-promt
hvad gør jeg galt... har prøvet eksemplet fra denne side : http://www.4guysfromrolla.com/webtech/102998-1.shtml
som giver samme fejl... på RUN kommandoen
