Jump to content
Ketarin forum
Knightmare

Help: Exclude settings from MultiCommander Extraction

Recommended Posts

I'm trying to find out how I would go about excluding the settings files from MultiCommander extract so that I don't have to keep resetting the settings whenever I update the program. Here is the code that I'm using:

7z x "{file}" -o"{root}SyMenu\ProgramFiles\{category}\Multi Commander\" -xr!*.ini -r -y

For some reason, I keep having to tell the program the window style that I want and I have to keep telling the program to show hidden files/folders. I'm looking to save the settings so that it will hold the style and the file/folder setting. Any suggestions?

Share this post


Link to post
Share on other sites

Haven't tested your code but this may be the problem:

Commander\" 

Note that a backslash escapes quotes, so you either need to use two or end the directory without the slash:

7z x "{file}" -o"{root}SyMenu\ProgramFiles\{category}\Multi Commander" -xr!*.ini -r -y

Again, I haven't tried it, but it's worth a shot.

Share this post


Link to post
Share on other sites

That's good enough. Thank you! It still asks me for the window style and I still have to show hidden files/folders manually, but that's because they are saved as xml files in a config folder.

Share this post


Link to post
Share on other sites

What is the context where it's asking you for window style? Is that a Multi Commander setting?

You should be able to make any changes you like directly from Ketarin. I use nircmd to make simple INI changes and a custom VBS to make XML file changes. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.