Search found 31 matches
- 30 Mar 2018 15:57
- Forum: DOS Batch Forum
- Topic: Renaming Files
- Replies: 6
- Views: 7802
Re: Renaming Files
Thank you very much kwsiebert, that works great!!!!
- 29 Mar 2018 10:48
- Forum: DOS Batch Forum
- Topic: Renaming Files
- Replies: 6
- Views: 7802
Re: Renaming Files
Yes, that is what I'm looking for
- 23 Mar 2018 17:55
- Forum: DOS Batch Forum
- Topic: Renaming Files
- Replies: 6
- Views: 7802
Re: Renaming Files
I need to change the text file to have exactly the same name as the mp3. So if I have: 001 - Van Halen - Panama.mp3 01 - Panama.txt 002 - Alice Cooper - Poison.mp3 02 - Poison.txt 003 - Iron Maiden - Run To The Hills.mp3 03 - Run To The Hills it will become 001 - Van Halen - Panama.txt 002 - Alice C...
- 23 Mar 2018 16:21
- Forum: DOS Batch Forum
- Topic: Renaming Files
- Replies: 6
- Views: 7802
Renaming Files
Hi Guy's, I have a bunch of mp3 files and the lyrics in the same folder in a seperate .txt file. The file name format for the mp3's are for example: 001 - Artist name - song title.mp3 The text files are: 01 - song title.txt but some are: 01 - song title (with no extension. I need to rename the files...
- 28 Nov 2017 13:51
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
Re: list files and sub directories in an ordered list?
Hi Steffen, That works much better. Thank you very much.
- 28 Nov 2017 06:04
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
Re: list files and sub directories in an ordered list?
That works well and helped me find yet another problem. It won't list files and folders with & in it. I'm going to look at regex to allow all common filename safe characters. Thank you again for your time and help.
- 28 Nov 2017 03:02
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
Re: list files and sub directories in an ordered list?
I have another problem now. I have a batch file to copy my batch file to every sub directories (1700+). How would I get them all to run from one batch file. I have: for /r "C:/Audio/" %%i in (.) do @copy "C:\Media\Audio\index.bat" "%%i" To copy the batch file to the sub dirs. This works fine and is ...
- 27 Nov 2017 23:10
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
Re: list files and sub directories in an ordered list?
Hi Steffen,
You're right. I just tried what you mentioned and it is quicker. Thank you very much.
You're right. I just tried what you mentioned and it is quicker. Thank you very much.
- 27 Nov 2017 14:05
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
Re: list files and sub directories in an ordered list?
I got it working I forgot the brackets after the do. So it should have been:
Code: Select all
>>"%file%" (
for /d %%d in (*) do (
set "dir=%%~nxd"
setlocal EnableDelayedExpansion
<nul set /p =^<li^>^<a href="!dir!/index.html"^>!dir!^</a^>^</li^>
endlocal
)
)
- 27 Nov 2017 06:53
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
Re: list files and sub directories in an ordered list?
I've worked most of it out, but I can onlt get it to show the last sub directory. It doesn't show any of the others. This is what's giving me trouble now: >>"%file%" ( for /d %%d in (*) do set "dir=%%~nxd" setlocal EnableDelayedExpansion <nul set /p =^<li^>^<a href="!dir!/index.html"^>!dir!^</a^>^</...
- 27 Nov 2017 06:34
- Forum: DOS Batch Forum
- Topic: list files and sub directories in an ordered list?
- Replies: 10
- Views: 7598
list files and sub directories in an ordered list?
Hello, I'm trying to list all the mp3 and flac files in the directory the batch fles is in, but also any sub directories only one level deep. I need these to be put in to two html lists. So for example I'm trying to get: <ul> <li>Folder 1</li> <li>Folder 2</li> <li>Folder 3</li> </ul> <ol> <li>song ...
- 09 Oct 2017 23:05
- Forum: DOS Batch Forum
- Topic: How do I get mp3 bitrate?
- Replies: 18
- Views: 13178
Re: How do I get mp3 bitrate?
Thank you so much Steffen, that works great!!! Exactly what I was looking for.
I'm very greatfull for your time and effort.
Greg
I'm very greatfull for your time and effort.
Greg
- 09 Oct 2017 02:18
- Forum: DOS Batch Forum
- Topic: How do I get mp3 bitrate?
- Replies: 18
- Views: 13178
Re: How do I get mp3 bitrate?
Thank you Steffen. No rush mate. You have already gone above and beyond what I expected and I truely appeciate the time you have put in to helping me.
Also I totally forgot about the > to add text and >> to append in the exiftool bat. Opps!
Also I totally forgot about the > to add text and >> to append in the exiftool bat. Opps!
- 09 Oct 2017 01:15
- Forum: DOS Batch Forum
- Topic: How do I get mp3 bitrate?
- Replies: 18
- Views: 13178
Re: How do I get mp3 bitrate?
Wow! That is impressive, still playing around with it and it's works pretty good. Still working out how to add text before and after the results. With your script I have added stuff to output a js file. I haven't worked out how to do that yet with the exiftool. Just out of curiosity with the other b...
- 08 Oct 2017 14:03
- Forum: DOS Batch Forum
- Topic: How do I get mp3 bitrate?
- Replies: 18
- Views: 13178
Re: How do I get mp3 bitrate?
Bingo!!!
That was it. That you so very much for your help and time. That was driving me nuts!!!
That was it. That you so very much for your help and time. That was driving me nuts!!!