Windows 8 and 8.1 Forums


can i create a bat file and run it as a service?

  1. #1


    Posts : 6
    windows 8

    can i create a bat file and run it as a service?


    can i create a bat file and run it as a windows services? can you point me out thanks
    Last edited by kevin2005; 14 Sep 2013 at 15:45.

      My System SpecsSystem Spec

  2. #2


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by kevin2005 View Post
    Can I create a .bat file and run it as a service? Can you help me out ? Thanks.
    Define "service".
      My System SpecsSystem Spec

  3. #3


    Posts : 6
    windows 8


    Quote Originally Posted by David Bailey View Post
    Quote Originally Posted by kevin2005 View Post
    Can I create a .bat file and run it as a service? Can you help me out ? Thanks.
    Define "service".
    I mean " windows services"

    I have some command line that I want it to load with windows instead doing it manually. or even click the bat file every time after windows load.
    Last edited by kevin2005; 14 Sep 2013 at 16:14.
      My System SpecsSystem Spec

  4. #4


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Use Task Scheduler to create a new task to start at startup.
    The new task being the .bat file.
      My System SpecsSystem Spec

  5. #5


    Posts : 1,925
    Windows 8.1 Pro


    A scheduled task is not a Windows Service. Although, since the Task Service is a service, your batch file becomes a child of a service...
      My System SpecsSystem Spec

  6. #6


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by Mystere View Post
    A scheduled task is not a Windows Service. Although, since the Task Service is a service, your batch file becomes a child of a service...
      My System SpecsSystem Spec

  7. #7


    Posts : 1,925
    Windows 8.1 Pro


    It depends on what kevin2005 is actually trying to accomplish, whether or not that will work for him.
      My System SpecsSystem Spec

  8. #8


    Windows has some strict requirements about what a service is. There is more to it than just running at startup. I am not sure that a batch file could be made a service but I doubt it is necessary. Most likely all that is necessary is using Task scheduler to run a batch file at startup.

    A process might be the child of a service but that in itself does not make it a service, at least not in Windows.
      My System SpecsSystem Spec

  9. #9


    United States
    Posts : 3,093
    Windows 8.1 Pro 64-bit


    Don't know if this is any help, but there is this also: BATch to EXE | Free Development software downloads at SourceForge.net
      My System SpecsSystem Spec

  10. #10


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    We're not mind readers, so if he would post back we could get some idea of what he wants to do.
      My System SpecsSystem Spec

Page 1 of 3 123 LastLast
can i create a bat file and run it as a service?
Related Threads
I am currently using ubuntu 14 I installed it to dual boot with windows 8.1 but something went wrong on install and I deleted / corrupted my Windows 8.1 install before I made a recovery disk. Asus say that they cannot send a recovery disk because they only have them available for Windows 8 not...
Hello - It seems Windows 8.1 hates me, and my search indexing service is not running. I have checked services and it shows stopped. When I try to run the service, it says "Windows could not start the Windows Search service on Local Computer. Error 2: The system cannot find the file specified."...
How to Create and Attach a VHD or VHDX File in Windows 8 This tutorial will show you how to create a fixed or dynamically expanding VHD or VHDX file any size you like saved to where you like, and to attach/mount it as a drive in the Computer window for all users in Windows 8. You must be...
Since 2 days ago I've noticed that I cannot create a new folder with File Explorer by any way possible. Using the taskbar or the SHIFT + Ctrl + N. Even when saving projects with Save File as... and trying to use the "New Folder" text string button does not create any folder. Using CMD prompt or...
Any free software which does the trick - create an ISO files from the files on a CD? Basically, reverse of burning. I'm on Windows 8
Hi, I have win8 Enterprise. when i connection to internet two service with names service host: Network service and service host: local system download automatically, i thought that it relate to windows update but automatic update is off and my windows is up to date. what is the problem? what can i...
Unable To CREATE THE OS FILE! in Installation & Setup
I just bought the Window 8 Pro yesterday. In the Window 8 upgrade assistant, I choose the '' Install by creating media'' > '' IOS File'' . After saving the download location, theres a message saying '' WE COULD'NT CREATE THE IOS'' The message told me to restart the setup and try again, which I did...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook