Guest hein bloed Posted December 16, 2006 Posted December 16, 2006 Hi, having the following program to reproduce: ConsoleWrite($CmdLine[1] & @CRLF & $CmdLineRaw) Calling it two parameters set, the password contains 2xinverted commas: password"" username gives this output: password /ErrorStdOut "Z:\Documents and Settings\tgdlopa3\Desktop\testtesttest.au3" password"" username Calling it two parameters set, the password contains 1xinverted commas:: password" username gives this output: password" username /ErrorStdOut "Z:\Documents and Settings\tgdlopa3\Desktop\testtesttest.au3" password" username Calling it two parameters set, the password contains 3xinverted commas:: password"1"2"3 username gives this output: password12"3 username /ErrorStdOut "Z:\Documents and Settings\tgdlopa3\Desktop\testtesttest.au3" password"1"2"3 username Calling it two parameters set, the password contains 4xinverted commas:: password"1"2"3" username gives this output: password123 /ErrorStdOut "Z:\Documents and Settings\tgdlopa3\Desktop\testtesttest.au3" password"1"2"3" username The help file reads: A parameter that contains spaces must be surrounded by "double quotes". Compiled scripts accept command line parameters in the same way. Well, this explains why it's not possible to use parameters that contain "double quotes". Maybe shift thios topic to "not a bug" or maybe add a line the the help file. Just opened the topic because I couldn't find a similar topic in the forum.
Developers Jos Posted December 16, 2006 Developers Posted December 16, 2006 It is possible to have Double quotes but you will have to lexer the commandline yourself by using $cmdlineraw. Not a BUG ... Moved to support as suggested .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now