Search found 10 matches

by colmac
04 Feb 2021 04:11
Forum: DOS Batch Forum
Topic: rename failure
Replies: 3
Views: 4234

Re: rename failure

It is so simple when someone that knows what they are talking about explains it!

I looked at that for ages, I googled lots of things. And then someone helps.

Thank you very much.
by colmac
03 Feb 2021 14:42
Forum: DOS Batch Forum
Topic: rename failure
Replies: 3
Views: 4234

rename failure

Hi can anyone tell me why this command does not work rename "\\Bon2\D\LR Safe-Bon2\*.*" "\\Bon2\D\LR Safe-Bon2\FH - %fstamp%.*" It gets rejected as the Syntax of the command is incorrect. The paths shown are correct, and the variable fstamp shows correctly when Echo is used. But in any even it says ...
by colmac
03 Feb 2021 09:42
Forum: DOS Batch Forum
Topic: Input "wrong" answers
Replies: 1
Views: 2521

Re: Input "wrong" answers

I have solved it using the first script at

https://www.dostips.com/DtTipsMenu.php
by colmac
03 Feb 2021 05:48
Forum: DOS Batch Forum
Topic: Input "wrong" answers
Replies: 1
Views: 2521

Input "wrong" answers

Hi, I'm very much a newbie here, and cant figure out how to solve a problem. I have written a batch program with two segments to copy a single database (Lightroom photo database) file on my desktop PC, and rename it with a date/time before moving the original to my laptop to reverse the process The ...
by colmac
31 Jan 2014 02:55
Forum: DOS Batch Forum
Topic: Count files problem
Replies: 5
Views: 4333

Re: Count files problem

Thank you very much

That worked EXACTLY as I required.

Manay many thanks

Colin
by colmac
30 Jan 2014 11:21
Forum: DOS Batch Forum
Topic: Count files problem
Replies: 5
Views: 4333

Re: Count files problem

Hi foxdrive I replaced the drive location as instructed, and let it run There is a problem with the logic somewhere, as I could see on screen that I was getting masses of results. I re-directed the echo command to two separate txt files one for the epub, one for the opf files, and posted the results...
by colmac
30 Jan 2014 10:24
Forum: DOS Batch Forum
Topic: Count files problem
Replies: 5
Views: 4333

Re: Count files problem

Many thanks for your help, and so quickly too.

I'm just away to run it on my other PC and I'll let you know the outcome.


Colin
by colmac
30 Jan 2014 09:54
Forum: DOS Batch Forum
Topic: Count files problem
Replies: 5
Views: 4333

Count files problem

I was checking my epubs directories, and identified a problem. I have 4466 .epub files and in addition i have 4473 .opf files. My calibre software usually creates 1 .opf file for each .epub file all in individual sub directories - so it looks as if I have got 7 duplicate/extra opf files in error. Ca...
by colmac
29 Nov 2013 16:37
Forum: DOS Batch Forum
Topic: MD problem - Two word variable
Replies: 2
Views: 3476

Re: MD problem - Two word variable

Excellent, that works.

Thanks very much

Colin
by colmac
29 Nov 2013 12:49
Forum: DOS Batch Forum
Topic: MD problem - Two word variable
Replies: 2
Views: 3476

MD problem - Two word variable

Hi folks Bit of help please for a new member. I'm creating a batch file to create directories from user input, of football team names. I'm having problems with the last line of this code @ECHO OFF SET /P hteam=Please enter Home Team : SET /P ateam=Enter Away Team : SET /P tourn=Enter Tournament : SE...