bschwass
5 years agoOccasional Contributor
WshShell "The system cannot find the file specified"
Use of the WshShell in our test suite has suddenly stopped working and I cannot figure out why. I have written a simple test to hone in on the error: function test() { //Don't check this in
...
- 5 years ago
I thought you are passing some command from dir as para
Microsoft have provided article to run dir as WshShell commandTry with this and check whether you need this one
function test()
{
WshShell.Run("%comspec% /k dir",1,true)
}
https://devblogs.microsoft.com/scripting/how-can-i-call-the-dir-command/