Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Little Batch Tool Which Helps
04-18-2012, 06:03 AM
Post: #1
Little Batch Tool Which Helps
Hi,

If you're trying to use universal php decrypter from PS2 and it renames the decoded files using the format filename_de.php , for many files you can rename all the files to filename.php using the following batch script.

Code:
@echo off&for %%f in (*_de.php) do call :RenameFile %%f
goto :eof
:RenameFile
for /F "delims=_. tokens=1,3" %%c in ("%1") do ren "%1" "%%c.%%d"

You can use it in other situations too, but you might want to adapt it Smile

Good day

Wise men don't need advice. Fools won't take it. ~~ Benjamin Franklin
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Little Batch Tool Which Helps - faithlove - 04-18-2012 06:03 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | Homepage | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication