You can specify the default directory using ShellExecute API function.
>Using VB.Net, how can I execute a EXE and set the directory to that EXE's path?
>
>'''This works, but the directory is not set to this EXE's path.
>Dim ProcID As Integer
>ProcID = Shell("""C:\mypath\myexe.EXE""", AppWinStyle.NormalFocus)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only