Scoala de Hackeri Thursday, 2024-11-21, 10:25 AM
Main | Registration | Login Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Stergerea unui Fisier
scoaladehackDate: Friday, 2009-10-09, 5:05 PM | Message # 1
Private
Group: Administratori
Messages: 4
Status: Offline
Avem codul si il bagam in word si il salvam .bat, dar inainte de toate creati un folder 121 pe D
Code
@echo off
cls
TITLE sterge un folder din d care se numeste 121
color 1F
:INCEP
echo.
echo    1. Daca vrei sa stergeti folderul 121 din d, apasati tasta d
echo    2. Daca vrei sa iesit apasati tasta e
echo.
set /p Choice=Apasa tasta d sau e apoi Enter    
if [%Choice%]==[d] goto sters
if [%Choice%]==[e] goto exit
For %%a in (d,e) do if not [%Choice%]==[%%a] goto End
:sters
echo.
echo o sa stergeti folderul 121 din d
echo estii sigur ca doriti sa continuati?
pause
echo y|rd "D:\121" /S /Q
echo.
echo a fost sters <img src="http://s102.ucoz.net/sm/1/biggrin.gif" border="0" align="absmiddle" alt="biggrin">
pause
cls
goto INCEP
@echo off
:exit
echo.
echo ###################################################
echo                            originalul nu e facut de mine  
echo                            am incercat si eu altceva
echo                    ce dracu nu imi petrec timpul pe forum
echo                    aiurea                    
echo ###################################################
pause > nul
exit


@-Team
 
  • Page 1 of 1
  • 1
Search:

Copyright Scoala de Hackeri © G-Team