adamquadmon

New Member
Joined
Sep 30, 2011
Messages
18
Hi, I've a problem with a software that create some files, those Child objects do not inherit permissions from their parent as expected.

To solve this issue I have to manually edit the parent permission and give to his childs the same permissions of the folder itself. The checkbox solud be: Replace all permissions for child objects with inheritable permissions derived from this object
(I use an italian version of seven, so I don't know how this label is in english)

I need to make a script that each x time (1 time a day) run this command.

What should I look for?
I can create a .bat or somthing like this and then shedule it.
Bud I've never did this before, and I don't know how to find the right command

any tips?
 


Solution
Sorted it for you, Took me some time HOWEVER this works

Code:
:enab
cls
echo y| cacls "C:\Danea\Archivi/*.*" /p %username%:n
echo.
echo y| cacls "C:\Danea\Archivi/*.*" /e /g %username%:r
exit


I Have piped the command into the initial command
Hi there,

I just stumbled across this thread and wondered if I could tag on?

I would like to achieve the following,
Set my current username to have full read/write to multiple locations across the OS and data drive
- D:\Music\
- C:\Program Files

Remove any redundant SID accounts (from previous installations)
- So any old SID references


Can you tell me what I would need in a bat file to achieve this please?

Thanks inadvance :)
 


Back
Top