Our Dream Your Reality




2018.12.04 20:33

Understanding Files

조회 수 3 추천 수 0 댓글 0
In the Desktop directory, as shown in the above example, there are 23 files and website 7 directories, representing different file types. In Windows, you are familiar with files having icons that help represent the file type. In the command line, the same thing is accomplished by the file extensions. For example, "forum posts.txt" is a text file because it has a .txt file extension. Time.mp3 is an MP3 music file and minecraft.exe is an executable file.

Listing of file extensions and additional help with file extensions.

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. 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. For example, if we wanted to run minecraft.exe typing "minecraft" at the prompt runs that program.

Note: Keep in mind that if the executable file you are trying to run is not in the current directory you'll get an error. Unless you have set a path for the directory that contains the executable file, which is how the command line finds external commands.

If you want to view the contents of a file, most versions of the command line use the edit command. For example, if we wanted to look at the log file hijackthis.log we would type edit hijackthis.log at the prompt. 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. Further information about opening and editing a file from the command line can also be found on the link below.

How to open and view the contents of a file on a computer.

Moving back a directory

You learned earlier the cd command can move into a directory. This command also allows you to go back a directory by typing cd.. at the prompt. When this command is typed you'll be moved out of the Desktop directory and back into the user directory. If you wanted to move back to the root directory typing cd\ takes you to the C:\> prompt. If you know the name of the directory you want to move into, you can also type cd\ and the directory name. For example, to move into C:\Windows> type cd\windows at the prompt.
Creating a directory

Now with your basic understanding of navigating the command line let's start creating new directories. To create a directory in the current directory use the mkdir command. For example, create a directory called "test" by typing mkdir test at the prompt. If created successfully you should be returned to the prompt with no error message. After the directory has been created, move into that directory with the cd command.

List of Articles
번호 제목 글쓴이 날짜 조회 수
510 Penis Extender - Some Things To Before Buying Penis Extenders VictoriaKane16331 2018.12.07 52
509 Ways To Determine The Best Foot Cream To Use JoeyOrr42034112 2018.12.07 39
508 Boss pozyczka ebygavo 2018.12.07 2
507 netcredit yzojyru 2018.12.07 3
506 Keep Turning And Back Just To Acquire The Right Audio LoisDurand45522 2018.12.07 20
505 You May Get The Stereos Using The Newest Features Or Any Other Form Basil6210670447862 2018.12.06 13
504 2 Walking For Weight Loss Tricks That Induce Immediate Loss Of Weight! DeloresStiltner561 2018.12.06 6
503 lendon opinie udecyze 2018.12.05 6
502 Numbingcreams26 Kitty07H00301998643 2018.12.05 0
501 loanme kontakt ociwuzux 2018.12.05 10
500 smart pożyczka kontakt equgose 2018.12.05 10
» Understanding Files SabinaCrick267446 2018.12.04 3
498 Online Tutorials Occasionally Are Combined With Face To Face Learning HortenseHammons6 2018.12.04 28
497 When Should You Contact A Heroin Hotline?  TamikaHailey6772713 2018.12.03 12
496 Online Purchasing Manual For Electronics CorinneCarandini1 2018.12.03 233
495 If You're Operating Alone For Many Hours Without Any One GalenA4543760714 2018.12.02 59
494 This Definite Car Stereo System Review Guide Will Help You To Buy The Very Best VelvaFreeland590 2018.12.02 18
493 Finest Car Radio Head Units To Your Stereo System -- 2017 MiguelCornejo4850 2018.12.02 11
492 Utilize Our Ipad Buying Guide To Find The Proper Apple FernandoHolliday93 2018.12.02 42
491 This Is Especially True On The Planet Of Oem In-Car Navigation Systems ElyseGregson259565 2018.12.02 10
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 27 Next
/ 27