Information in this article applies to:
Article ID: NPF1121 — Created: 22 Dec 2017 — Reviewed: 27 Dec 2017
I want to run a Windows Scripting File (WSF) for a user action or user button but I can't figure out how to do that. What must I do?
To run wscript files, you must set the Command to the following:
C:\Windows\System32\wscript.exe
Then, the Parameters must be set to the name of the wscript file followed by any arguments. For example:
"C:\myscript.wsf" "/jobfolder:%JobFolder%"
Note
Be sure to use double quotes (") around any arguments that may include spaces.