windows-explorer

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

不打扰是莪最后的温柔 提交于 2019-12-31 08:13:17
问题 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. 回答1: Here's what I have - similar to some other answer. Create a new text file somewhere called emacs-conextmenu.reg (or anything-you-want.reg) and paste the following in: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell] [HKEY_CLASSES_ROOT\*\shell

How to get the PIDL of an open explorer window?

≡放荡痞女 提交于 2019-12-30 10:57:11
问题 I know how to get all open explorer windows, using Microsoft Internet Controls COM library. From this, I am able to find the LocationURL of those windows. However, this is only set for paths on the file system. Seemingly when virtual objects are displayed, like network printers or the recycle bin, LocationURL is empty. LocationName still seems to be set to the name which is visible on the start bar. When LocationURL is set, this is sufficient for my purposes to know where the explorer window

How to extend Windows Explorer with a custom panel

久未见 提交于 2019-12-29 02:05:10
问题 I would like to extend Windows Explorer with a custom bottom or right panel (like the image below). From what I have been reading, I think I should start by implementing IShellView. Is this correct? Can anyone give me a few pointers how to do this in .net? Thanks 回答1: You must implement IDockingWindow. Result will be look like this: One of the scenario: 1) Create BHO with IObjectWithSite support. 2) Inside IObjectWithSite.SetSite call Site.QueryInterface(IServiceProvider, ServiceProvider) 3

Set Height, Width and screen location of windows explorer

情到浓时终转凉″ 提交于 2019-12-25 09:27:13
问题 Using c# I'm trying to set the size and position of a Windows Explorer window I'm starting up with my program. I've looked a little bit into SetWindowPos but I don't think that works too good for Windows Explorer. I've come across this bit of code and I think it will do what I need but I don't know how to use it. SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows(); string filename; ArrayList windows = new ArrayList(); foreach (SHDocVw.InternetExplorer ie in shellWindows) { filename

Drag and Drop to explorer causing invalid FORMATETC (DV_E_FORMATETC) error

我的梦境 提交于 2019-12-24 06:31:07
问题 I'm trying to use this excellent example to implement dropping virtual files into Windows Explorer. However, I'm stymied by this error. Towards the bottom, inside void System.Runtime.InteropServices.ComTypes.IDataObject.GetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc, out System.Runtime.InteropServices.ComTypes.STGMEDIUM medium) on the first call to ((System.Runtime.InteropServices.ComTypes.IDataObject)this).GetDataHere(ref formatetc, ref medium); I'm getting back a DV

How delete folders created by yeoman in Windows?

血红的双手。 提交于 2019-12-24 03:20:38
问题 Following this guide, after execute the command yo webapp a folder named node_modules is created. I want to delete that folder but I can't do it neither using command line or Windows file explorer because the path is too long. How I can delete this folder? Error message at console: rmdir : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. 回答1: Specify the path using

How delete folders created by yeoman in Windows?

▼魔方 西西 提交于 2019-12-24 03:20:09
问题 Following this guide, after execute the command yo webapp a folder named node_modules is created. I want to delete that folder but I can't do it neither using command line or Windows file explorer because the path is too long. How I can delete this folder? Error message at console: rmdir : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. 回答1: Specify the path using

What is a reliable way to get a DLL to load when Windows Explorer loads?

冷暖自知 提交于 2019-12-24 02:13:57
问题 I am researching the development of an add-on for Windows Explorer that will add some enhancements to the WebDAV therein, and to that end I'm looking for a good, reliable way to force a DLL to be loaded with Windows Explorer in XP/Vista/Win7 32- and 64-bit OSes. I seem to recall that a BHO would be loaded by Windows Explorer in the same way that it is in IE, but my initial tests of this are negative on Vista 64. It's highly possible I'm just doing something wrong there and will look into that

Extend Windows explorer with BHO

泪湿孤枕 提交于 2019-12-23 11:44:11
问题 I am trying to extend whindows explorer (NOT IE) with a customized panel in C++, which should look like this: and here's a similar question I found (in C#) : Similar question The question is of C# and already got an answer. But I myself find the answer is a bit too brief for me to follow, here's what I got: I should implement a BHO object the BHO object should implemet IObjectWithSite and IDockingWindow In SetSite method, call QueryInterface to get the pointer of service provider, then call

moved symlink disappears from Windows Explorer

橙三吉。 提交于 2019-12-23 03:23:21
问题 I'd like to change the structure of our source code inside ClearCase before using a custom script to export that to another SCM system. As the original code may still change slightly, I did this by symlinking the contents of the existing folders into the new structure. Now the desired folder structure has changed and I need to move those symlinks (or start the whole process over, which is my fall-back strategy if no one can help me here). But after moving any symlinks (inside the same VOB in