Could someone possible tell me why this program does not set %user% as "first or second"? It simply makes %user% either bu1 or bu2, but wont resolve them. Thanks so much!
1. set bu1=first
You need to first enable delayed expansion of variables. Then you need to use exclamation mark on the outer variable. See example below.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
27 Users Online
Copyright © 1996 - 2021. All Rights Reserved.