scheduled task to back up development folder

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
 
R

Richard Otter

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.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top