delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/29/08:31:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 29 Jul 2004 08:30:56 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: George <d1945 AT sbcglobal DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Accessing Property Sheets
In-Reply-To: <41088F2F.6030909@sbcglobal.net>
Message-ID: <Pine.GSO.4.58.0407290817260.5054@slinky.cs.nyu.edu>
References: <41088F2F DOT 6030909 AT sbcglobal DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 28 Jul 2004, George wrote:

> I keep running up against situations where I require access to the
> property sheet for a folder/file to perform a settings change I can't
> accomplish otherwise.

Exactly which properties are you trying to change?  Some of the security
ones can be changed via setfacl, as well as chmod/chown (I don't think
either one supports setting inheritable permissions, though).

> I'm wondering whether Cygwin offers some way I've not yet discovered to
> display the property sheet dialog for a folder/file.  Seems it would
> save the trouble of opening an explorer window from bash, selecting a
> file, opening the context menu by right clicking and then selecting
> properties (before navigating the various tabs and clicking some more).

Not really Cygwin-specific, but look up the Shell API on MSDN [*] (which
you can invoke via rundll/rundll32), in particular, the SHObjectProperties
function.

To put this back on-topic, if you do manage to find a way to do what you
want that works on all OS's, please consider making a cygstart-like
utility to do this and contributing it to the Cygwin distribution.

HTH,
	Igor
[*] One of the possible pointers is
<http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/functions.asp>
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019