Here's a basic version of what I ended doing applied to a 'hello world' script named helloworld.cmd:
However, after a little more experimentation I found this was slightly overkill for my purposes since if I rename the file to helloworld.js and just type its name like a command it is run by cscript:C:\Users\davris>helloworld C:\Users\davris>/* 2>NUL Hello world.
So this time I didn't need all that but if ever in the future I need to run a batch file then a JS file I can do it with one file...C:\Users\davris>helloworld Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved. Hello world.