Re: Looking for a freeware command line tool
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Wed, 27 Sep 2006 07:51:02 +1000
It seems your post has changed directions. Initially you asked
for some command line tool that could execute certain commands
in every subdirectory of a directory tree. Now you complain
about being unable to reach the far branches of a excessively
long directory tree. This is why I asked for further details.
This phenomenon has nothing to do with cacls.exe or any
other command. It is a limitation of the operating system: The
sum of path+file name cannot exceed 255 characters. So how
are they created? Simple: By substitution or by mapping. When
you run either of these commands
subst x: d:\SomeFolder\Folder1\Folder2\Folder3\Folder4\Folder5
net share YYY=d:\SomeFolder\Folder1\Folder2\Folder3\Folder4\Folder5
net use y: \\YourServer\YYY
then drives x: and drive y: are subject to the same 255 character
limitation, which will extend the depth of the tree d:\SomeFolder.
This is also the method you must use to access such deep folders
after such long branches have been created.
A much better way is to place information inside files rather than
into file or folder names.
"Mike Matheny" <mikemathenyathoustondotrrdotcom> wrote in message
news:uMc7azX4GHA.3604@xxxxxxxxxxxxxxxxxxxxxxx
I can't possibly see what is vague about this post - MS allows paths to beto
created that cannot be accessed via MS tools! That is a fact! CACLS fails
trying to apply permissions to these overly long paths. Either MS needs
NOT let these paths to be created, or write a damn tool that can handlehoping
them!
--
Mike Matheny
Views expressed herein do not reflect or represent
my employer in any way.
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:OCL7q2O4GHA.3452@xxxxxxxxxxxxxxxxxxxxxxx
Your reply is too vague to offer any feasible suggestions.
"Mike Matheny" <mikemathenyathoustondotrrdotcom> wrote in message
news:OzMxagL4GHA.1568@xxxxxxxxxxxxxxxxxxxxxxx
Well, we have paths on our servers that are apparently valid lengths
(they
allowed them to be created) but when running cacls or xcacls, the choke
on
the length. I have tried the xcacls.vbs script, which navigates to each
subfolder and performs the actions, but it runs all weekend long -
to
find something a little faster.program!
The find idea was suggested by a Unix admin here.
--
Mike Matheny
Views expressed herein do not reflect or represent
my employer in any way.
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:uYD%23xru3GHA.2420@xxxxxxxxxxxxxxxxxxxxxxx
"Mike Matheny" <mikemathenyathoustondotrrdotcom> wrote in message
news:%23dYA0Yo3GHA.4648@xxxxxxxxxxxxxxxxxxxxxxx
Looking for a freeware command line tool that will let me run aprogram
program
on
every file I select throughout a complete folder structure - found a
named Global doing a search on the internet, but can't find the
--
Mike Matheny
Views expressed herein do not reflect or represent
my employer in any way.
Can you give an example of what you're trying to do?
.
- Follow-Ups:
- Re: Looking for a freeware command line tool
- From: Mike Matheny
- Re: Looking for a freeware command line tool
- References:
- Looking for a freeware command line tool that can make a program perform recursive functions on a complete folder tree
- From: Mike Matheny
- Re: Looking for a freeware command line tool
- From: Pegasus \(MVP\)
- Re: Looking for a freeware command line tool
- From: Mike Matheny
- Re: Looking for a freeware command line tool
- From: Pegasus \(MVP\)
- Re: Looking for a freeware command line tool
- From: Mike Matheny
- Looking for a freeware command line tool that can make a program perform recursive functions on a complete folder tree
- Prev by Date: Re: Client comps can't see each other
- Next by Date: Re: RDP from outside network
- Previous by thread: Re: Looking for a freeware command line tool
- Next by thread: Re: Looking for a freeware command line tool
- Index(es):
Relevant Pages
|