I wrote:
> For %%X in (BILL Bill bill) DO if "%1=="%%X" goto Bill
> For %%X in (JILL Jill jill) DO if "%1=="%%X" goto Jill
It helps (a lot) to have equal numbers of symmetrically positioned " marks.
so the above should be:
For %%X in (BILL Bill bill) DO if "%1"=="%%X" goto Bill
For %%X in (JILL Jill jill) DO if "%1"=="%%X" goto Jill
or
For %%X in (BILL Bill bill) DO if "%1=="%%X goto Bill
For %%X in (JILL Jill jill) DO if "%1=="%%X goto Jill
Sorry. Once again, enthusiasm overcomes accuracy.:(
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
--