Well, let me tell you that I have already checked that. And I saw that I am not having any other batch files with the name nor exes CScript for the command to be mislead. However, as you adviced I fully qualified the name by means of% systemroot% \ system32 \ cscript.exe and c: \ Windows \ System32 \ cscript.exe it is precisely an identical behavior.
C: \> c: \ Windows \ system32 \ cscript.exe
C: \>% systemroot \ system32 \ cscript.exe%
To troubleshoot more, I copied the CScript.exe from a different machine to my machine and attempted the similar and it still displayed the same behavior. It is completely strange and have no hint what is going wrong ..
Bookmarks