task scheduler tâches

Discussion in 'Microsoft Windows 2000 CMD Promt' started by j4e8a16n, Jan 31, 2013.

  1. j4e8a16n

    j4e8a16n Guest


    Thiscode works nicely:
    call z-last-DATE.cmd
    set /A _ww=%date%
    set /A _xx=%_ww% - %_dd%
    @echo %_xx%
    set /A _DD=%_xx%*-1
    set /A _D=%_DD%+1
    @echo .
    @echo .
    @echo %_D%

    except if I call the cmd file from the task scheduler. In wich case I have a prompt about missing parameters. I think the cmd extension are not on with the task scheduler. Maybe that is the problem.

    Thanks for your attention.

    j4e8a16n, Jan 31, 2013
    1. Advertisements

  2. j4e8a16n

    j4e8a16n Guest

    Thank you in z-later there was : set /A _dd=2013-01-26

    Le jeudi 31 janvier 2013 06:59:26 UTC-5, j4e8a16n a écrit :
    j4e8a16n, Jan 31, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.