Click here to Skip to main content
15,892,927 members

Comments by Member 15456994 (Top 1 by date)

Member 15456994 6-Dec-21 5:15am View    
I am facing the same issue as this and the above solution is not working for me. When I run my program normally in Visual Studio then .bat file is running but it is not running through Windows Service. I am just calling a simple batch file(to test)which launches a command prompt window. I tried calling .py file in my code and it works fine with windows service too (WHY SO?). Also, when a configure my program.exe as a schedule task , it works fine. But for some reason. .bat file does not triggers from windows service. Seems I am missing something silly here. Pls suggest. @Dave Kreskowiak