Choose your language

Choose your login

Support

How can we help?

PaperCut's AI-generated content is continually improving, but it may still contain errors. Please verify as needed.

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

* PaperCut is constantly working to improve the accuracy and quality of our AI-generated content. However, there may still be errors or inaccuracies, we appreciate your understanding and encourage verification when needed.

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

Contents

Using "start" with parameters gives error "invalid switch"

THE PAGE APPLIES TO:

Contents

Quite often our customers will want to use “start” in a batch file to start the PaperCut User Client or perhaps perform an Automated & Silent PaperCut Secondary Server installation.

If the path to your file includes a space you will need to enclose it in quotes such as:

start “C:\Path To Installer\pcng-setup-12.1.16778.exe”

However, if you wish to pass parameters to the setup file, you may try this first time:

start “C:\Path To Installer\pcng-setup-12.1.16778.exe” /type=secondary_print /silent

Which returns the error "Invalid switch - "/type=secondary_print".

This can be resolved by adding an additional parameter specifically for start, namely a “title”.

start “PaperCut” “C:\Path To Installer\pcng-setup-12.1.16778.exe” /type=secondary_print /silent

Categories: Troubleshooting Articles , Installing, Uninstalling and Migrating


Keywords:

Comments

Last updated June 13, 2024