Advertisement
Guest User

Untitled

a guest
Aug 27th, 2012
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. @echo off
  2. SETLOCAL ENABLEEXTENSIONS
  3. echo Cleaning extract directory
  4. rmdir /S /Q _extract
  5. echo Unpacking image from original.img
  6. imagesuite\unimg -d original.img
  7. echo Moving dump to extract directory
  8. rename original.img.dump _extract
  9. echo Renaming files to .fex
  10. for /F "delims=" %%a in ('dir /b _extract\*.') do rename "_extract\%%a" "%%a.fex"
  11. echo Done...
  12. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement