1.

Solve : Permissions to folder?

Answer»

Can you please tell me how to set the persmission as everyone to a folder using command line. I want to run a batch FILE and ASSIGN this permission in order to LOG the file.

Thanks,
Ksk.I don't know if i am correct but I think that is not possible! Quote

Can you please tell me how to set the persmission as everyone to a folder using command line. I want to run a batch file and assign this permission in order to log the file.

I can't figure out what you are talking about.

Via Windows, you set shared permission to a folder. Now your bat file produces new files within that folder. Then everyone can access it.

Having a lot of trouble with "in order to log the file". What file? What does logging a file have to do with permissions?

What? Do you create a new folder every day?

Please explain in a LOT more detail exactly what your problem is. There may be a solution.

To your general question, as ALREADY responded to by Julius Caesar, there is no DOS command to set Windows SHARE attributes. DOS was invented and completed before Windows was invented.

Mac

First of all which OS?

In (NT, W2k,XP) cmd  CACLS is your command to set permissions.

hope it helps
uli Quote
CACLS is your command to set permissions.

Good info. I forgot that. Although I still wonder why it has to be dynamic. I would guess you just create a master folder and set permissions manually and forget about it.

Mac



Discussion

No Comment Found