Skip to content

Instantly share code, notes, and snippets.

View myprojectsfile's full-sized avatar
💭
I'm happy now

Mohammad myprojectsfile

💭
I'm happy now
View GitHub Profile
To lock folder run this command:
cacls g:\Others /E /P everyone:n
To unlock run this command:
cacls g:\Others /E /P everyone:f
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
@myprojectsfile
myprojectsfile / cmder.txt
Created April 22, 2019 15:12
Cmder settings
# for setting utf8 language in cmder set LANG environment seeting in "settings>startup>environment" by following command:
set LANG=en_US.UTF-8