Setdate
  • Caterpillar
    Caterpillar
    ShInKurO
    Posts: 36 from 2008/5/30
    Hi,

    on OS4 I write:

    setdate ram:NOWinED/#? ALL QUIET

    On MorphOS3.1 I've this error:

    SetDate failed: Invalid WEEKDAY, DATE or TIME string!


    mos bug or different kind of sintax?
  • »14.08.12 - 10:21
    Profile Visit Website
  • MorphOS Developer
    geit
    Posts: 921 from 2004/9/23
    as SetDate ? reveals there is no QUIET option.

    FILE/A,WEEKDAY,DATE,TIME,ALL/S

    So on MorphOS the strng QUIET is handled as the weekday option, which of cause is not valid.

    In your case just use:

    setdate ram:NOWinED/#? ALL >NIL:

    Geit
  • »14.08.12 - 10:36
    Profile