Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CACLs Command

Status
Not open for further replies.

TTops

MIS
Sep 13, 2004
70
US
Hello,

I am trying to run the CACLs command and output to a file. I am using the following syntax on the server with the share:

c:\>CACLS DriveLetter:\ShareName \c \t > OutputFileName

When I press enter, the command takes an extremely long time to execute and generates the following error:

The data area passed to a system call is too small

The command does create an output file, so I think my syntax is OK. However, the list of directories and subdirectories is not complete. Also, the "\c" switch is used to Continue On Access Denied Errors and the "\t" switch is used to Traverse Current Directory And All Subdirectories. Any help would be greatly appreciated.



Thanks,
T-Tops
 
Did you typo in your post for the \c \t switches? I do believe they should read as /c /t
 
Freestone,

That was a typo in my post. I ran the command with the forward slashes like so: /c /t


Thanks,
T-Tops
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top