Enhance the resource manager right-click function, including source code

Source: Internet
Author: User

Recently, I have been reading C ++, C ++ primer-"Objective C ++-" to learn more about MFC-"Windows Programming-" and Windows core programming, although I have read it, I have not remembered anything except common ones. I thought that I could not remember it, but I could only understand it. So I wanted to find something to train my trainer. I used C # To write a software to enhance the right-click menu function, this time, I moved to C ++ and became a trainer.

First, check which menu items are added to the right-click File. below is the effect of right-click on the file: only copy the file path, so there is no need to explain what to do.

The following shows the effect of right-click on the folder. There are many items. The function will be described later.

The following figure shows the effect of right-click on the drive, which is similar to that in the folder. Instead, you can change "virtual as drive" to "Disable Virtual Drive ".

The following describes the functions:

1. Copy path. Files, folders, and drives can directly copy the path of the selected item. The path of some software in the file.

2. Go to cmd. You can right-click the folder and drive to directly Enter cmd, which is much more convenient than starting, running, and CMD to enter the desired directory.

3. the folder is virtual drive and the virtual drive is closed. This is done by directly calling the SUBST command. For more information about its functions, see SUBST commands.

4. Create a link folder. This is done by directly calling the mklink command. For more information about its functions, see Introduction to the mklink command. I personally think this command is very powerful.

5. Clear the project. This is designed for programmers and has very practical functions. It can clear unnecessary files in the project folder and copy them to the USB flash drive after cleaning. It is very convenient for VC, VC # project. Usually, only K of data is left after cleaning.

There are so many functions that I need for the moment. If you have any good suggestions, please reply and add more practical functions.

Installation is also very simple. Open socancontextmenu.exe and click Install. I found 360 intercepted during installation, because the installation will copy the EXE to system32. If the function is abnormal after installation, you can check whether socancontextmenu.exe is in the c: \ windows \ system32 folder, no. You can manually copy it.

: Http://download.csdn.net/detail/liaoyungchun/7821995

Enhance the resource manager right-click function, including source code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.