Can someone please help me. I need to make a small vb app that I can call from a batch or cmd file. The vb app would then pop up a form for some user input and return a string to the batch or cmd file in a variable. Is there any easy way to do this? I know how to do everything I need it to do except return the string to the batch file in a variable.

Any help would be greatly appreciated,
Thanks,
Richard