Results 1 to 7 of 7

Thread: AutoRun

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    137

    Arrow

    Hi all,

    Me again, I have a question about Auto running an app I have written.

    I would like the app to execute it self without having to leave it running overnight.

    I am using NT4 and have looked at Services, However I don't know how to add my app as a service.

    Someone has menthioned the MS DOS cmd 'at'. If there is an alternative and if you would not mind posting it, that would be great.

    Thanks in advance
    join me in the platinum

  2. #2
    Junior Member
    Join Date
    Dec 2000
    Posts
    18

    Autorun

    Hi!
    If I'm not mistaken, with NT4 installation there's a nifty app called the Scheduler. Perfect for starting apps att any given time.

    greets
    Jeppe

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    137
    But how would I add my service\app to it???

    Thanks for your previous reply
    join me in the platinum

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    Rocks, jux take a look on this Thread will do.

  5. #5
    Junior Member
    Join Date
    Dec 2000
    Posts
    18

    autorun

    Hi again!

    First of all the service Schedule must be running.
    Second you must be logged in as a member of the admin group.

    Now, at the command prompt type (without the brackets]:

    at HH:MM [path and filename of file to run]

    Computer answers that a new scheduled task has been added and its ID. To find out more on the at command type "at ?".

    Note that this will run as background process e.g. produce no visual output.

    Best of luck
    Jeppe

  6. #6
    Hyperactive Member D12Bit's Avatar
    Join Date
    Oct 2000
    Location
    Guatemala
    Posts
    373

    Smile

    Here you can go...

    http://vbwire.com/advanced/howto/service.asp

    hope it helps..

    Saludos...
    "Who Dares Wins" - "Quien se Arriesga Gana"
    Mail me at:

  7. #7
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: autorun

    Originally posted by jeppe
    Now, at the command prompt type (without the brackets]:

    at HH:MM [path and filename of file to run]

    Computer answers that a new scheduled task has been added and its ID. To find out more on the at command type "at ?".

    Note that this will run as background process e.g. produce no visual output.
    If you use the AT command and want it to have a visual output then use the interactive switch like this:

    AT 16:00 /interactive /every:M,T,W,Th,F,S,Su c:\mypath\myprogram.exe

    Remember that the time must be in the 24h form and that the hour and minutes must be separated by a colon whatever regional settings you have.

    Best regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width