I am calling a .bat file from Vb.net Program. I kept .bat file in my Project folder\ShellScript\fileUpl
I have an issue with System.Diagnostics.Process
.Start Syntax. This syntax goes to C:\Windows\System32\ - Folder.
I have to call an .exe ( sfxcl.exe ). This is located in C:\Program Files (x86)\VanDyke Software\Clients
.Start will not go directly to .exe ?? I can execute the .bat file from any drive. I have run the .bat file from D drive.
Dim sBatchfilePath As String = String.Empty
sBatchfilePath = AppDomain.CurrentDomain.BaseDirectory
sBatchfilePath = sBatchfilePath.Replace("\bin\Debug", "\ShellScript")
sBatchfilePath = sBatchfilePath & "fileUpload.bat"