Advertisement
Guest User

Untitled

a guest
May 24th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. @Echo off & SetLocal EnableDelayedExpansion & mode con:cols=50 lines=13 & Title Build XUSB Complient Folders.
  2.  
  3. :: Change this for different amounts. always put one extra ie, 256 would be 257 & 10 would be 11, you get the picture.
  4. Set "total=257"
  5.  
  6. Echo: & Echo: & Echo: & Echo: & Echo:
  7. Echo This will create a folder structure for Daymos's
  8. Echo Pes saves.
  9. Echo: & Echo: & Echo: & Echo: & Echo:
  10. Pause
  11. CLS
  12. Echo: & Echo: & Echo: & Echo: & Echo:
  13. Echo You will use Party Buffalo to import these
  14. Echo folders, 1 at a time.
  15. Echo: & Echo: & Echo: & Echo: & Echo:
  16. Pause
  17. CLS
  18. Echo: & Echo: & Echo: & Echo: & Echo:
  19. Echo Remove the previous folder before copying
  20. Echo the new one over.
  21. Echo: & Echo: & Echo: & Echo: & Echo:
  22. Pause
  23. :: Save Directory = 4B4E0837\00000001
  24.  
  25. :Start
  26. set /A foldercount+=1
  27. if not exist "Stage %foldercount%" if exist "*.bin" (
  28. Set "Stage=Stage %foldercount%\4B4E0837\00000001"
  29. GOTO Process
  30. )
  31.  
  32. CLS & Echo Done... & Pause & Exit
  33.  
  34. :Process
  35. set counter=0
  36. MD "%Stage%"
  37. for %%a in (*.bin) do call :loop "%%~a" 2>NUL
  38. :loop
  39. set /A counter+=1
  40. if %counter% == %total% Goto Start
  41. move %1 "%stage%" >NUL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement