pass command line arguments with spaces cmd

The solution for “pass command line arguments with spaces cmd” can be found here. The following code will assist you in solving the problem.

Wrap the whole command line argument between double quotes
for instance
cmd.exe> \”Client Updater.exe\” -i -s Role=\”Test Role\”
this command has Role as 2 words separated by a space.
This can be re-written as
cmd.exe> “\”Client Updater.exe\” -i -s Role=\”Test Role\””

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in