Run a command as a services

Posted on 2002-04-06
Last Modified: 2010-04-13
How can I run a batch file as a services?
Question by:kennycpu
  • 3
  • 2
LVL 14

Expert Comment

ID: 6922878
Get yourself AnyService or FireDeamon.

Author Comment

ID: 6923706
I want to run ping as a services.
LVL 14

Expert Comment

ID: 6923721
Huh? What are you trying to do? PING is a diagnostics application. Why would you want to have it running as service? This doesn't make sense.
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.


Author Comment

ID: 6923724
I want to ping a host non-stop.
LVL 14

Accepted Solution

AvonWyss earned 30 total points
ID: 6923728
Ah, well. Don't really see why that would be of any use, but who cares. Download FireDaemon from and register PING as service. That's it.
LVL 12

Expert Comment

ID: 6923959
Alternatively, put PING in a batch file and use Task Scheduler to make it run as soon as the computer starts up. This is quick and easy; only disadvantage is that there's no way to tell if the program is still running short of using Task Manager. However, PING is fairly unlikely to crash on you, so this ought to be OK.

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Migrate DFS role 3 853
Group Policy 9 559
Norton Ghost for Windows NT 5 1,474
WMI Uptime Script Reporting Incorrect Number on W2k Server 16 768
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question