Skip to content

Instantly share code, notes, and snippets.

@JohnnyPh
JohnnyPh / .bat
Created May 1, 2017 08:56
Ẩn Folder
cls
@ECHO OFF
title Folder Private
if EXIST "Johnny Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK