Jump to content

planning with batch file

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
frysay

frysay

    Newbie

  • Members
  • Pip
  • 3 posts
Hi! I am an computer science student at the first year. I have a problem to program
a batch file to planning the start of another batch file every day. as an example of what I need I write below a similar test:

at 13:00 /every:L,M,ME,G,V,S,D cmd /c start setup.bat

#2
frysay

frysay

    Newbie

  • Members
  • Pip
  • 3 posts
after that I execute the file; so I see this:

Posted Image

but at 13 o'clock nothing appends.

then I try in this way, because may be something appends:

at 10:54 /interactive /every:L,M,ME,G,V,S,D cmd /c start setup.bat

after that I execute the file; I see a similar thing. but at 13 o'clock it opens this:

Posted Image

I don't know what this want to say.

thanks anticipate for your help!

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Can you show us the contents of your first batch file?

#4
frysay

frysay

    Newbie

  • Members
  • Pip
  • 3 posts
thank you for your answer first of all.

the contents of the first batch is:

at 10:00 cmd /c if not exist "C:\WINDOWS\system\setup.bat" xcopy "C:\Documents and Settings\media\Documenti\setup.bat" "C:\WINDOWS\system"

and the contents of the setup.bat is:

start "C:\Documents and Settings\media\Documenti\picture.jpg"

I don't know why the batch doesn't work.