|The following batch code works perfect but when i change maa to con it does not work. why? i want to rename folder RAA to con so that it cannot be deleted. Please see this link:|
Please help me to achieve undeletable folder by modifying below code.
if EXIST "maa" goto UNLOCK
if NOT EXIST RAA goto MDMyFolder
ren RAA "maa"
attrib +h +s +a "maa"
attrib -h -s -a "maa"
ren "maa" RAA