Jump to content

Fart File and replace text 1.0.0


1 Screenshot

About This File

This will change any folder or text string that you want just edit at the end of the script what you want . So if your hyperspin contains a folder called Emulateur and you want that folder renamed add Emulator in the second example ..

@echo on
# CD %~dp0
for %%x in (ini ahk cfg xml ink lnk) do (
set extension=%%x
call:reemplazar
)
goto:fin
:reemplazar
for /r %%a in (*.%extension%) do (
fart -i "%%a" "Emulator" "Emulateur"
)
goto:eof
:fin

  • Like 2



User Feedback

Recommended Comments

Uso la herramienta Fart hace años voy a testear  streetmedic, me supongo que es para todas las carpetas y sub-carpetas (Es muy similar o igual a lo que se compartió en ArcadeSpain hace ya años)                                                                                                                                                                                                                                      @echo off
CD %~dp0
for %%x in (ini txt ahk cfg xml ink bat) do (
set extension=%%x
call:reemplazar
)
goto:fin
:reemplazar
for /r %%a in (*.%extension%) do (
fart -i "%%a" "(Aqui tu Sistema)" "Mame"
)
:reemplazar
for /r %%a in (*.%extension%) do (
fart -i "%%a" "(Aqui tu Sistema)" "Mame"
)
:reemplazar
for /r %%a in (*.%extension%) do (
fart -i "%%a" "(Aqui tu Categoria)" "Arcade"
)
goto:eof
:fin

.

Share this comment


Link to comment
Share on other sites

sorry i had to translate your text but yes it will scan all files in a directory that you choose as root and by replacing test in 2 spots it will automatically chanfge the first  to second 

 @echo on
# CD %~dp0
for %%x in (ini ahk cfg xml ink lnk) do (
set extension=%%x
call:reemplazar
)
goto:fin
:reemplazar
for /r %%a in (*.%extension%) do (
fart -i "%%a" "C:\HyperSpin\" "H:\Hyperspin\"
)
goto:eof
:fin

_______________________________________________

(ini ahk cfg xml ink lnk)

the above is what it currently scans and will edit the file types

.ini ,ahk .cfg .xml.ink .lnk

red = from or what you dont want

blue = to new

the red text being what you dont want any more to be 

Blue is the new path or name or what ever..

put in the root directory of a folder such as Hyperspin and it scan all files in that directory

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...