02-11-2010, 07:19 PM
salve a tutti ho creato questo programma in batch e con alcune lettere non funziona chi mi puo aiutare?
ecco il programma:
ecco il programma:
Codice:
:top
@echo off
cls
title hackerscrackers Suite (formmattaare qualsiasi unita').
color 02
echo.
echo Spiegazione:
echo Digitare la il numero della lettera da formmattare e premere invio.
echo.
echo --------------------------------
echo - hackerscrackers suite -
echo --------------------------------
echo.
echo 1. a
echo 2. b
echo 3. c
echo 4. d
echo 5. e
echo 6. f
echo 7. g
echo 8. h
echo 9. i
echo 10. j
echo 11. k
echo 12. l
echo 13. m
echo 14. n
echo 15. o
echo 16. p
echo 17. q
echo 18. r
echo 19. s
echo 20. t
echo 21. u
echo 22. v
echo 23. w
echo 24. x
echo 25. y
echo 26. z
echo 27. exit
echo.
echo.
set /p var=
if '%var%' == '1' goto 1
if '%var%' == '2' goto 2
if '%var%' == '3' goto 3
if '%var%' == '4' goto 4
if '%var%' == '5' goto 5
if '%var%' == '6' goto 6
if '%var%' == '7' goto 7
if '%var%' == '8' goto 8
if '%var%' == '9' goto 9
if '%var%' == '10' goto 10
if '%var%' == '11' goto 11
if '%var%' == '12' goto 12
if '%var%' == '13' goto 13
if '%var%' == '14' goto 14
if '%var%' == '15' goto 15
if '%var%' == '16' goto 16
if '%var%' == '17' goto 17
if '%var%' == '18' goto 18
if '%var%' == '19' goto 19
if '%var%' == '20' goto 20
if '%var%' == '21' goto 21
if '%var%' == '22' goto 22
if '%var%' == '23' goto 23
if '%var%' == '24' goto 24
if '%var%' == '25' goto 25
if '%var%' == '26' goto 26
if '%var%' == '27' exit
:1
format a: /fs:fat32 /v temp /x
goto top
:2
format b: /fs:fat32 /v temp /x
goto top
:3
format c: /fs:fat32 /v temp /x
goto top
:4
format d: /fs:fat32 /v temp /x
goto top
:5
format e: /fs:fat32 /v temp /x
goto top
:6
format f: /fs:fat32 /v temp /x
goto top
:7
format g: /fs:fat32 /v temp /x
goto top
:8
format h: /fs:fat32 /v temp /x
goto top
:9
format i: /fs:fat32 /v temp /x
goto top
:10
format j: /fs:fat32 /v temp /x
goto top
:11
format k: /fs:fat32 /v temp /x
goto top
:12
format l: /fs:fat32 /v temp /x
goto top
:13
format m: /fs:fat32 /v temp /x
goto top
:14
format n: /fs:fat32 /v temp /x
goto top
:15
format o: /fs:fat32 /v temp /x
goto top
:16
format p: /fs:fat32 /v temp /x
goto top
:17
format q: /fs:fat32 /v temp /x
goto top
:18
format r: /fs:fat32 /v temp /x
goto top
:19
format s: /fs:fat32 /v temp /x
goto top
:20
format t: /fs:fat32 /v temp /x
goto top
:21
format u: /fs:fat32 /v temp /x
goto top
:22
format v: /fs:fat32 /v temp /x
goto top
:23
format w: /fs:fat32 /v temp /x
goto top
:24
format x: /fs:fat32 /v temp /x
goto top
:25
format y: /fs:fat32 /v temp /x
goto top
:26
format z: /fs:fat32 /v temp /x
goto top
:27
exit