PC Review


Reply
 
 
Mark
Guest
Posts: n/a
 
      26th Aug 2003
I am needingt to run the cacls command to clear up some permission issues.
It seems to work fine against the volume in question, but it stops at
folders containing names with spaces (....\example of spaces\*). If I run
the cacls against this same folder using this format, ....\exampl~1\*, is
works fine.

I need to run the cacls from the root with a wild card (*), how can I get
arround this.

Thanks


 
Reply With Quote
 
 
 
 
R. C. White
Guest
Posts: n/a
 
      26th Aug 2003
Hi, Mark.

Enclose the folder names with quotes. The quotes have to go around the
entire "fully qualified filename", including the pathname. I know nothing
of CACLS, but these are the general rules for long filenames.

Examples:
example of spaces - won't work
"example of spaces" - will work
C:\"example of spaces" - won't work
"C:\example of spaces" - will work
C:\parent\"example of spaces" - won't work
"C:\parent\example of spaces" - will work

And, of course, "C:\parent\example of *" should work, too. But it might not
produce what you're looking for. It will give you a list of all the folders
(and files) in \parent that start with "example of", but not of the files
within such folders. But that's not because of the spaces in "example of
spaces"; you would have similar problems if you had multiple folders with
short names without spaces, like example1, example2, etc., and tried to list
their files with a command like: dir example* or dir example*\*

RC
--
R. C. White, CPA
San Marcos, TX
(E-Mail Removed)
Microsoft Windows MVP

"Mark" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am needingt to run the cacls command to clear up some permission issues.
> It seems to work fine against the volume in question, but it stops at
> folders containing names with spaces (....\example of spaces\*). If I run
> the cacls against this same folder using this format, ....\exampl~1\*, is
> works fine.
>
> I need to run the cacls from the root with a wild card (*), how can I get
> arround this.
>
> Thanks



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cacls.exe WWII Windows XP Help 2 13th May 2004 02:53 AM
cacls.exe WWII Windows XP General 3 13th May 2004 01:37 AM
CACLS Marcelo López Microsoft Windows 2000 CMD Promt 5 2nd Apr 2004 04:03 PM
cacls.exe Defcon31 Windows XP Embedded 5 26th Nov 2003 12:01 AM
Need Help Using CACLS Jared Windows XP General 0 10th Nov 2003 02:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:00 PM.