Grant rights in a batch file on NW 5.x - TechRepublic
General discussion
January 9, 2001 at 11:27 AM
jef

Grant rights in a batch file on NW 5.x

by jef . Updated 25 years, 3 months ago

The grant.exe utility from NW 3.x-4.x allowed me to write batch files to revoke or grant access to files. It doesn’t work in NW 5.x. Is there an equivalent way to do this in NW 5.x?

The batch file to grant rights contained the line:
grant r wc e m f for server_vol1:directory to groupname /sd /f

And the command line to block access was:
grant n for server_vol1:directory to groupname /sd /f

This allowed us to keep everyone but the payroll person out of the program while processingwas being done, then let them back in when processing was completed without involving the IT staff.

This discussion is locked

All Comments