Jump to content

Recommended Posts

Posted

Hi

I would like to ask is there any clean way to install auto-it application as service currently i have tried to use ServiceEx.exe this install service successfully but when it start and run in process nothing happens never works properly as it made to work

Posted

simple loop to check local area network connection using

WinInet.dll InternetGetConnectedState

and than check pings for URL and pop up

msgbox

to display IP . Not using any GUI interface in my application.

it install service successfully but when it come run as service it just in process but never works properly

  • Moderators
Posted

Use SrvAny.exe from microsoft

http://support.microsoft.com/kb/137890

Also works on new Windows versions

It should be noted that "new Windows versions" only accounts for up to Windows XP. It does not natively work on WIn7 and above, or Server 2008 and above. There are some hacks floating around technet to get srvany to work on these Operating Systems, but the best bet for these is probably sc.exe.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • 2 weeks later...
Posted

This code for cmd works well in windows 7..

SC Create "service name" binPath= @scriptfullpath start= auto

type SC Create /? for a list of all uses, to parse a parameter you need to have it set out like this with the space

parameter= data

eg: binPath= C:windowsexplorer.exe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...