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? -- Steve Garman Using REALbasic 2005r4 Professional on Windows XP Pro _______________________________________________ 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>
