how do i pass Switches(commands) to a dos program?
I know a lot oF Vb, expert in C++, and i think in assembly. MSVC++6.NET vb6 masm Windowz Xp I find my self using this a lot in C++ __asm { }
VB Code: Shell "command.com /c dir /a C:\Windows\*.* > C:\Windows.txt", 1
Shell "command.com /c dir /a C:\Windows\*.* > C:\Windows.txt", 1
Doesn't this work? VB Code: Shell "c:\dosprogram.exe /command", vbNormalFocus
Shell "c:\dosprogram.exe /command", vbNormalFocus
looks like I waited a second too long before pressing that submit button..
Forum Rules