Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #12096
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: Trick to know whether a command line parameter is quoted or not? |
| Date | 2019-04-21 15:34 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <q9hrh9$1l46$1@gioia.aioe.org> (permalink) |
| References | <14dzse2vcwse3.2bqofza8ospq$.dlg@40tude.net> |
JJ, > In this case, the meaning of parameter #2 would be different > from the program because it's not double-quoted. I'm assuming you ment #0 there ... > So, I can't pass it to the program as is. Why not ? It /is/ a string in VBScript. Could it be regarded as anything else ? You could get into trouble with an argument like "123" (including the double-quotes this time), as its would be a number without those double-quotes, but now a string instead. In this case (number/string confusion) you could try and see if the 'vartype' or 'typename' functions could be of help. And maybe also take a peek at named arguments (the "/x:y" form) Regards, Rudy Wieser
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trick to know whether a command line parameter is quoted or not? JJ <jj4public@vfemail.net> - 2019-04-21 19:17 +0700
Re: Trick to know whether a command line parameter is quoted or not? "R.Wieser" <address@not.available> - 2019-04-21 15:34 +0200
Re: Trick to know whether a command line parameter is quoted or not? "R.Wieser" <address@not.available> - 2019-04-21 15:39 +0200
Re: Trick to know whether a command line parameter is quoted or not? JJ <jj4public@vfemail.net> - 2019-04-22 19:07 +0700
Re: Trick to know whether a command line parameter is quoted or not? "R.Wieser" <address@not.available> - 2019-04-22 15:37 +0200
Re: Trick to know whether a command line parameter is quoted or not? JJ <jj4public@vfemail.net> - 2019-04-23 22:51 +0700
Re: Trick to know whether a command line parameter is quoted or not? "Mayayana" <mayayana@invalid.nospam> - 2019-04-21 10:09 -0400
Re: Trick to know whether a command line parameter is quoted or not? JJ <jj4public@vfemail.net> - 2019-04-22 19:08 +0700
Re: Trick to know whether a command line parameter is quoted or not? "Mayayana" <mayayana@invalid.nospam> - 2019-04-22 08:53 -0400
csiph-web