windows-explorer

“Build” item in Windows Explorer's context menu of a VS solution file?

给你一囗甜甜゛ 提交于 2019-12-03 12:29:00
I wonder why this is not integrated by default. I'd like to have an item in Windows Explorer's file context menu of a VS solution file to build it. Is there a tool for this? Or do I have to create this myself? MSBuild Shell Extension have been there for years, http://msbuildshellex.codeplex.com/ But you might also try out my new project, http://msbuildlaunchpad.codeplex.com/releases/view/45368 It is quite easy to use. MSBuild Launch Pad http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=msbuildlaunchpad&DownloadId=122261 It's going to be fairly high maintenance, but not

Can I modify the Windows 7 preview pane so HTML files display just the text in the preview instead of rendering the html?

放肆的年华 提交于 2019-12-03 07:42:57
When I click on html files in explorer the preview pane currently tries to render the html for the preview. I'd like the behavior to just show me the text without interpreting the tags. Is there a way to do this by messing with the registry or changing a setting somewhere? Update: Just use the PreviewConfig utility (zip file download) , which makes the required changes to the registry for you. Here is a detailed explanation of how the registry changes work. To view HTML files as text in the preview pane use this registry patch (save with a .reg extension and double-click): Windows Registry

Selecting file in Windows Explorers does not always work

断了今生、忘了曾经 提交于 2019-12-03 06:32:44
Using the following explorer.exe /select, "c:\path\to\file.txt" I can open Windows Explorer and select the file. In Delphi I do this to select "Parm" file: ShellExecute(Application.MainForm.Handle, 'OPEN', PChar('explorer.exe'), PChar('/select,"' + Parm + '"'), nil, SW_NORMAL); And it works. My problem is this: if I select a different file in the recently opened Explorer (clicking in a different file) and then call the above code the "Parm" file is not selected again. Interestingly, there are some programs that select the file again. For instance, ITunes always selects the desired file. Does

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

扶醉桌前 提交于 2019-12-02 17:10:16
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. 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\openwemacs] @="&Edit with Emacs" [HKEY_CLASSES_ROOT\*\shell\openwemacs\command] @="Absolute\\Path\\to\\your\\emacs\

How to open the Run window programmatically

落爺英雄遲暮 提交于 2019-12-02 01:25:54
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 8 years ago . Everyone knows the Run window that you can open with the shortcut Windows+R or directly in the Windows menu then Run. I'm wondering how to open this Run window programmatically. This window seems to be part of explorer.exe. Does anyone have an idea on it ? 回答1: You can use IShellDispatch::FileRun to achieve this. See Using the Windows RunFile dialog - The documented and undocumented

How to open the Run window programmatically

旧城冷巷雨未停 提交于 2019-12-01 22:17:44
Everyone knows the Run window that you can open with the shortcut Windows+R or directly in the Windows menu then Run. I'm wondering how to open this Run window programmatically. This window seems to be part of explorer.exe. Does anyone have an idea on it ? You can use IShellDispatch::FileRun to achieve this. See Using the Windows RunFile dialog - The documented and undocumented way for details and sample code. If you mean that it could open say at 8:00 am, then you can use autohotkey and simply write SendInput {Raw}{Lwin}{R} and then compile it as an .exe and put it as a cron job 来源: https:/

How to get the PIDL of an open explorer window?

佐手、 提交于 2019-12-01 09:22:13
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 is pointing to, but how can I find out what it is pointing to for these special folders? Reading up a

Send Folder Rename Command to Windows Explorer

雨燕双飞 提交于 2019-12-01 09:21:00
I have a shell extension made in .NET that creates folders (think of it as a context menu New -> New Folder option clone) and uses a InputBox to input the name of the folder from the user. Instead I want to send the rename command on the folder to the already open Windows Explorer window. It should be just like how Explorer lets us name a new folder: On searching, I found this : Windows Explorer Shell Extension: create file and enter "rename" mode . It says to use the IShellView::SelectItem function with the SVSI_EDIT flag. How do I do that with .NET? If that's hard, is there another way to do

Cannot drag and drop to debugged-application run from a privileged-run Visual Studio 2010

可紊 提交于 2019-12-01 03:43:25
I'm debugging my application which has drag-n-drop features in Visual Studio 2010. I have to run the IDE in privileged mode since some of my project required so. My problem: I can drag-drop when run the .exe file normally (run from Windows Explorer (WE)) but when debugging in VS2010 I cannot do drag-dropping between my app and WE. I tried to open WE in privileged mode but still cannot debug either. Do you have the same problem? If you do, do you have any work-around for it? Please share. Another workaround is to run the debug binary from Windows Explorer and attach to the process from within

How to show Windows Explorer context (right click) menu?

吃可爱长大的小学妹 提交于 2019-11-30 15:54:39
问题 I want to show the Windows Explorer context menu. I don't want to add my application to it, I just want to display it. A good example of the implementation that I need is Total Commander. If you press and hold right mouse button, TC will show the context menu, which is exactly the same as in Windows explorer. I'm using C++/Qt, but language is not important here. 回答1: I found several samples that may help you. You're not likely to be able to do this with Qt alone, since the shell context menu