Code cmd (input)
Posted: 04 May 2020 03:22
Hi everyone.
I wanted it when it comes out: Do I have to clear the user's temp? I write "yes" and cmd deletes all the temp folder and when I write "no" the cmd closes.
this is the code that I managed but that doesn't work.
@echo off
set /P scelta="Vuoi anche cancellare temp del tuo utente?"
if %scelta% = "yes" (
echo fregato!
pause
) else (
echo ciao!
pause
echo ciao and echo fregato it's just a test to see if it works
I wanted it when it comes out: Do I have to clear the user's temp? I write "yes" and cmd deletes all the temp folder and when I write "no" the cmd closes.
this is the code that I managed but that doesn't work.
@echo off
set /P scelta="Vuoi anche cancellare temp del tuo utente?"
if %scelta% = "yes" (
echo fregato!
pause
) else (
echo ciao!
pause
echo ciao and echo fregato it's just a test to see if it works