Opening two files using VB6 shell command


Thread Starter


Would you please let me know how I can open two files from one application by using shell command?
I want to open Solidworks and open two solidworks files.

Ken Emmons Jr.

I would use your favorite search engine for VB6 shell command. There are loads of resources out there.

In a nutshell though, Solidworks will need to accept two files as parameters of its command line, of which internally it parses with the ArgC, Argv (spelling?? Its been a while...) variables passed into main.

Most applications allow you to pass at least one file that it will recognize, and I am not aware of any standards in this area, it is totally up to the application developers.