Search found 3 matches

by jpfulton248
07 Dec 2018 10:08
Forum: DOS Batch Forum
Topic: Getting "The syntax of the command is incorrect" error when running batch
Replies: 2
Views: 473

Re: Getting "The syntax of the command is incorrect" error when running batch

Suddenly working again now. Very frustrating. I'll keep my eye on it and report back.
by jpfulton248
07 Dec 2018 08:29
Forum: DOS Batch Forum
Topic: Getting "The syntax of the command is incorrect" error when running batch
Replies: 2
Views: 473

Getting "The syntax of the command is incorrect" error when running batch

I have a batch file that I believe was previously working (and it currently works on a different computer). When I run it I get the following error: "The syntax of the command is incorrect". Any help much appreciated. @echo off set hr=%time:~0,2% if exist "Archive*.tib" ( if "%hr:~0,1%" equ " " set ...
by jpfulton248
20 Nov 2018 07:48
Forum: DOS Batch Forum
Topic: Post-Backup Batch File to Rename Backup FIles
Replies: 1
Views: 380

Post-Backup Batch File to Rename Backup FIles

I currently have a batch file that runs each time a backup finishes. The software (Acronis) triggers the batch file to run as a Post-Command. The job of the batch file is to rename the backup file and add the current date/time timestamp. The directory that holds the backup files usually has about 7 ...