Thank you so much for your help....

You see I need to ask the user for a webURL and send this reply as an argument to one of the options. Is that still possible in RB? I think it might make it less suitable to use a .bat or .cmd file, right?
regards/falke


Steve Garman wrote:

In a message regarding How to start a DOS-program with arguments? dated
Thu, 29 Dec 2005 19:55:27 +0100, Bengt Falke said that ...

I am a total newbie so please forgive me if I am stupid..... ;o)

I have this DOS-program that I normally start from the cmd-prompt . Is it possible to encapsulate this call and some options, inside a RB-program so I can store it on my desktop as an icon?

Yes it is, you can use shell.

 dim sh As new Shell
 sh.Execute "dir /S/O:E/Q C:\ > C:\dirtest.txt"

But judging by your description it doesn't really sound like you need a
program at all.

Have you considered creating a .bat or .cmd batch file?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to