MinimServer Forum

Full Version: Valid mscript -c commands (with recording in mind)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Windows 10, desktop PC
In PowerShell I executed these two command lines and got these responses:

> C: \"Program Files"\MinimServer\bin\mscript.cmd -c stream.record KCSM
Cannot specify a script and -c
> C: \"Program Files"\MinimServer\bin\mscript.cmd -c rescan
+ * rescan
+ : status=0

First: In the documentation, have I missed a list of all currently valid commands that can follow mscript.cmd -c ?

Second: I can do a rescan with a task in Task Scheduler by slightly modifying the line above to this action:

"C: \Program Files\MinimServer\bin\mscript.cmd" -c rescan

I'd like Minimstreamer to start recording at a specified time while I'm not at the PC. Is it feasible with my line of attack here, either already or perhaps with expanded capability of mscript.cmd -c ?

(I've put some spaces in between special characters, and used the Verdana trick, in order to defeat the 403 Forbidden block.)
To see a list of commands you can run with mscript, enter this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c help

To control stream recording, you need to use the prop command to set the correct value for the stream.record property, just as you would do from the Properties dialog. For example, you can start a recording immediately using this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c "prop stream.record=KCSM"


or you can schedule a recording for a later time using this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c "prop stream.record=KCSM+1930-2130"


To check your current setting for stream recording, use this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c "prop stream.record"
Thank you. The goal was to wake the computer and have Minimstreamer start a recording. After wrestling with Windows Task Scheduler, the goal was reached. I posted a brief explanation at https://forum.minimserver.com/showthread.php?tid=7193
Reference URL's