J
jcrouse
I am trying to run a command from a command prompt using the shell command.
Here is the syntax I want to execute:
Shell(lblMameExePath.Text & " -listinfo >" & Application.StartupPath &
"\MameGames.cfg", AppWinStyle.NormalFocus, True)
The problem is that the parameter Application.StartupPath has spaces
(C:\Program Files, for instance) and won't execute from a command prompt
without being incased in quotes. I can't figure out the proper syntax with
my quotes.
Help,
John
Here is the syntax I want to execute:
Shell(lblMameExePath.Text & " -listinfo >" & Application.StartupPath &
"\MameGames.cfg", AppWinStyle.NormalFocus, True)
The problem is that the parameter Application.StartupPath has spaces
(C:\Program Files, for instance) and won't execute from a command prompt
without being incased in quotes. I can't figure out the proper syntax with
my quotes.
Help,
John