Home > How To > Opening Desktop Folder From Command Line

Opening Desktop Folder From Command Line

Contents

To create a directory in the current directory use the mkdir command. Typing "help" gives you a listing of available commands with a brief description of each of the commands. RSS ALL ARTICLES FEATURES ONLY TRIVIA Search How-To Geek How to Open an Explorer Window from the Command Prompt's Current Directory There are all kinds of ways to open a Get into the Windows command line Open a Windows command line window by following the steps below. Source

Wish I had found your site long before I came upon it myself with what seems to be simply another way to open up the "My Documents" directory! For most users, you'll only be concerned with executable files, which as mentioned above is a file that ends with .exe and are also files that end with .com and .bat. BEST OF HOW-TO GEEK How to Fax a Document From Your Smartphone Taking Photos With an iPad or Another Tablet: Ridiculous or Smart? solved How do I open command prompt on Windows 7 starter Tried to start in safe mode with command prompt but does not open compand pr How do i open cmd http://www.computerhope.com/issues/ch000928.htm

How To Navigate To A Folder In Cmd

If you were to rename the .bat file to a .txt file, it is no longer an executable file only a text file. Often when opening the command prompt window, you'll automatically be placed into the (username) directory. Moving into a directory Now that we've seen a list of directories (shown below) in the current directory move into one of those directories. Ask !

In this example, we are creating a batch file. Therefore you'll only need to type cd desktop to get into the desktop. Windows 98, 95, and ME users When entering the MS-DOS prompt, you should automatically be placed into the desktop directory. How To Open Folder In Cmd Windows 7 JOIN THE DISCUSSION (2 REPLIES) Got Feedback?

When working with a file or directory with a space, surround it in quotes. Helped me a lot. - Pradip Chaughule This article was very useful. - Shikha Shah Step 3 was helpful. - E. You can also build off that double period shorthand be adding a relative path to the end. http://www.computerhope.com/issues/ch000928.htm From the command line, you use the cd (or change directory) command instead.

To move one level upper you have to write cd ../ which is again relative to the folder where you are at the moment. Open Folder In Command Prompt Windows 8 When you first start the Command Prompt, you will be located in your personal directory. If you are interested in learning every command, see our Microsoft DOS and command prompt help page, which gives a description and example for every command. While you’re there—or when you’re in any folder (directory in Unix-speak)—you might want to know what’s in it.

How To Open A File In Cmd

solved How can I use the Run/CMD command to see my IP Config? On this page, you'll learn how to move around in the command line, find files, manipulate files, and other important commands. How To Navigate To A Folder In Cmd I have XP and I really missed this feature. How To Open A Text File In Cmd If you need additional information or alternative methods for all versions of Windows, see our how to get into DOS and Windows command line page.

Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). this contact form For example: If you are currently at C:\Users\username\ and you enter cd\ you will be taken to C:\ driveletter: - This command will take you to the drive letter that you share|improve this answer answered Feb 16 '12 at 7:55 Ivan Dokov 4501415 In my home directory there are only two users, git and vmwaretools?! –EdwardBlack Jul 19 '16 at Learn more about this here. Macworld Macworld is your best source for all things Apple. Windows Command Prompt Commands

For example, if we wanted to look at the log file hijackthis.log we would type edit hijackthis.log at the prompt. You can also access it by entering cmd into the Run field, or it can be found in the Accessories/System Tools folder of the Start menu. November 18, 2010 Reply boris @ 11:23 pm Hi and thank you very much this is great! have a peek here November 3, 2010 Reply arpan @ 12:56 am how to view the files which are opened at that time..

Now rename our dir2 directory to something else using the same rename command we used earlier. Open Folder From Command Line Ubuntu Every command in the command line has options, which are additional switches and commands that can be added after the command. I am running windows XP, please advise.

If you want to view the contents of a file, most versions of the command line use the edit command.

There are a few key commands to getting around in Command Prompt. In this case we are in /var/www/: share|improve this answer edited Feb 16 '12 at 16:51 answered Feb 16 '12 at 14:14 Luis Alvarado♦ 113k115416593 add a comment| up vote 2 my email : [email protected] Leave a Comment Click here to cancel reply. Open Command Prompt In Folder Windows 10 Flag as duplicate Thanks!

Creating a directory Now with your basic understanding of navigating the command line let's start creating new directories. To move into a directory, we use the cd command, so to move into the Desktop type cd desktop and press enter. Ask Ubuntu works best with JavaScript enabled MESSAGES LOG IN Log in Facebook Google Email No account yet? Check This Out Was this page useful?

Press Enter after each command to execute it:[1] dir - This command will list all of the folders and files in the directory you are currently at. Go ahead and open up a Command Prompt window by hitting Windows+X and selecting "Command Prompt" from the Power Users menu. January 22, 2010 Reply mule(i need how to open folder from any where from my comouter) @ 2:50 pm please again i need to open file or folder using command prompt As mentioned earlier, there are hundreds of other commands that can be used at the command line.

All Rights Reserved How-To Geek Articles l l What's New in Windows 10's Creators Update, Arriving Spring 2017 How to Repair Windows Bootloader Problems (If Your Computer Won't Start) How to In future articles, I’ll show you how you can apply the ls and cd commands in more depth, so you can be comfortable flitting around your file system from the command How to list available commands After getting a good understanding of using the command line from the steps shown above you can move on to other available commands by typing help The first image says Desktop/ because I typed "des" and then pressed TAB (which autocompletes the word and adds the trailing / symbol.

For example, if you want to see all the options for dir see our dir command page for a full listing. Published 11/8/16 2 Replies DID YOU KNOW?Spicy food becomes more spicy upon reheating because the capsaicin doesn't cook off with the water vapor during the reheating process, concentrating it in the Determining if a relation is reflexive I received a malicious email, how do I make sure I'm safe? FOLLOW US Twitter Facebook Google+ RSS Feed Disclaimer: Most of the pages on the internet include affiliate links, including some on this site.

You can access the Command Prompt by clicking the Start menu and entering cmd into the search field. Listing of file extensions and additional help with file extensions. June 10, 2011 Reply Paul Mindolovich @ 10:16 am Excellent tip. To prevent this error use the /s option.

Get the answer Ask a new question Read More Configuration Desktops Command Prompt Windows XP Related Resources Windows 8.1 desktop apps open command prompt and close on run solved How to When the name of these files are typed into the command line, the program runs, which is the same as double-clicking a file in Windows. If successful, you are returned to the prompt with no errors and the dir command shows no files in the current directory. In the examples below, you would replace the (username) with the name of the profile you use to log into Windows.

Once you've moved into a new directory the prompt should change, so in our example, the prompt is now C:\Users\Mrhope\Desktop>. Now type the following command… start . For 64-bit versions of Windows that do not support this command you can use the start command, for example, type start notepad hijackthis.log to open the file in Notepad.