scheduled task to back up development folder

  • Thread starter Thread starter Richard Otter
  • Start date Start date
R

Richard Otter

I have written a simple scheduled task to copy files with the archive bit
set from my development directory to another folder. (I hit the wrong button
on a SourceSafe get and almost lost work.)

It runs every 10 minutes during the day. Great. However, when it runs, it
briefly pops up a command line window. Right now, it feels reassuring. By
tomorrow, it will be annoying.

How can I run my xcopy command without the pop up?

Thanks,
Richard
 
That worked.

I started with a win32 blank app and removed the code that created a main
window.
I did a cretaeprocess with the no window param and set the command line to
the name of my command file. (devBU.cmd)

I was hoping that there was a way of launching via scheduled task, something
already in the Windows system that would take a command line and do it
without displaying a window.
 
Back
Top