Windows – How to launch a file properties dialog from the command line

command linepropertiesshellwindows

It's simple programmatically with ShellExecute to specify the properties verb when instructing Windows to open a file, but can this be done from the command line or run box?

Ideally I'd like to do this without an external program or script.

It appears to be possible by calling ShellExecute by using rundll32.exe, but not without the right parameters.

Best Answer

Quick tool:

You could write a ridiculous script, or you could just use this awesome portable app:

GeekDrop Props

. Github Share

Usage:

GDProps.exe FILEORFOLDERNAME [FILEORFOLDERNAME]...

Example:

e:\Tools\GDProps.exe "c:\users\Corrupt Profile" "c:\Windows" "c:\Program Files(x86)"

^^ about twice a day Windows 10 corrupts a user profile somewhere so I need to go over and change various security permissions in these folders to perform my quick app-repair

Related Question