1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Command line - AT command problem

Discussion in 'Windows XP' started by watashi, 2005/09/26.

  1. 2005/09/26
    watashi

    watashi Inactive Thread Starter

    Joined:
    2005/09/26
    Messages:
    1
    Likes Received:
    0
    Two parter.

    I want to use the AT command as an alarm clock. I'm aware there are other options; I want to know how to use this one. My path and so on are set so that the command line command "mplayerc c:\mpc\eternity.mp3" does indeed start that song playing. However, when I tried typing "at 11:37 /interactive mplayerc c:\mpc\eternity.mp3 ", at 11:37, nothing happened, and when I checked task status, it said "error ".

    So.

    1. How do I figure out what that error was?

    2. How do I correct my command usage so that it works?
     
  2. 2005/09/26
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    Did you read somewhere that said you can use the at time command? If so, do you have a url to it?
     

  3. to hide this advert.

  4. 2005/09/26
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    I haven't played with AT on XP since the task scheduler seems easier to me but if you have Schedule service running I don't see why that string wouldn't work with a very minor change although I think I would include the complete path to the .exe along with it's full name including extension.

    You posted that you tried
    "at 11:37 /interactive mplayerc c:\mpc\eternity.mp3 "

    It probably should be
    AT 11:37 /interactive "mplayerc c:\mpc\eternity.mp3 "

    If you still get an error, start->run->eventvwr.msc and check the event logs for more detail on the failure.
     
    Newt,
    #3
  5. 2005/09/26
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Last edited: 2005/09/26
  6. 2005/09/27
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    It's inconsiderate of MS to not tell you that SCHTASKS.EXE is not available in the HOME edition. I don't find it on the MS site for download either. It is available for download from other obscure Internet sources however.


    That aside, my suggestion for your command line would be:

    at 11:37 /interactive cmd /c mplayerc c:\mpc\eternity.mp3

    the cmd /c must be added prior to issuing the command since you are running a non-executable file.

    Good luck.
     
    Last edited: 2005/09/27

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.