Forum Discussion

mmorioka's avatar
mmorioka
New Contributor
12 years ago

How to execute command line statement (dir) and return the value

I have a dir statement that I would like to run via Jscript.  I would like to call the cmd.exe process and then execute this statement: dir /a /s c:\ |find /c /v "". Here is my sample code, but...