Get File Properties Tabs from CMD prompt?

  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Posts: 300

Post 3+ Months Ago

Does anyone know of a way to get the file/folder properties page from a cmd prompt as though you have just gone and right-clicked the file/folder in the gui?

The reason I ask is because I may have a user logged in and need to look at the file/folder properties (specifically the ntfs permissions) and because they are logged in as a user account and have no access to the folder they cannot even see the security tab of the properties box.

So I need a way from the command prompt to open the properties box of a file/folder (as I have done a runas to get an admin prompt inside their user gui session). Looking at security settings in a cmd program may also be of some interest if anyone knows that either...
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6810
  • Loc: Martinsburg, WV

Post 3+ Months Ago

Hope this helps

Microsoft wrote:
To examine a user's permissions on a file or folder using Xcacls

1. Open a command prompt. Click Start, click Run, and type cmd.

2. Type: Xcacls FileOrFolderPath

3. Examine the user's permissions and compare with the desired permissions.

The following is an example of the preceding Xcacls command:

Xcacls C:\Tools
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6810
  • Loc: Martinsburg, WV

Post 3+ Months Ago

By the way Xcacls is not default so check this out

http://technet2.microsoft.com/windowsse ... x?mfr=true
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Posts: 300

Post 3+ Months Ago

I know, that's why I don't used xcacls, I tend to use cacls instead since it can do most of what xcacls can. I usually use it to set perms, but I realise it can also read them if no opts are given, so I guess this is fine for the purpose.

I'd still love to know if there is a way of opening the gui file properties from the cmd prompt though...

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 28 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.