Search found 8 matches

by ArieS
17 Feb 2016 14:57
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2172804

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

Just wanted to thank Dave for this batch file.
foxidrive pointed me here and a combination of dbenham and foxi's batches helped me with my issue.
Thank you both!
by ArieS
17 Feb 2016 14:53
Forum: DOS Batch Forum
Topic: Help with a batch file
Replies: 8
Views: 6813

Re: Help with a batch file

Wow, you guys are something else... :mrgreen:

foxidrive, it worked.
Thank you both very much for your time and help!
by ArieS
17 Feb 2016 13:56
Forum: DOS Batch Forum
Topic: Help with a batch file
Replies: 8
Views: 6813

Re: Help with a batch file

ShadowThief, the problem is rating and votes are not the only infos in the nfo. Here's an example: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <movie> <title>Die Hard</title> <originaltitle>Die Hard</originaltitle> <sorttitle>Die Hard 1</sorttitle> <rating>...
by ArieS
17 Feb 2016 03:58
Forum: DOS Batch Forum
Topic: Help with a batch file
Replies: 8
Views: 6813

Help with a batch file

Hello all, you have helped me in the past and more help would be greatly appreciated yet again I have my movie collection on a NAS that I use with Kodi. Each movie is in a seperate folder and it contains an .nfo file named like the movie. I would like the final result to be: <rating>0</rating> <vote...
by ArieS
26 Oct 2012 10:56
Forum: DOS Batch Forum
Topic: Help with a batch
Replies: 8
Views: 7220

Re: Help with a batch

That was a typo on my part, I forgot the DO keyword. This is tested. @echo off for %%a in (*.*) do set "name=%%~na" & goto :gotit :gotit md "%name%" 2>nul for %%a in (*.*) do move "%%a" "%name%" This one moves everything to 1 folder, even different file n...
by ArieS
26 Oct 2012 00:00
Forum: DOS Batch Forum
Topic: Help with a batch
Replies: 8
Views: 7220

Re: Help with a batch

This should move all files to a single folder. It chooses one file to get the name from for the folder, and uses that name for all of the files. @echo off for %%a in (*.*) do set "name=%%~na" & goto :gotit :gotit md "%name%" 2>nul for %%a in (*.*) move "%%a" "...
by ArieS
25 Oct 2012 23:59
Forum: DOS Batch Forum
Topic: Help with a batch
Replies: 8
Views: 7220

Re: Help with a batch

Here not tested code. This code will work when a file "nameofmovie.mkv" exist. @echo off for %%a in (*.mkv) do ( md "%%~na" 2>nul move "%%~na*.*" "%%~na" ) This code will not work perfect when you have files like this: NameOfMovie.mkv NameOfMovie 2 .mkv Thank...
by ArieS
25 Oct 2012 12:07
Forum: DOS Batch Forum
Topic: Help with a batch
Replies: 8
Views: 7220

Help with a batch

Hello, I need some help with a batch script. I don't know anything about it and I found this batch on the net. @echo off for %%a in (*.*) do ( md "%%~na" 2>nul move "%%a" "%%~na" ) I need to move 4 files in 1 folder. I’m using it for XBMC and it moves 3 out of the 4 to ...