4 – use double rather than high density (40 tracks) /8 – use 8 sectors of each track a!b – preceding and all subsequent files are ascii! binary (* filenames in source(s) and target are matched one-to-one.)ĭisplay and/or set date (numerical country-dependent format)ĭelete file(s) – prompts if pathname is *.*ĭisplay directory – filename and/or ext default to * /p – paginateĬopy disk sector-by-sector rather than file-by-fileįind and display lines containing string in file /v – lines NOT containing stringįORMAT drive: (A: drive only) /1 – single sided Filename can also be qualified with a path or file location, for example: A:\dir1\dir2\filename REN oldname newname : Rename oldname to newname file. So if you want to print your Pascal program called first you would need to use: Remember that the file name must include the file extension. You could also use an editor such as DOS Edit to display a file, in which case, as a bonus, you would then be in a position to correct any errors you might notice. If the printer is busy, or if you don’t need a printed copy, you can use the TYPE command to view a file on the screen. Where filename is the file to be printed. The source disk should be write protected using the tab in the corner in case you mistake it for the target disk (see the chapter on using disks). If the second disk is not formatted it will be formatted automatically. When a copy of your disk is generated in the computer’s memory, the computer tells you to remove the first or source disk and insert the disk, which is to become the copy (the target disk). Where A: denotes the drive the disks will be loaded into. DIR /P : The same information will be displayed page by page with the message:ĭIR /W : The listing is of names and extensions only and in a more compact format across the page. If used without options this command will give a list of files in the current directory, including any extension (e.g.for), and their size. This feature is very useful when deleting unwanted files with identical extensions.ĭIR : Obtain a list of the files stored in a directory. It is possible to use a ‘*’ character in a filename to match any sequence of characters. Note that the name must include the file extension. You are asked to confirm that you really want to delete the file. So if you were copying a fortran program called first.for, for example, you would need to include the. Note that the file names used in the copy command must include the file extension if it exists. The command can be used to merge several files into one file since the original-file parameter can be a list of filenames separated by the symbol. Where original-file and destination-file are file names, separated by a space.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |