none
.bat file is not running from Windows service RRS feed

  • Question

  • I am coding in C#. I want run .bat file once i received specific mail but now .bat file is not running through windows services. 
    When i run my program normally in Visual Studio then .bat file is running fine but it is not running through Windows Service. I have handled Exception but it is not giving me exception also. So i am not getting where is the problem.
    I have try different way it is working in normal program but not working for windows service.

    Try below code:

    System.Diagnostics.Process.Start(@"C:\Users\Pankaj.Joshi\Documents\UiPath\Process-1.bat");

    • Moved by Stanly Fan Monday, November 26, 2018 1:49 AM From Winform
    Friday, November 23, 2018 12:11 PM

Answers

All replies