title: C# Winform app GUI is not showing run as scheduled task using .BAT file
body: <p>I have created a winform app for sending bulk emails. I have scheduled this app using a .BAT file. The app is running as per the schedule and sending emails, but it is not showing the GUI. </p>
  
  <p>When I search I found this link <a href="https://stackoverflow.com/questions/5793771/winforms-app-as-scheduled-task">Winforms app as Scheduled task</a>, As per that I have confirmed that I am using the same user account for scheduling the task and login into the machine. When I double click on the .BAT file, the app is running by showing the GUI. Does anybody knows what is the issue. Here is the content in my .BAT file. </p>
  
  <pre><code>c:
  
  cd\
  
  cd ABC
  
  sendMailApp.exe
  </code></pre>