I've two command prompt windows as follow,
- Administrator:Command Prompt -- Opened manually
--
- Administrator:C:\Windows\System32\cmd.exe -- open by C# code (Process.Start)
I'm trying to execute svn command, i.e consider svn update
command.
This command executed successfully in the 1st cmd, which I opened manually. But the same command does not executing in the 2nd cmd window, which is opened by C# code.
Giving the error as "svn" is not recognized as internal or external command
I want this to trigger from code. Checked path variables. Created a bat file to execute commands. The same error remains, executing the bat manually works while from code doesn't.
Why the cmd acts differently?