Search found 8 matches

by Jc_oz
07 Sep 2009 06:08
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

Just a quick note to say a very sincere thank you.

Works PERFECTLY!

All the best to you!
by Jc_oz
31 Aug 2009 18:56
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

Hi Avery_Larry, Yes that is correct, in that the alpha after the 5 digit number will never be more than a single alpha character... and because the previous script you provided works exactly as it should have, that means it can ignore/skip any file that does not have an alpha after the 5 digit numbe...
by Jc_oz
31 Aug 2009 08:14
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

Sorry... it was very late when I gave up trying to modify the scripts that have been supplied. So allow me to be clear this time; file somepic12345a.tif needs to be converted to 12345a_somepic.tif that is it in a nut shell. There are some guarantees. 1) all files are TIFF images 2) the first part of...
by Jc_oz
30 Aug 2009 08:57
Forum: DOS Batch Forum
Topic: Q on Set command format
Replies: 1
Views: 3947

Q on Set command format

Hi, just a quick question. I have a script which I am using the set statement. alpha is a variable that has been previously set but for some reason the following does not work. &&set "alpha=%fname:~-1!%" All I want is the the last digit of "fname" (also a variable set ear...
by Jc_oz
30 Aug 2009 08:26
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

Sorry I still need help... I have 1 small issue which I did not realise (as I am trying to help a friend with this) at the end of the file name there is an alpha letter (the ones that did not have this alpha are fine with the previous script, thanks again), eg somepic1234a.tif I have spent all night...
by Jc_oz
29 Aug 2009 09:42
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

avery_larry, I just want to say a big sincere thank you!!! Works just like a bought one...BRILLIANT I hope some other people will also benefit from your script here. It is so elegant... in time I hope I understand your script better... I am still green as but very enthusiastic when I see how such a ...
by Jc_oz
27 Aug 2009 23:36
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

Thank you very much... A very elegant script (too elegant for me to understand ) Unfortunately it did not work for me and I have tried to debug it but really I am too green (complete dumb newbie - but I am trying) This is the error I am getting; The system cannot find the file specified. C:\ToBeRena...
by Jc_oz
27 Aug 2009 13:14
Forum: DOS Batch Forum
Topic: Newbie here needs help to manipulate file names
Replies: 11
Views: 14265

Newbie here needs help to manipulate file names

5am here in Sydney and I have to put up my hand & say HELP! What I need to do is straight forward but proving to be impossible for me. I have found different threads here and tried cutting and pasting but I can't get the finished result. So here is my humble request if anyone could help or point...