Questions tagged [windows-shell]

The Windows Shell is the main graphical user interface in Windows hosted by Windows Explorer. It also implements a shell namespace that enables computer programs running on Windows to access the computer's resources via the hierarchy of shell objects.

The Windows Shell is the main graphical user interface in Windows hosted by Windows Explorer. Important features of Windows Shell include the Desktop, Taskbar, Start Menu, et cetera. Extending functionality of Windows Shell is possible using shell extensions.

In the shell namespace hierarchy "Desktop" is the top object; below it there are a number of files and folders stored on the disk, as well as a number of special folders whose contents are either virtual or dynamically created like the Recycle Bin, Libraries, Control Panel, This PC and Network.

Read more regarding the Windows Shell here:

https://en.wikipedia.org/wiki/Windows_shell

751 questions
6
votes
3 answers

Windows 10 built-in SSH Client. How to paste the password?

I am trying to connect to my OpenWRT router using SSH. Since Windows 10 comes with a SSH client I decided to use that. When I try to connect nothing happens when I paste into the password field. My password is 30+ char with special characters. There…
Tony
  • 1,394
  • 5
  • 22
  • 48
6
votes
3 answers

DLL load failed: the specified module could not be found Windows 10 shell

I'm trying to run a Python script from the Windows shell, but when I do python path\to\file\script.py I get an error "DLL load failed: The specified module could not be found" and it traces back to the line where I import numpy.…
Jack Hanson
  • 336
  • 1
  • 2
  • 11
6
votes
1 answer

How to create an IconList property in the Windows Property System?

Currently, my property handler provides properties that can be displayed in Windows Explorer columns of type String. My goal is to extend the handler by a property of (display) type Icon, that can be added as a column to the details view of Windows…
6
votes
1 answer

Open more than 15 Files by Context Menu without MultipleInvokePromptMinimum

I have already added a right click option to open files with my c++ program: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Open With MyProgram] "Icon"="\"C:\\Program Files (x86)\\myProgram.exe\"" [HKEY_CLASSES_ROOT\*\shell\Open…
tk_
  • 91
  • 4
6
votes
4 answers

Integrate with the Windows Shell

OK, I want to create a windows shell extention that sits in the file menu much like the "Tortorise SVN" menu. Does anyone know where I'd begin, a good article, or what interfaces to implement? Thanks!
Chris
  • 6,702
  • 8
  • 44
  • 60
6
votes
2 answers

Recognize Windows Shell Special Folder (i.e. get its CSIDL) via its pIDL (Now determine if pIDLs are equal with C#)

I have a situation where I want to perform special processing on some Windows shell special folders (those corresponding to values in the CSIDL enum.) (My solution must be WinXP compatible.) The problem I'm having is that when I encounter…
Carl G
  • 17,394
  • 14
  • 91
  • 115
6
votes
1 answer

How can I access windows file preview icons from my WPF application

I got a bunch of Pictures and Videos in a directory and needs to be displayed in the WPF application, I am thinking about displaying the Win7 Large Icon itself as the preview image. Because that will save me the work of grabbing an appropriate frame…
Jobi Joy
  • 49,102
  • 20
  • 108
  • 119
6
votes
3 answers

IShellLink::SetIconLocation translates my icon path into %Program Files% which is WRONG

Does anyone know how to correct for this behavior? Currently, when our installer installs our application, it obtains an IShellLink, then loads it up with the data necessary for our shortcut icon (in the start menu & desktop), and then uses…
Mordachai
  • 9,412
  • 6
  • 60
  • 112
6
votes
1 answer

Programmatically access the "Open with" Windows Explorer menu list from .NET

When right-clicking a file in Windows Explorer, the "Open with" menu item displays a list of available applications, based on the file type of the clicked file. See this picture as an example: (source: magerquark.de) Now I want to be able to…
Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
6
votes
1 answer

C++ potentially-throwing code at COM method boundaries

C++ exceptions can't cross COM module boundaries. So, assume we are in a COM method body, and some C++ potentially-throwing method/function is called (this can throw because e.g. STL classes are used): STDMETHODIMP CSomeComServer::DoSomething() { …
Mr.C64
  • 41,637
  • 14
  • 86
  • 162
6
votes
2 answers

Is there an OS function to translate a REFIID to a helpful name?

Short of writing a function manually that translates a few known REFIID to names, such as: if (riid == IID_IUnknown) return "IUnknown"; if (riid == IID_IShellBrowser) return "IShellBrowser"; ... Is there a system call that would return a reasonable…
Mordachai
  • 9,412
  • 6
  • 60
  • 112
6
votes
1 answer

How to create a shell extension context menu in Python (like dropbox)

I would like to create a context menu shell extension, to go with a program I write in Python. I tried to work with a the demo in \Lib\site-packages\win32comext\shell\demos\servers\context_menu.py from pywin32 (here is the file) but it didn't work…
zenpoy
  • 19,490
  • 9
  • 60
  • 87
6
votes
7 answers

setx setting PATH with spaces

I am trying to update the system Path variable in a win32 shell script but only if a value is not present. My current version looks something like this: for %%f in (xyz.exe) DO if [%%~$PATH:f]==[]; setx Path "%PATH%;%GRADLE_HOME%\bin" -m The…
Shawn Vader
  • 12,285
  • 11
  • 52
  • 61
5
votes
3 answers

Why aren't Shell_NotifyIcon balloon tips working?

According to everything I've seen, the following C++ program should be displaying a balloon tool tip from the tray icon when I left-click in the application window, yet it's not working. Can anyone tell me what I'm missing? This is on XP with…
Bill Brooks
  • 751
  • 1
  • 10
  • 30
5
votes
1 answer

Why does SHParseDisplayName give an access violation if I've imported it myself?

I get an access violation when trying to get a pidl form a path in Delphi, and the returned pidl is nil. This is my code: type // TParseDisplayName = function(pszPath: PChar; pbc: pointer; var pidl: PItemIDList; sfgaoIn: LongWord; var psfgaoOut:…
user382591
  • 1,320
  • 5
  • 19
  • 39