Windows – “CACLS” is not recognized as an internal or external command, operable program or batch file

batchcaclscommand linewindows xp

I have been using CACLS batch file many times and today it is not recognized. CACLS.EXE exist in C:\Windows\System32 and I have tried writing at command prompt:

CACLS * /E /T /C /G Administrators:F  
CACLS C:\Temp\[filename] /E /T /C /G Administrators:F

I am signed in as an Administrator and am using Windows XP Pro.

Please help. I can change the ownership and permission individually but this is tedious as I transfer lots of files between computers.

Best Answer

Sorry for delay in reply Ernie. Mange to resolved problem by changing the command in registry. Apparently, after I install windows resource kit, the command seems to changed to the current rendering any dos command not recognizable ... This is the reason why I am not able to run the batch file. Thx for yr help