Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Trying to run cscript from commandline give the error 'cscript is not a valid Win32 application' on Windows Server 2003, with IIS 6 installed.

share|improve this question
1  
It needs to look to the 32-bit version of cscript. You gotta call C:\WINDOWS\system32\cscript.exe with the full path. –  JonoRR Nov 19 '12 at 21:55

1 Answer 1

up vote 0 down vote accepted

It needs to look to the 32-bit version of cscript, rather than the 64 bit version, which is used in PATH.

Call C:\WINDOWS\system32\cscript.exe with the full path.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.