Solved

Run a command as a services

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

Expert Comment

by:AvonWyss
ID: 6922878
Get yourself AnyService or FireDeamon.
0
 

Author Comment

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

Expert Comment

by:AvonWyss
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.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

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

Accepted Solution

by:
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 http://www.firedaemon.com/ and register PING as service. That's it.
0
 
LVL 12

Expert Comment

by:pjknibbs
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.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

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…
While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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