LOGO

Run Commands in Windows Explorer Address Bar - Stupid Geek Tricks

March 8, 2013
Run Commands in Windows Explorer Address Bar - Stupid Geek Tricks

Executing Commands Directly from Windows Explorer

A convenient feature exists within Windows Explorer allowing users to execute commands directly from the address bar. This functionality enables the launching of applications, much like utilizing the command line interface.

For example, typing cmd into the address bar and pressing Enter will initiate a new command prompt. The current directory within the prompt will automatically be set to the folder currently open in Explorer.

Launching Applications

Beyond simply opening a command prompt, other commands can be executed. Consider the scenario of opening a file using Notepad.

If a file named test.txt resides on your desktop, navigating to the Desktop folder in Explorer and entering notepad test.txt into the address bar, followed by pressing Enter, will directly open the file in Notepad.

Additional Command Examples

The versatility extends to other commands as well. To view a directory listing of the current folder using the command prompt, you can input cmd /k dir into the address bar.

While this particular example might seem unnecessary, it demonstrates the capability to run a wide range of commands directly from the Explorer address bar. This provides a quick and efficient alternative to navigating through traditional methods.

This feature offers a streamlined approach to common tasks, enhancing user productivity within the Windows operating system.

#windows explorer#command line#address bar#geek tricks#productivity#windows tips