V
Vlad
I am trying to run the dos command "rename C:\Temp\MyTest1.txt
MyTest2.txt" from VB.net - to use the shell command I have found I
have to use a bat file otherwise I get an "The system cannot find the
file specified" error.
I am trying to use
Dim MyProcess As New ProcessStartInfo
MyProcess.FileName = "ren"
MyProcess.Arguments = "C:\Temp\MyTest1.txt MyTest2.txt"
Process.Start(MyProcess)
but I still get the error "The system cannot find the file specified"
How do I run a dos command with parameters from VB.Net
TIA
Andy
MyTest2.txt" from VB.net - to use the shell command I have found I
have to use a bat file otherwise I get an "The system cannot find the
file specified" error.
I am trying to use
Dim MyProcess As New ProcessStartInfo
MyProcess.FileName = "ren"
MyProcess.Arguments = "C:\Temp\MyTest1.txt MyTest2.txt"
Process.Start(MyProcess)
but I still get the error "The system cannot find the file specified"
How do I run a dos command with parameters from VB.Net
TIA
Andy