#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    4
    Rep Power
    0

    Running c# from a batch file


    How do I write a simple batch file that runs a C# project. Does anyone have a tutorial on this? Say a C# project that takes in a bunch of file and print them out that I built in visual studio. Is there a way to automatically run this at a certain time everyday? Thanks
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,113
    Rep Power
    9398
    You wouldn't run the project, you'd run the compiled .exe. And you might not need a batch file because you have the compiled application.

    Windows' Scheduled Tasks is where you want to look.

IMN logo majestic logo threadwatch logo seochat tools logo