MinimServer Forum

Full Version: Is there a way to print MinimServer's configuration?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Whenever I've needed to post a copy of my MinimServer configuration to the forum I've had to do a screen grab and edit it in Photoshop. Is there an easier method, i.e. is there a way to print a copy of all the configuration settings?
You can use the mscript program to run the command 'props', then copy and paste the output. For information about mscript, see this page.

Also, I am planning to add a way to export the property settings to a file.
The scripting guide told me that Mscript.cmd could be found in a subfolder of MinimWatch on my Windows PC, so I opened up a command prompt, navigated to that subfolder and entered mscript -i, followed by props at the next prompt.

The result was as follows.
Server not available: localhost 9790
+:status=2

Needless to say, that left me none the wiser. I then thought perhaps I needed to run mscript on my Synology NAS, but the scripting guide tells me that this command is to be found within /var/packages/MinimServer/target/bin. I didn't get off the launch pad with that, as Filestation on my NAS fails to display a folder called var.

I probably need a bit more hand holding on this one...
If you are running mscript from a different machine than the machine running MinimServer, you need to use the -a option to specify the address of the machine running MinimServer (your NAS). For example, you can specify

mscript -a 192.168.1.20 -i

if your NAS has the IP address 192.168.1.20. See this section for some examples of different ways to run mscript.

The var folder is only accessible from a terminal window on the NAS. For what you need, it is simpler to run mscript from your Windows PC.
All sorted now. Many thanks for your help.

A less convoluted way for writing the configuration to a file would obviously be a benefit, but the mscript solution is still a lot quicker and more useful than my previous method.
Hi Simon,
It's only a minor issue, but it would be a little bit more convenient if the property listing generated by this mscript method was broken down into three groups to match the tabbed layout of the MinimServer Properties panel (i.e. Server, Advanced and System). Guessing which tab contains which property is not that easy.

However, if that's tricky to achieve then your time would be much better spent on other things!
The list is sorted alphabetically by property name and I don't intend to change this. When the file export facility is available, it will be sorted the same way.
No problem. As I said, it is only a minor preference and I am happy to live with the current layout.
Reference URL's