Search found 8 matches

by jpalik
01 Feb 2016 12:41
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

Hello John

The miscommunication here is that I did understand that a cmd was considered a batch.

When I called it, it worked.

Thank you for your patience.

Jim
by jpalik
01 Feb 2016 12:14
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

Hello I am back Everyone talks about a second batch file. there is no second batch file. This is the only batch file. The purpose of the batch file is 1. to create an empty file that shows the drive was backed up. 2. run the backup routine (which is a cmd file) 3 create another empty file that shows...
by jpalik
01 Feb 2016 10:10
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

I did what you suggested. See the following code. ECHO CD /d C:\Lightroom-Catalog RD "$LAST BACKED UP" MD "$LAST BACKED UP" CD /d D:\ RD "$LAST BACKED UP" MD "$LAST BACKED UP" CD D:\00-Backup-JFileSync LightroomCatalogBackupC-D.cmd Echo Jfile sync finished Pau...
by jpalik
01 Feb 2016 09:53
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

To answer your question about the jfilesync routine exiting, I opened task manager to monitor what was happening. 1. The batch file opened. 2. The jfilesync backup routine opened 3. When the backup finished the jfile sync closed 3. the batch file remained open. The backup jfilesync routine is closin...
by jpalik
01 Feb 2016 09:38
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

I'm sorry, I did not answer your full question. Yes, the cmd runs correctly as a stand alone. It also runs correctly in the batch file. It is the remaining part of the batch file that is not executed. Even if I used CALL commands after the file was finished they would probably not be executed. Howev...
by jpalik
01 Feb 2016 09:24
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

I use a command line backup program called jfilesync. the program allows me to create custom backup routines with user defined names. each routine is a cmd file. LightroomCatalogBackupC-D.cmd it the file name of the custom backup file. The ultimate goal is to create a set of backup routines in a sin...
by jpalik
01 Feb 2016 09:13
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Re: Start /w does not continue

Thank you for your help. I just rewrote an new file to test without START. It runs but does not continue the batch file when the executable (LightroomCatalogBackupC-D) was finished. The last RD and MD were not written. everything else worked. See the code below. CD /d C:\Lightroom-Catalog RD "$...
by jpalik
01 Feb 2016 08:07
Forum: DOS Batch Forum
Topic: Start /w does not continue
Replies: 18
Views: 16908

Start /w does not continue

I am not a programmer, however I am a technical writer and understand "some" code. I am running a simple batch file that uses START /w to start a cmd file. It is important that the file finished before it continues executing the batch file. Start /w stops the batch file from continuing but...