Advertisement

08.26.2003 at 03:35PM PDT, ID: 20720861
[x]
Attachment Details

Close dos window when batch file has completed

Asked by jpkeller55 in MS DOS

Tags: dos

I am running the batch file below to copy a database file for backup purposes. This batch file runs automatically on a daily basis using the Windows TASKMANAGER.  I cannot get the dos window to close after the batch file is complete. I have seen several postings with the same question but not in conjunction with scheduler like TASKMANAGER.  thanks for your help!


xcopy c:\rxsche~1\pharma~1.mdb w:\backups
cls
exitStart Free Trial
 
Loading Advertisement...
 
[+][-]08.26.2003 at 04:02PM PDT, ID: 9228397

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS DOS
Tags: dos
Sign Up Now!
Solution Provided By: spiderfix
Participating Experts: 3
Solution Grade: A
 
 
[+][-]08.26.2003 at 07:00PM PDT, ID: 9229195

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2003 at 07:04PM PDT, ID: 9229209

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.27.2003 at 07:17AM PDT, ID: 9232561

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.27.2003 at 07:22AM PDT, ID: 9232607

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32