hi,
i need to run a dos command with parameter and write out on text file from my win form , i am not using shell command and the code is -
Dim sourceName As String = "D:\doc\x\info.txt"
Dim targetName As String = "D:\doc\x\text.txt"
Dim fName As String = "D:\doc\x\md5.exe"
Dim p As New ProcessStartInfo
p.FileName = fName
p.Arguments = targetName & " > " & sourceName
p.WindowStyle = ProcessWindowStyle.Hidden
Process.Start(p)
but this is not working plz suggest me
i need to run a dos command with parameter and write out on text file from my win form , i am not using shell command and the code is -
Dim sourceName As String = "D:\doc\x\info.txt"
Dim targetName As String = "D:\doc\x\text.txt"
Dim fName As String = "D:\doc\x\md5.exe"
Dim p As New ProcessStartInfo
p.FileName = fName
p.Arguments = targetName & " > " & sourceName
p.WindowStyle = ProcessWindowStyle.Hidden
Process.Start(p)
but this is not working plz suggest me