I wanted to blog this mainly for my own edification, but I came across something I thought was very strange in the Windows command cacles.
So what's the difference between these two lines:
cacls "c:\temp" /T /G everyone:F
and
cacls "c:\temp\" /T /G everyone:F
If you were you were to point out that one doesn't have a trailing slash on the path, and one does; you would be correct. You would also be correct if you pointed out that one works, and one doesn't.
Here is the output from the two commands:
C:\>cacls "c:\temp" /T /G everyone:FAre you sure (Y/N)?
C:\>cacls "c:\temp\" /T /G everyone:FThe filename, directory name, or volume label syntax is incorrect.
Seems like such a silly limitation, maybe there is something I'm not aware of?
Remember Me
Page rendered at Tuesday, January 06, 2009 11:15:01 AM (Alaskan Standard Time, UTC-09:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.