>Okay. I got the app to launch but the variable is picked up in its literal form. In this case, if I declare lcComputerName (and the debugger IS acknowledging that the user-supplied value for the variable is publicly available) then...
>
>
RUN /N application.exe lcComputerName
>
>...is running exactly as that (error from the launched app is that there is no machine named lcComputerName).
>
>How should I package this so that lcComputerName is properly interpreted to be whatever input the user supplies?
>
>Thanks again...
>
>Alan
With macro substitution - add an ampersand.
RUN /N application.exe &lcComputerName
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)