July 30, 201016 yr Hi, this is an awesome tool, thanks so much. Is it possible to add a // comment in the cmds[pn] line, such as:cmds[pn]=['"%wpipath%\\Install\\Logitech Quickcam\\Setup.exe" /q /noqclaunch /p /s','sc config LVPrcSrv start= disabled // Disable Logitech service due to pending reboot problem'];Would this syntax be compatible with the program?TIA.
July 30, 201016 yr I have to ask:What is the purpose of the comment? You would only be able to see it if you manually are editing the config file, which isn't recommended anyways.
July 30, 201016 yr Author I have to ask:What is the purpose of the comment? You would only be able to see it if you manually are editing the config file, which isn't recommended anyways.That does not seem to be true, I just checked and I definitely can see the comment in the GUI. Also, I do read the config file directly sometimes as it is quicker that opening up the GUI if I just want to quickly check a command I have entered.
July 30, 201016 yr Author Also the comment helps me remember the purpose of a command I add which can be a help.
July 30, 201016 yr OK just ran a quick test and added "This is a quick test" to the the end of a cmd (Including quotes)It displayed just fine.Doesn't seem to cause any problems. Edited July 30, 201016 yr by Kelsenellenelvian
July 30, 201016 yr Author OK just ran a quick test and added "This is a quick test" to the the end of a cmd (Including quotes)It displayed just fine.Doesn't seem to cause any problems.Thanks a lot for the reply.When you say it was including quotes, was it:...[cmd]... // "This is a quick test"I don't think the quotes would be necessary would they (assuming this is the same syntax as for a javascript comment)?
July 30, 201016 yr "%wpipath%\Install\Ccleaner" /s "This is a quick test"I added the quotes for complete-ness. It just seemed right.
July 30, 201016 yr Author OK thanks, and FYI I tested the following:"%wpipath%\Install\Ccleaner" /s // This is a quick testThis worked fine too.
July 30, 201016 yr I am not endorsing the use of it, but to whatever program you use it with it will look like a command line arg. If the program is finicky it may fail and not run because of a wrong arg value.
July 31, 201016 yr Author I am not endorsing the use of it, but to whatever program you use it with it will look like a command line arg. If the program is finicky it may fail and not run because of a wrong arg value.Thanks, I was thinking of javascript comments but I just remembered that these are passed to cmd.exe I think, so as you say they would look like a command line argument. I'd better not use them then.
Create an account or sign in to comment