cacls

G

Guest

using >cacls testfolder

which is on the desktop I get a mesg that the system could not find the file
specified.

what have I missed here?
 
S

Shenan Stanley

sandgroper said:
using >cacls testfolder

which is on the desktop I get a mesg that the system could not find
the file specified.

what have I missed here?

Type in just

cacls

press enter...

Get anyhting? If mnot you are missing cacls (or a path to it.)
 
S

Shenan Stanley

Shenan Stanley wrote:
sandgroper said:
using >cacls testfolder

which is on the desktop I get a mesg that the system could not
find the file specified.

what have I missed here?
Type in just

cacls

press enter...

Get anyhting? If not you are missing cacls (or a path to it.)
yes i get good response to that but not to

cacls testfolder

which is shared etc.

The folder being shared/etc should have little to do with the response you
might get back.
Are you sure the name is "testfolder" and not something like "testfolder "?
Create a new folder and try it on that folder. Work?
Tried the full path to the testfolder? (ie: c:\testfolder)
Tried using quotation marks? (ie: "testfolder")
 
G

Guest

the syntax is cacls filename

so i do cacls My Documents

or any other folder and get the file cannot be found now on 2 PC's.
 
B

Bruce Chambers

sandgroper said:
the syntax is cacls filename

so i do cacls My Documents

or any other folder and get the file cannot be found now on 2 PC's.


Correct. The syntax is "CACLS *filename*;" naturally it'll error out
if you point it at a folder, rather than at a file.



--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Many people would rather die than think; in fact, most do. -Bertrand Russell
 
J

John John

From the command prompt navigate to the desktop directory then run
cacls from there.

John
 
J

John John

Cacls works on files or folders.

John

Bruce said:
Correct. The syntax is "CACLS *filename*;" naturally it'll error
out if you point it at a folder, rather than at a file.
 
G

Guest

i cannot see permissions on any file or folder using cacls whether it's on
the desktop or C drive on both PC's. Does it have anything at all to do with
these pc's joined to a domain?
 
J

John John

You probably don't have rights to cacls .

John
i cannot see permissions on any file or folder using cacls whether it's on
the desktop or C drive on both PC's. Does it have anything at all to do with
these pc's joined to a domain?

:
 

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