Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: gamesmame on July 01, 2021, 09:19:48 AM
-
I need help with folders and "txt" please help... Help Please ^^ ...
I need to put files from hundreds of folders into txt files BUT each folder named with its corresponding .txt from each folder.
(https://i.imgur.com/02sOk9l.jpg)
And I need it to be in this format inside the .txt (if that's case I can also format after it inside the .txt later in this format I need):
(https://i.imgur.com/dLDJWBU.jpg)
In this case, it looks like this:
(https://i.imgur.com/wQhqHkk.jpg)
Please help, I found information about .bat on the internet to do this but I got a little confused.
-
@ gamesmame
it's not so simple.
create a batch-file in root-folder, with the enclosed sourcecode.
the batch create .cmd-file, depending of folder name
it writes your informations per line into the .cmd-file
after : you need to edit the files manually or use notepad++ with regular expressions.
-
sorry. i don't know.
I cant read your error messages. Please translate it to english.
my sourcecode : works
(https://s20.directupload.net/images/210702/lfl5hi3m.gif)
And your batch-code: works
please upload next time as textfile.
write sourcecode manually from a screenshot : sucks.
(https://s20.directupload.net/images/210702/2aj7smhq.gif)
-
^^
1 - In my batch-code i dont need "edit the files manually or use notepad++ with regular expressions." Right?
2 - But why here dont works WHY???? My Windows says... "'D' command is not recognized as an internal or external command or bat file"
3 - In WIN10 my friend say to me its works!!! :-\ I repeat... here i use WIN7 mabe it is? you test the codes in WIN10 right?
-
please prevent fullquotes.
threads get unnecessary big and unreadable.
1) correct.
2) maybe the path environment is missed or something else (https://www.google.com/search?hl=de&gbv=1&q=batch+command+is+not+recognized+as+an+internal+or+external+command+or+bat+file)
3) correct.
-
please prevent fullquotes.
threads get unnecessary big and unreadable.
1) correct.
2) maybe the path environment is missed or something else (https://www.google.com/search?hl=de&gbv=1&q=batch+command+is+not+recognized+as+an+internal+or+external+command+or+bat+file)
3) correct.
Sorry :-[ and thank you ;)!!! works now ;D!! not perfect :-\ but works!!