windows-explorer

Can you send a signal to Windows Explorer to make it refresh the systray icons?

This problem has been afflicting me for quite a while and it's been really annoying. Every time I login after a reboot/power cycle the explorer takes some time to show up. I've taken the step of waiting for all the services to boot up and then I login, but it doesn't make any difference. The result is always the same: Some of the icons ...

Clearing the Windows "Run" dialog history without rebooting

I am currently working on a program to immediately clear the list of previously-run-commands which appears in the Windows Start -> Run dialog. The procedure for clearing this list by removing the *HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU* key is well documented; however, before these changes take effec...

Drag and drop onto Python script in Windows Explorer

I would like to drag and drop my data file onto a Python script and have it process the file and generate output. The Python script accepts the name of the data file as a command-line parameter, but Windows Explorer doesn't allow the script to be a drop target. Is there some kind of configuration that needs to be done somewhere for this...

Explore containing folder instead of open containing folder

Hello, I use Visual Studio to do a lot of my coding. I find the open containing folder feature quite helpful. But I don't want the folder to be "opened" by the windows explorer, instead I want to "explore" the folder -- you know, get the nice little frame showing me all the other folders on the left hand side. Does anyone know how to do...

How to host a rooted namespace extension in Windows Explorer

There is a method to create a namespace extension rooted in a particular folder. It involves creating folder with a name like: My Custom NSE.{785EE551-DEE1-4F57-A8C9-0EF76F346A29} And Windows Explorer will automatically host the NSE of that clsid at that location. But for the life of me i cannot find the syntax anymore. It used to b...

Cross-application drag-and-drop in Delphi.

I would like to create a Delphi application for Windows XP which allows dropping of files dragged from Windows Explorer (the Desktop or folder windows) or other applications which support this operation (such as Total Commander). What about vice-versa? When the user drags an icon from my application, I should be able to set the contents ...

How can I add a context menu to the Windows Explorer for a Java application?

How would one go about adding a submenu item to the windows explorer context menu (like for example 7-Zip does) for a Java application? ...

Windows Explorer "Command Prompt Here"

I frequently find myself with a folder open in Windows, wishing to have a command prompt open with the same working directory. I am aware of Power Toys "Command Prompt", but that only works as a context menu item on the folder, and not from inside the folder if you are already there. I know you can navigate to the parent directory, and...

Windows Explorer's Busy cursors and give-up copy operations - why?

Can anyone please enlighten me as to why windows explorer is so, well, synchronous. Why are there so many operations that cause busy cursors. Also, can anyone understand why directory-copy needs to be as broken as it is, after all these years, can't something be done?! If I copy a directory and there's a file in that directory being lo...

How to create a right-click context shell shortcut "edit with Emacs"?

Notepad++ automatically adds a shell shortcut so that when you're in Windows Explorer, you can right-click on a file and select "edit with Notepad++". How can I do the same with emacs? I am using GNU Emacs 22.3 for Windows. ...

How to programatically restart windows explorer process

I'm working on a windows shell extension, and unfortunately, when making changes to the DLL, I must restart windows explorer (since it keeps the DLL in memory). I found this program from Dino Esposito, but it doesn't work for me. void SHShellRestart(void) { HWND hwnd; hwnd = FindWindow("Progman", NULL ); PostMessage(hwnd,...

I want to implement a File Explorer, How can I read file's icon and display them?

I want to implement a File Explorer, It is different from a normal file explorer, it first scan file system and store information into database, them read file system information from Database, and display them, I need to store the icons of the file, how can I do this? Is there any Windows APIs? Many thanks! ...

How can I add a button to Windows Explorer. (not to IE)

I want to add a button to Win Exp. toolbar and run a script file with the button. How can I do it in Delphi? Or may be Win API? ...

How do I get Windows Explorer to show a preview of my files in 'thumbnail' view?

I'm making a 3D editor and I want Windows Explorer to show previews of the 3D models in the files when it's in thumbnail view mode. How do I do that? ...

How can I programmatically refresh Windows Explorer?

I have a Windows shell extension that uses IShellIconOverlayIdentifier interface to display overlay icons on files and folders. My extension is a little like TortoiseCVS or TortoiseSVN. Sometimes I need to make Windows Explorer redraw all it's icons. To do this, I call SHChangeNotify like this: SHChangeNotify(SHCNE_ASSOCCHANGED, SHCN...

Explorer thumbnails (winXP)

I have a file format I need to be able to show in explorer thumbnails. Since the target system is windows XP, the Vista PreviewHandler API will not be suitable. Ill be using c++. How would I do it? ...

How to make Windows Explorer always use detail view?

As a developer I work with a lot of source code files etc. and I need to copy these around, rename, etc. I'm sure any developer knows the drill. Windows Explorer is really "helpful" in suggesting different Views for different folders. Apparently one source code folder is an image folder, another apparently needs large icons etc. This ap...

Windows Explorer - Dynamic Icons For Same File Extensions

For Visual Studio .sln files, Window Explorer is doing something "clever" to figure out whether to display the v8 or v9 icons. Now when it comes to double-clicking/launching the icon, I know that it goes through a "Visual Studio Launcher" app which looks at the version info in the sln file and selectively runs VS2005 or VS2008 But any...

Is there a way to see SVN revision numbers in Windows Explorer?

Is there a way you can add a column to the Details view of Windows Explorer that shows the subversion revision number of each file? I'm on Vista and am using TortoiseSVN. ...

What happened to the Group by, Sort by, Stack by Column Header Context Menu in Windows 7 RC?

As a dev I normally group my explorer detail view by file type. This way all the config files, assemblies, executables etc are grouped and ready to be copied, just by clicking its group header to select all related files. In beta build 7000 one could hold Ctrl and select many groups to select all the related files. IMO since RC build 7...