Re: Xcacls - Recusive script on folders and subfolders - Dummy question !!!
- From: " Mathew" <matthieu_in_hk@xxxxxxxxxxx>
- Date: Tue, 12 Apr 2005 17:16:24 +0900
Thanks again.
But if I do that the command will still go to the last directory.
how can I do just for (C:\*\*) and stop there ?
"David Candy" <.> wrote in message
news:O2i87SzPFHA.1176@xxxxxxxxxxxxxxxxxxxxxxx
for /d %A in (*) do cacls "%A\*.*" >"%userprofile%\desktop\%~nA.txt"
for /d %A in (C:\windows\*) do cacls "%A\*.*"
>"%userprofile%\desktop\%~nA.txt"
--
----------------------------------------------------------
" Mathew" <matthieu_in_hk@xxxxxxxxxxx> wrote in message
news:%23UxrxZxPFHA.2972@xxxxxxxxxxxxxxxxxxxxxxx
> Just another question.
> Can you tell me how to change your script to level 2 in folder
architecture
> only ( or how to be able to parameter the folder and subfolder level )?
>
> It would be a great help
>
> Cheers
> Mathew
>
> "David Candy" <.> wrote in message
> news:e#0SYinPFHA.2524@xxxxxxxxxxxxxxxxxxxxxxx
> for /r %A in (.) do cacls "%A\*.*" > "%userprofile%\desktop\%~nA.txt"
>
> --
> ----------------------------------------------------------
>
> " Mathew" <matthieu_in_hk@xxxxxxxxxxx> wrote in message
> news:uvpL9HmPFHA.3408@xxxxxxxxxxxxxxxxxxxxxxx
>> Hello,
>>
>> I need to execute the cmd xcacls on one folder and each subfolders (until
>> the end) and save the result to a different file for each subfolder.
>> how can I script that ?
>>
>> I've never written any scripts... Please help me...
>> Sorry for this question but it would be a great help if you could help
me.
>>
>> Cheers,
>> Matthieu
>>
>>
>
>
.
- References:
- Prev by Date: Re: How to remove a system startup option after a failed Upgrade t
- Next by Date: How to make a for when the elements are in a file.txt
- Previous by thread: Re: Xcacls - Recusive script on folders and subfolders - Dummy question !!!
- Next by thread: How to Scan for Hardware Change from CLI
- Index(es):
Relevant Pages
|