Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch advice  (Read 2164 times)

0 Members and 1 Guest are viewing this topic.

neoztd

  • Guest
Batch advice
« on: March 10, 2007, 08:20:54 AM »
I have windows xp home and windows xp pro.

Could someone please tell me how i can use a batch script to
run a program at a certain time or date?

For example lets say i wanted notepad.exe to run tomorrow at 1pm how would i do this using batch?.

Also how can i copy folders which have files in from one place to another?.

Carbon Dudeoxide

  • Global Moderator

  • Mastermind
  • Thanked: 169
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Experience: Guru
  • OS: Mac OS
Re: Batch advice
« Reply #1 on: March 10, 2007, 08:33:33 AM »
@echo off
start [pathtofile].exe
exit

Put that in Task Scheduler in the Start Menu --> All programs --> Accessories --> System tools and tell it to start at 1pm

neoztd

  • Guest
Re: Batch advice
« Reply #2 on: March 10, 2007, 08:42:18 AM »
Quote
@echo off
start [pathtofile].exe
exit

Put that in Task Scheduler in the Start Menu --> All programs --> Accessories --> System tools and tell it to start at 1pm

Is there a way using batch scripts to add it in to the task scheduler ?

Lets say i save the following as start.bat
Quote
@echo off
start [pathtofile].exe
exit

Then could i use a script to program the task scheduler to start the start.bat at a certain time/date

I am trying to do this without me having to do any user input at all.