The stuff about the goto's is already said so I won't go there.

First thing I see in the code you posted I see this:

Quote:


....
: product
....





This is in the manual:

Quote:


Labels must be unique within a script or user defined function and cannot contain whitespace characters. Note also that you can define labels inside script segments (for example inside a WHILE – LOOP segment), but you cannot jump to such a label from outside the segment.





What happens when the space is removed from the label?
Can't test on a 98 machine here.

[edit]
And you are missing some quotes at the end of the %comspec% stinger thingy lines.
[/edit]


Edited by Mart (2006-01-09 09:09 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.