Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #1062
| From | Herbert Kleebauer <klee@unibwm.de> |
|---|---|
| Newsgroups | comp.os.msdos.programmer |
| Subject | Re: Batch file replaceable parameters |
| Date | 2013-11-14 09:39 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <l622d8$j6f$1@speranza.aioe.org> (permalink) |
| References | <l61eus$cmi$1@speranza.aioe.org> |
On 14.11.2013 04:09, Ed wrote: > Is it possible to pass the following string as a replaceable parameter in a Batch file? > > STUFF=8 > > Batch appears to treat = as a delimiter and the result is two parameters - "STUFF" and "8". > Is there any way to circumvent this? if [%1]==[stuff] set stuff=%2 if [%1]==[stuff] shift
Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-14 14:09 +1100
Re: Batch file replaceable parameters Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2013-11-14 05:18 +0100
Re: Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-14 15:35 +1100
Re: Batch file replaceable parameters pete@nospam.demon.co.uk - 2013-11-14 07:30 +0000
Re: Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-14 19:19 +1100
Re: Batch file replaceable parameters "R.Wieser" <address@not.available> - 2013-11-18 10:53 +0100
Re: Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-19 20:00 +1100
Re: Batch file replaceable parameters "R.Wieser" <address@not.available> - 2013-11-19 19:31 +0100
Re: Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-21 23:07 +1100
Re: Batch file replaceable parameters "R.Wieser" <address@not.available> - 2013-11-21 17:39 +0100
Re: Batch file replaceable parameters Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2013-11-18 11:48 +0100
Re: Batch file replaceable parameters pete@nospam.demon.co.uk - 2013-11-18 20:19 +0000
Re: Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-19 20:02 +1100
Re: Batch file replaceable parameters Herbert Kleebauer <klee@unibwm.de> - 2013-11-14 09:39 +0100
Re: Batch file replaceable parameters "Ed" <invalid@invalid.com> - 2013-11-17 12:41 +1100
csiph-web