CACLS error

G

Guest

While useing this command I put in the switch /c to ignore errors. Yet, I am
getting the following error:

The file name, directory name, or volume label syntex is incorrect.

I am getting the error in the same directory/filename each time. My
question is why is it not skipping this error with the /c switch.

Here is the exact command I typed in. I am loged in as the administrator
when I typed this in.

cacls *.* /t /e /c ty:f ( user namd:file permissions)

Thank you.
 
P

Pegasus \(MVP\)

Zach said:
While useing this command I put in the switch /c to ignore errors. Yet, I am
getting the following error:

The file name, directory name, or volume label syntex is incorrect.

I am getting the error in the same directory/filename each time. My
question is why is it not skipping this error with the /c switch.

Here is the exact command I typed in. I am loged in as the administrator
when I typed this in.

cacls *.* /t /e /c ty:f ( user namd:file permissions)

Thank you.

I thought it was supposed to be

cacls *.* /t /e /c /g ty:f
 
G

Guest

My mistake. I did type in the correct command, just didn't type it here
correctly.

cacls /t /e /c /g ty:f

and the error still appears.
 
P

Pegasus \(MVP\)

You might have a file or folder with an illegal character or string
(e.g. \, /, |, :, con, lpt), or a file+folder name that exceeds
254 characters in length.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top