How to easily open the EXE execution file and enter the folder in the form of a command line

Source: Internet
Author: User

Users who frequently open the EXE execution file in the form of command lines should know that double-clicking directly will flash back. The correct way to open the file is as follows: Run cmd.exe -- "drive letter:" -- "CD certificate Certificate-example execution file .exe ".
650) This. width = 650; "alt =" image "src =" http://b384.photo.store.qq.com/psb? /V14213q40xigxa/ebaojq0a0t5kynt2kbwwkx2oiznzl6rv7nf0vctzp6e! /B/djhv5ut0hqaa & EK = 1 & Kp = 1 & Pt = 0 & BO = qakjaagcowedacu! & Su = 0266559217 & SCE = 0-12-12 & Rf = 2-9 "style =" margin: 0px; padding: 0px; border-width: 0px; border-style: none; Vertical-align: Top; width: 680px; Height: 419px; "/>

I provide a convenient method here. The principle is the same as above: Open the registry and create a new item named "shell" under "hkey_classes_root, under item "shell", create an item named "open this file through cmd", and create a project named "command" under item "open this file through cmd. Edit the program strings in the project commanders and paste the code into cmd.exe/K title "% 0" & "% 0 "".

Close the Registry. Right-click the EXE execution file and you will find an additional option "open this file through cmd.
650) This. width = 650; "alt =" image "src =" http://b382.photo.store.qq.com/psb? /V14sk6q40xigxa/cuojgqtcozdpuqyxpfo0c2gwzyuplh7. yv9cr97kcui! /B/dkvovoohaaaa & EK = 1 & Kp = 1 & Pt = 0 & BO = cqhoaheb6aadacu! & Su = 031170641 & SCE = 0-12-12 & Rf = 2-9 "style =" margin: 0px; padding: 0px; border-width: 0px; border-style: none; Vertical-align: Top; width: pixel PX; Height: 232px; "/>
650) This. width = 650; "alt =" image "src =" http://b385.photo.store.qq.com/psb? /V14213q40xigxa/qhyzcy8lqckxhh9gdffw80tuz5hoigth6ju1rbqsxuq! /B/dkhufuvjlqaa & EK = 1 & Kp = 1 & Pt = 0 & BO = pqjjaqaaaaadamo! & Su = 074375697 & SCE = 0-12-12 & Rf = 2-9 "style =" margin: 0px; padding: 0px; border-width: 0px; border-style: none; Vertical-align: Top; width: 677px; Height: 329px; "/>

Similarly, you can add right-click items to a folder, in "hkey_classes_root \ directory \ shell \ open this folder \ commandswan Add code under cmd.exe/K title" % 0 "& CD" % 0 "", you can add the right-click item "open this folder through cmd ".

You can also use the following convenient methods:

Create a text file and paste the following code:

  1. Windows Registry Editor Version 5.00

  2. [Hkey_classes_root \ * \ shell \ open this file \ command through cmd]

  3. @ = "Cmd.exe/K title \" % 0 \ "& \" % 0 \""

  4. [Hkey_classes_root \ directory \ shell \ open this folder \ command through cmd]

  5. @ = "Cmd.exe/K title \" % 0 \ "& CD \" % 0 \""

650) This. width = 650; "alt =" image "src =" http://b382.photo.store.qq.com/psb? /V14213q40xigxa/w7ukunryoffm. 7mu * bctkuralw.mxfanpn6. ahw8fs0! /B/da9puooiaaaa & EK = 1 & Kp = 1 & Pt = 0 & BO = kwibapmcgwidacu! & Su = 098328529 & SCE = 0-12-12 & Rf = 2-9 "style =" margin: 0px; padding: 0px; border-width: 0px; border-style: none; Vertical-align: Top; width: 659px; Height: 539px; "/>




Change the file name to "cmd. Reg"
650) This. width = 650; "alt =" image "src =" http://b384.photo.store.qq.com/psb? /V14213q40xigxa/pixy8v7ehep83fktogtfrcj * cc9c. wyn86kwyo4aira! /B/dfyd6ot1hqaa & EK = 1 & Kp = 1 & Pt = 0 & BO = agdmago azaadacu! & Su = 053946161 & SCE = 0-12-12 & Rf = 2-9 "style =" margin: 0px; padding: 0px; border-width: 0px; border-style: none; Vertical-align: Top; width: pixel PX; Height: 204px; "/>

Double-click it.

----


This article from the "vegetable garden" blog, please be sure to keep this source http://caigy.blog.51cto.com/8603948/1569191

How to easily open the EXE execution file and enter the folder in the form of a command line

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.