Re: using console from vb6 app
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
"caver_dave" <caverdave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C343FF97-4F74-4D8C-9EE1-8B2B493009AC@xxxxxxxxxxxxxxxx
I know how to start an application from VB, what I am trying to do is
instead of
using Shell "c:\windows\system32\cmd.exe", vbNormalFocus to open the
console
and then manually inputting the following
cd c:\r4 <enter>
C:\r4>r4 hello<enter>
Is there away to do this so the program runs In the console when you click
the run button?
Put those commands in a batch file and then execute it in your Shell
statement:
Shell "c:\windows\system32\cmd.exe /k rexxeditor.bat", vbNormalFocus
.
Relevant Pages
- Re: Screw Linux, Im going back to Windows!
... so I presume GUI is my best option. ... > or does using the console teach you how things work at a lower level, ... There are lots of reasons why people use shell ... One main reason is to execute shell scripts. ... (comp.os.linux.security) - Re: Screw Linux, Im going back to Windows!
... so I presume GUI is my best option. ... >> or does using the console teach you how things work at a lower level, ... > There are lots of reasons why people use shell ... > One main reason is to execute shell scripts. ... (comp.os.linux.security) - Re: cmdEX.exe - augmenting the existing CMD.EXE
... > It is different from replacement shells, like Take Command or WinOne, ... Replacing the very limited editing features of the existing console ... Not wanting to engineer another shell ... > console app that uses the ReadConsole kernel32 API has this ... (microsoft.public.win2000.cmdprompt.admin) - Re: cmdEX.exe - augmenting the existing CMD.EXE
... > It is different from replacement shells, like Take Command or WinOne, ... Replacing the very limited editing features of the existing console ... Not wanting to engineer another shell ... > console app that uses the ReadConsole kernel32 API has this ... (microsoft.public.win2000.cmdprompt.admin) - Re: console command - why not official in linux etc.
... But I believe the 'windows' ... console has much benefit on linux. ... 'proper' shell, since on linux, most shell use is bash. ... bash shells do not provide tcl completions and syntax coloring. ... (comp.lang.tcl) |
|