Guest User

Untitled

a guest
Dec 14th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. color 0A
  3. set fsize=1024
  4. goto Prompt
  5.  
  6. :Prompt
  7. set /P mbs=File Size (Megabytes): %=%
  8. set /P loc=File Location (Including Name): %=%
  9. goto Create
  10.  
  11. :Create
  12. cls
  13. set /a kbs=%mbs%*%fsize%
  14. set /a byt=%kbs%*%fsize%
  15. echo Creating %loc% With %byt% Bytes (%mbs%MB)..
  16. fsutil file createnew %loc% %byt%
  17. echo Done!
  18. pause
  19. cls
  20. goto Prompt
Add Comment
Please, Sign In to add comment