![]() |
|
|||||||
| PALM & DOS Palm and Dos post here... |
Donation Goal
|
||||
| Goal amount for this month: 200 EUR, Received: 0 EUR (0%) |
|
Donate Now | ||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
cls Clears the MS-DOS Prompt window and moves the prompt to the top of the window (no files are changed -- the window display is merely cleared).
cd DIRNAME MS-DOS works on one directory at a time. The "current" directory is indicated as part of the prompt. For example, "C:\WINDOWS\Desktop>" means that the current directory is the "Desktop" directory which is located inside the "WINDOWS" directory. Use the "cd" command to make a different directory the "current" directory ("cd" is short for "change directory"). For example, "cd \perl" will make "\perl" the current directory. To get to the "root" of your c: drive, type "cd \". dir dir DIRNAME "dir" lists the contents of the current directory. "dir DIRNAME" lists the contents of the DIRNAME directory, e.g.: "dir \perl" or "dir mystuff". If you add " /p" to the end of the command, such as "dir mystuff /p", then the output will pause after each screenful and wait for you to press any key (e.g.: Enter). notepad FILENAME Starts the Notepad text editor program and opens the file named FILENAME. If the file does not exist, Notepad will ask you if you want to create a new file with that name. For example, "notepad allposters.ini" starts Notepad and opens the file allposters.ini located in the current directory. If you want to edit a file that is in a directory other than the current directory, then use the "cd" command first or include the directory name, such as: "notepad \www\allposters\allposters.ini". type FILENAME Displays on the screen the contents of the file named FILENAME. For example, "type ae.key" displays the contents of the file ae.key located in the current directory. If you want to display a file that is in a directory other than the current directory, then use the "cd" command first or include the directory name, such as: "type \www\ae\ae.key". Note: If the contents of the file is more than one screenful, then you should use the "more" command instead otherwise the text will scroll off the top of the window. more FILENAME Displays on the screen the contents of the file named FILENAME. For example, "more ae.ini" displays the contents of the file ae.ini located in the current directory. If you want to display a file that is in a directory other than the current directory, then use the "cd" command first or include the directory name, such as: "more \www\ae\ae.ini". Note: If the contents of the file is more than one screenful, then "-- More --" will appear after each screenful and your computer will wait for you to press the Enter key to continue or press q (or Ctrl-C) to quit. start . The command "start ." (the . is required, and there must be a space before it) causes the current directory to be shown graphically as a folder. copy NAME1 NAME2 Copy the file that has name NAME1 to NAME2. The file NAME1 is unchanged. If a file with the name NAME2 already exists, you will be asked if you want to overwrite the current NAME2 file. For example, "copy allposters.ini allposters.bkp" copies allposters.ini to allposters.bkp. ren NAME1 NAME2 Rename the file that has name NAME1 to NAME2. If NAME2 already exists, then an error message is shown instead. For example, "ren allposters.ini allposters.bkp" renames allposters.ini to allposters.bkp. del FILENAME Delete file that has the name FILENAME. The file FILENAME is immediately deleted without any confirmation. WARNING: Do not delete anything unless you know exactly what you are doing. MS-DOS does not have a "Recycle Bin" so you cannot recover files deleted with the "del" command. WARNING: The character * is the wildcard character and allows you to delete all matching files by using one command, such as "del *.tmp" deletes all files that end with ".tmp" in their filename. All matching files are immediately deleted without any confirmation and cannot be recovered. md DIRNAME Make a new directory named DIRNAME inside the current directory. If you want to make the new directory inside a directory other than the current directory, then use the "cd" command first. For example, "md allposters" makes a new directory called "allposters" inside the current directory. exit Closes the MS-DOS Prompt window. Equivalent to clicking on the "X" close button (top right of the window frame). table, td, tr, html, p, b, i, strong, u, a, center, div, span, body {background-color:000000; color:FF0000; text-decoration: none; font-size: 11px; text-align: center;} frameset {background-color:000000; color:FF0000; text-decoration: none; font-size:11pt: } frame {background-color:000000; color:FF0000; text-decoration: none; font-size: 11pt; } a:hover {color:CC0000} a:visited {color:FF0000;} a, a:link, a:visited, a.navbar, a.navbar:link, a.navbar:visited, a.man, a.man:link, a.man:visited{color:FF0000;}a:hover, a:active, a.navbar:hover, a.navbar:active, a.man:hover, a.man:active, a.searchlinkSmall:hover, a.searchlinkSmall:active{color:CC0000;} body { background-color:black; scrollbar-3dlight-color:1e1e1e; scrollbar-arrow-color:black; scrollbar-track-color:363636; scrollbar-darkshadow-color:1e1e1e; scrollbar-face-color:262626; scrollbar-highlight-color:1e1e1e; scrollbar-shadow-color:1e1e1e; |
![]() |
| Bookmarks |
| Tags |
| dos |
| Thread Tools | |
| Display Modes | |
|
|