Search found 13 matches

by crazyroot
02 Jan 2017 15:27
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

OK, thanx for the explanations, if I well understood there is no file containing a list like before but instead, there's an entire copie of folders and files in %tempfolder% which is scanned in :process subroutine ?

A real beer when I see you ;)
by crazyroot
02 Jan 2017 07:23
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Happy 2017 to all of you !! What a miraculous gift for the new year , thank you so much Phil ! This solves everything, really wonderful. And I learned so much thanx to you, Phil and Antonio. This forum is very competent, I'm impressed. This time it's very highly leveled for me , I didn't understand ...
by crazyroot
31 Dec 2016 03:57
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Hi Antonio, This version is almost perfect, thank you ! And you're right, I didn't specified completely the thing about folders/subfolders. About the root folder, OK to asume there are no MusicFiles directly there, only via folders and/or subfolders. Also, your last example code escapes renaming any...
by crazyroot
30 Dec 2016 16:03
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Hi Antonio, Thank you for your posting and your very interesting recursif code. And so sorry for confusion, I should insist more in the description. My car radio is windows ce based and for some strange reasons, unlike classic mp3/flac readers, the car radio mix all the songs (*.mp3 *.flac) without ...
by crazyroot
30 Dec 2016 12:05
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Hi Phil and thank you for your very quick answer Well, this code seems to be very close to be perfect but I encountered an issue : files cannot be renamed as their path contains folders' names before renaming. Maybe renaming files should be done juste before folders ? Also, when testing with many fo...
by crazyroot
29 Dec 2016 05:19
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

I have just discovered the 2nd version, thank you so much Phil ! Is it possible to make some changes in 2nd version in order to : 1. increment folders independentely from files with pad=2, starting by 01 for folders and pad=4, starting by 0001 for MusicFiles ex : 01_Folder1, 02_Folder2,... /// 0001_...
by crazyroot
27 Dec 2016 12:17
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Wow Phil, thank you very much, your code is beautiful ! I didn't know robocopy was so powerfull, I'm very impressed. Also, your loops and pipelines are great, you even renamed the folders by keeping alphabetical order, really fabulous ! I haven't still understand how everything works, but I will loo...
by crazyroot
25 Dec 2016 14:23
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Merry Christmas to all members of dos-community ;)
by crazyroot
21 Dec 2016 17:42
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Hi ShadowThief, Well still the same, I have a car radio that needs songs to be renamed but I want to keep the original order of songs (usually named 01. title1.mp3, 02 title2.mp3 etc) and it's the same with folders to keep the orders of artists and albums : 01. 1st artist ---------------01. 1st albu...
by crazyroot
21 Dec 2016 13:45
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Re: Renaming recursively files with alphabetical order

Hello, I'm still stucked with the sorting problem (folders and files in alphabetical order). Reading other topics here I saw some of you proposing powershell which I have never used but by searching a little maybe it's the best tool for my problem ? Something like : Get-Childitem E:\ | Foreach-objec...
by crazyroot
16 Dec 2016 02:38
Forum: DOS Batch Forum
Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
Replies: 78
Views: 164933

Re: JREN.BAT - Rename files/folders using regular expressions

Thank you Dave, /nkeep is really great !!

I'm still struggling with the sorting (directories+files) to get songs in order, like I explained it the topic :
http://www.dostips.com/forum/viewtopic.php?f=3&t=7617

jren is really fantastic, dream becomes reality ;)
by crazyroot
15 Dec 2016 18:42
Forum: DOS Batch Forum
Topic: Renaming recursively files with alphabetical order
Replies: 17
Views: 16463

Renaming recursively files with alphabetical order

Hello again, Like I said in JREN topic, I'm trying to rename recursively files with alphabetical order to give a right order to a car radio. I need to have incrementing continued beacause tha car radio mix all songs. My code is like this : set zero=000 REM for /f "delims=" %%a in ('dir &qu...
by crazyroot
14 Dec 2016 19:53
Forum: DOS Batch Forum
Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
Replies: 78
Views: 164933

Re: JREN.BAT - Rename files/folders using regular expressions

Hi Dave, I like very much JREN, thank you for this beautiful work ! Could you please explain me if it's possible to get simply $n (incrementing number for use in the name) not to be reset for each directory ? I'm not very used to DOS' for loop so I didn't find a quick solution in case you have one ?...