Visual basic .NET...

I am trying to send a command to the OS that is the same as what would normally be the target line of a windows shortcut icon.

For example:

Target line:

"C:\Program Files\Best\MAS90\HOME\PVXWIN32.EXE" ..\launcher\sota.ini ..\soa\mas90 - ARG ..\SOA\DFDM_LOAD


There must be multiple arguments. If you notice correctly, the above statement shows "..\launcher\sota.ini", then it shows "..\soa\mas90", then I pass a seperate program as an argument.

I have been able to pass the first arguemtn with a shell statement:

dim shell as new shell32..shell

shell.open("c:\program files\best\mas90\home\pvxwin32.exe" ..\launcher\sota.ini

However, I get a file not found error when adding the subsequent "..\soa\mas90" statement. It appears, shell32 can only use one argument.


Does anyone know how to simply call the file | run dialogue off the start menu, or merely pass a command to the OS in .NET? It has to have multiple arguments.

Thanks in advance!
Bob