2019.10.07 08:22

Understanding Files

In the Desktop directory, as shown in the above example, there are 23 files and 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, website move into that directory with the cd command.
TAG •

List of Articles
번호 제목 글쓴이 날짜 조회 수
10233 Porno Gif ToneyShackelford558 2019.07.12 11128
» Understanding Files PenniFro126340374 2019.10.07 5868
10231 Fixed Odds Casino Games NanPelzer940752500 2019.11.11 4182
10230 Chicas En Denia Contactos DamionBlaxcell129147 2019.08.11 2789
10229 Steadily Asked Questions About Depression Remedy MindaHinkle78981030 2019.04.03 2765
10228 Porno Rumana Elvera4786282150979 2019.07.11 2443
10227 Kickstarter Adult Game MarkusRayner3414 2019.08.12 2325
10226 Five Of The Greatest Day Spas In The Durham, Idaho Area Nicole62D60487561 2019.10.02 2060
10225 The Biggest Ingredient For Internet Marketing Success JacintoChamplin7 2019.11.01 1981
10224 Hal Yang Harus Dihindari Begitu Bermain Judi Online Blackjack JulissaFarr32324 2019.10.18 1765
10223 Baise A La Salle MadelineVale78813416 2019.07.17 1688
10222 Trik Dan Trik Menang Judi Taruhan Domino Qiu ErnestineGatewood02 2019.10.12 1659
10221 Game Seluler - Cara Cair Mendapatkan Liku-liku Kehidupan Mendebarkan MarianArmijo2437554 2020.07.20 1555
10220 Tips Jadi Player Profesional Berkualitas Game Bandarqq Online PaulaMusser120690 2020.06.23 1278
10219 Toon Porn Games JohnetteConforti974 2019.08.11 1246
10218 Tomas Falsas Del Porno NJJCandice050205009 2019.07.11 1218
10217 Hd Dvd SofiaAmess0431221441 2020.04.12 1197
10216 Capai Banyak Faedah Dengan Beroperasi Bandarqq NamKahl39045239 2020.06.23 1157
10215 Supercharge Your Home Based Business Weblog With These 15 Must-Have Weblog Plugins WilliamsBingaman2539 2019.04.07 1130
10214 Cam Live Porno HeribertoSavoy2 2019.07.12 1039
목록
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 512 Next
/ 512