Batch confirmation prompt
@echo off
setlocal
:PROMPT
SET /P AREYOUSURE=Are you sure you want to install malware(Y/[N])?
IF /I “%AREYOUSURE%” NEQ “Y” GOTO END
“\\server\deploy$\office\office_deploy.bat”
:END
endlocal
exit
August 15, 2019
@echo off
setlocal
:PROMPT
SET /P AREYOUSURE=Are you sure you want to install malware(Y/[N])?
IF /I “%AREYOUSURE%” NEQ “Y” GOTO END
“\\server\deploy$\office\office_deploy.bat”
:END
endlocal
exit
Tags: Windows
Florida born and raised, a "computer guy" from way back, I am drawn to all things technical. I love learning about new things. Some of my longer lasting interests besides computers include motorcycles, boats and fishing. That doesn't mean you won't find me talking about things like FPV drones, ham radio, lock picking or some cool EDC gadget.
Throughout my career I have commanded roles ranging from on site service tech, help desk and sysadmin at an ISP, security administrator, IT Director, Operations / Service Manager and now I am enjoying life as a Sr. System Engineer
If I had to pick one area of information technology I liked best, it would be security. I enjoy learning, practicing and teaching others what I can about infosec.