james_hayhurst
12 years agoNew Contributor
Command line /cl option and spaces
Having some trouble with running AQtime from the command line.
I need to specify some command line options to the program I am going to profile. In order to do this the documetion says I should use the /cl:"[options]" flag.
This works fine except for when I try to pass options with spaces. The documentation says that if you wish to pass options with spaces then you should suround them with single quote characters. When I do this and run AQtime the program to be profiled still has the single quote characters in its command line I was expecing AQTime to replace the single quotes with double quotes.
I guess I'm doing something wrong as can't find any other complaints about this. Can anyone point me in the right direction
My command line to AQTime is:
"C:\Program Files (x86)\SmartBear\AQtime 7\Bin\AQtime.exe" "D:\AQ_V.aqt" /SilentMode /e /sr:"case 10-1800-150.aqr" /cl:"'run=D:\SVN\newSmallCRs\shapesData\M\tests\V\10\case 10-1800-150.vbs' 'FEACWD=D:\SVN\newSmallCRs\shapesData\M\tests\V\10' 'SESSION=case 10-1800-150' LICNAM=[SENTINELLM,feasql,10569] INTERACT=NO SKIPSCRIPTS=YES 'CHECKOUTDIR=D:\SVN\newSmallCRs' 'SCRIPTS_INCLUDE=D:\SVN\newSmallCRs\code\scripts' 'EXAMPLES=D:\m\examples' 'QA_INCLUDE=D:\SVN\newSmallCRs\shapesData\m' QAOPTIONS=31742" /r
The command line to the executing program is:
"D:\SVN\NewSmallCrs\code\bin\Release_Win32\M.exe" 'run=D:\SVN\newSmallCRs\shapesData\M\tests\V\10\case 10-1800-150.vbs' 'FEACWD=D:\SVN\newSmallCRs\shapesData\M\tests\V\10' 'SESSION=case 10-1800-150' INTERACT=NO SKIPSCRIPTS=YES 'CHECKOUTDIR=D:\SVN\newSmallCRs' 'SCRIPTS_INCLUDE=D:\SVN\newSmallCRs\code\scripts' 'EXAMPLES=D:\m\examples' 'QA_INCLUDE=D:\SVN\newSmallCRs\shapesData\m' QAOPTIONS=31742
Cheers
James
I need to specify some command line options to the program I am going to profile. In order to do this the documetion says I should use the /cl:"[options]" flag.
This works fine except for when I try to pass options with spaces. The documentation says that if you wish to pass options with spaces then you should suround them with single quote characters. When I do this and run AQtime the program to be profiled still has the single quote characters in its command line I was expecing AQTime to replace the single quotes with double quotes.
I guess I'm doing something wrong as can't find any other complaints about this. Can anyone point me in the right direction
My command line to AQTime is:
"C:\Program Files (x86)\SmartBear\AQtime 7\Bin\AQtime.exe" "D:\AQ_V.aqt" /SilentMode /e /sr:"case 10-1800-150.aqr" /cl:"'run=D:\SVN\newSmallCRs\shapesData\M\tests\V\10\case 10-1800-150.vbs' 'FEACWD=D:\SVN\newSmallCRs\shapesData\M\tests\V\10' 'SESSION=case 10-1800-150' LICNAM=[SENTINELLM,feasql,10569] INTERACT=NO SKIPSCRIPTS=YES 'CHECKOUTDIR=D:\SVN\newSmallCRs' 'SCRIPTS_INCLUDE=D:\SVN\newSmallCRs\code\scripts' 'EXAMPLES=D:\m\examples' 'QA_INCLUDE=D:\SVN\newSmallCRs\shapesData\m' QAOPTIONS=31742" /r
The command line to the executing program is:
"D:\SVN\NewSmallCrs\code\bin\Release_Win32\M.exe" 'run=D:\SVN\newSmallCRs\shapesData\M\tests\V\10\case 10-1800-150.vbs' 'FEACWD=D:\SVN\newSmallCRs\shapesData\M\tests\V\10' 'SESSION=case 10-1800-150' INTERACT=NO SKIPSCRIPTS=YES 'CHECKOUTDIR=D:\SVN\newSmallCRs' 'SCRIPTS_INCLUDE=D:\SVN\newSmallCRs\code\scripts' 'EXAMPLES=D:\m\examples' 'QA_INCLUDE=D:\SVN\newSmallCRs\shapesData\m' QAOPTIONS=31742
Cheers
James