daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo off
  2. COLOR 2
  3. cls
  4. Echo.
  5. Echo.
  6. Echo ****************************
  7. Echo **Eine Neue News erstellen**
  8. Echo ****************************
  9. Echo.
  10. Echo.
  11.  
  12. Echo Was willst du machen?
  13. Echo.
  14. :neuerversuch
  15. ECHO [1] News ohne Name erstellen
  16. ECHO [2] News mit Name erstellen
  17. ECHO [3] Programm Beenden
  18.  
  19. Echo.
  20.  
  21. set choice=
  22. set /p choice=Bitte gibt eine Nummer ein...
  23.  
  24.  
  25.  
  26. if not ´%choice%´==´´ set choice=%choice:~0,1%
  27. if ´%choice%´==´1´ goto ohnename
  28. if ´%choice%´==´2´ goto mitname
  29. if ´%choice%´==´3´ goto end
  30.  
  31. ECHO.
  32. ECHO "%choice%" Die Eingabe war nicht gültig, bitte neu versuchen
  33. goto :neuerversuch
  34.  
  35. :ohnename
  36.  
  37. mkdir "ANeuer"
  38. mkdir ".\ANeuer\pics"
  39. copy .\"IS Nitro"\"IS Nitro.odt" ".\ANeuer\NewBlank.odt"
  40. goto end
  41.  
  42. :mitname
  43. SET /P NewsName=Bitte Titel eingeben...
  44. mkdir "%NewsName%"
  45. mkdir ".\%NewsName%\pics"
  46. copy .\"IS Nitro"\"IS Nitro.odt" ".\%NewsName%\%NewsName%.odt"
  47.  
  48.  
  49.  
  50. :end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top