Solved

setting nt rights on command line

Posted on 1997-08-04
1
140 Views
Last Modified: 2013-12-28
is there any possibility to set nt4 file rights on the command line (e.g. in a batch file) and what is the name of this command?
my problem is that I have to set the same rights on 36 workstations and I wanted to do this with a batch job.
0
Comment
Question by:pman
1 Comment
 
LVL 2

Accepted Solution

by:
gantriis earned 30 total points
Comment Utility
Hi pman.

In the usual Windows NT terminology rights apply to users and permissions apply to files and other resource objects.

So I guess you are asking for a command line utility that will help you set file permissions. CACLS.EXE included with Windows NT will do this for you. Type "cacls /?" for help on how to use it.

This utility does not take the server name as a parameter, so if you need to set permissions on files on another server than the command is being run from you need to make a network drive connection to the share where the file is before using cacls.

I hope this is the answer to your question.

Cheers
JG
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now