Unlock For Us

Permanently add Open cmd.exe Here to Folders Right-Click Menu

The ability to launch cmd.exe and automatically change the directory to specific folder in windows can be copied and put in every folders right click menu options instead of keying Shift along.

Open

This registry hack will let you access folders via cmd.exe right away.

 

Go to the Registry folder below:

HKEY_CLASSES_ROOT\Directory\shell

Once your inside the folder, Right-click the Shell folder > New > Key

Enter “cmd.exe” as shown in the path below:

HKEY_CLASSES_ROOT\Directory\shell\cmd.exe

cmdexe

Go to the default of cmd.exe and enter the following Value Data

(Default)

Open cmd.exe Here

Proceed with the next Key and create the folder “command” using the same procedure:

HKEY_CLASSES_ROOT\Directory\shell\cmd.exe\command

command

Next, Double-click Default of command and enter the Value data below:

(Default)

cmd.exe /s /k pushd "%V"

Alternate command

cmd.exe /s /k cd %1

 

That’s it!


Read more...

Unlock For Us

Faster way to Search files and folders using your command prompt

When you are working on something at your command prompt and suddenly you need to find a file or folder, here’s a way to search your files using your cmd.exe.

 

Using DIR to search files

DIR myfile*.exe /s

What to do

Make sure that your on the root drive first  before finding files

cd\

Full

If the screen is full just add /p option at the end of the command

DIR myfile*.exe /s /p

 

EXAMPLE

C:\>dir 021*.mp4 /s
Volume in drive C has no label.
Volume Serial Number is 5CBF-6ECD

Directory of C:\Downloads

07/07/2016  08:01 PM       105,417,367 0218574.mp4
               1 File(s)    105,417,367 bytes

     Total Files Listed:
               1 File(s)    105,417,367 bytes
               0 Dir(s)  113,690,787,840 bytes free

C:\>

 

DIR /s command displays files in specified directory and all subdirectories. It quickly find files that you are looking for using command prompt.

That’s it!


Read more...

 

© UnlockForUs 2007-2016 | Blogger| Google.com| License Agreement