Scripting issue regarding commands with parameters
I have a need to set the timezone on WES7 clients, and created a little script to do so.
Unfortunately, I am running into quoting issues.
The command is very simple: tzutil /s "Eastern Standard Time"
The EX command should be able to handle this, but the command itself needs to be quoted, and then you would end up with embedded quotes:
EX "tzutil /s "Eastern Standard Time""
This doesn't work. The documentation doesn't cover this scenario or discuss escaping quotes. Do I have to create a batch file that I XC over first or is there a workaround?