icalcs command prompt? setting permissions

  simmo08 15:41 25 Feb 2008

How do i use the icalcs command in the vista command prompt?

Im trying to programmatically run such a command from Borland Delphi to set permissions on shsvcs.dll/themeui.dll/uxtheme.dll to create a small utility to automate "Theme Patching" for custom visual styles.

I googled and only just found out about icalcs and calcs? command prompt.

Will this allow setting permissions in vista on files and how to use the command syntax?


  simmo08 15:49 25 Feb 2008





  simmo08 17:31 25 Feb 2008

I investigated and came up with this, thought id share for any other interested..

To use first start the command prompt, Start > Run "cmd". It uses the following flags:

F = Full Access
M = Modify Access
RX = Read and Execute Access
R = Read-Only Access
W = Write-Only Access
D = Delete
RC = Read Control
WDAC = Write DAC
WO = Write Owner
S = Synchronize
AS = Access System Security
MA = Maximum Allowed
GR = Generic Read
GW = Generic Write
GE = Generic Execute
GA = Generic All
RD = Read Data/List Directory
WD = Write Data/Add File
AD = Append Data/Add Subdirectory
REA = Read Extended Attributes
WEA = Write Extended Attributes
X = Execute/Traverse
DC = Delete Child
RA = Read Attributes
WA = Write Attributes
(OI) = Object Inherit
(CI) = Container Inherit
(IO) = Inherit Only
(NP) = Dont Propagate Inherit

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

WPA2 hack: How secure is your Wi-Fi?

Add Depth Of Field to a photo using Tilt Shift Blur in Photoshop

iPhone tips & tricks

Les meilleures tablettes 2017