The NAS AO "script" action can only run the LUA scripts mentioned in the location above.
The "command" option can run any command that will be valid on the operating system - including an .exe or .bat file for example. The file(s) you want to execute should be placed in the \probes\service\nas\ folder.
Many times we find that when passing parameters to a file/script it works better to encapsulate that in a .bat (or .sh) file and have the AO call that file.