I have a program which i want to invoke from windows service.
xsftp.StartInfo = New ProcessStartInfo("c:\stage\psftp.exe", "[email protected] -b c:\stage\script.bat -pw XXX")
xsftp.Start()
The same code works fine if i write in a console application, but from windows service it wont run, i see the psftp is being started in the task manager but it wont do anything..
any ideas ? Thanks! Srin