Question: how to run wsf file from command prompt?
Answer: Double-click the icon of the script file just as you would with an executable file. Click the Start button, and then click Run. ...  From the command line, type the name of the script. Schedule the script using Windows Task Scheduler.