Advertisement
Kozukata_Aoi

Java Batch Compiler V 1.0(old)

Sep 9th, 2015
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.49 KB | None | 0 0
  1. @echo off
  2. title Java Batch Compiler V 1.0
  3. color 02
  4. echo.
  5. echo "Java Batch Compiler V 1.0"
  6. echo.
  7. :mainmenu
  8. set /p filename="Write Filename:"
  9. goto :search
  10.  
  11. if exist (echo "File Found" goto :action) else (goto :error)
  12. :search
  13. echo.
  14. echo Searching file...
  15. echo.
  16. :action
  17. if exist %filename% echo Compiling Project...
  18. goto :JAVACOMPILE
  19.  
  20. :JAVACOMPILE
  21. javac *.java
  22. goto :complete
  23.  
  24. :complete
  25. echo.
  26. echo the file was created successfully
  27. echo.
  28. echo Press a key to exit...
  29. pause>nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement