Sunday, January 16, 2011
【School】 DOS commands weak Collection (1).
<br> <BR> most frequently used commands <BR> <BR> cd change the current directory sys production <BR> <BR> copy DOS system disk to copy files to delete files <BR> <BR> deltree del to delete the directory tree dir list file name .<BR> <BR> diskcopy edit text editing system for disk format the disk md <BR> <BR> format create subdirectories <BR> <BR> mem view memory status display contents of the file type to delete the directory ren <BR> <BR> rd .change the file name <BR> <BR> remember how many, ah, forgot to go to school to see, following four commands are new, give the command format, you try, the important thing is to explore computer science. .<BR> <BR> Cls clear screen <BR> <BR> [where applicable] the screen is too messy, or a garbled screen, and clear the screen on the display but does not affect the internal computer of any <BR> <BR> .Information <BR> <BR> [usage] cls Enter <BR> <BR> move move files, change the directory name <BR> <BR> [where applicable] moving files to another directory <BR> <BR> [Usage .] move [file name] [Contents] moving files to the new directory <BR> <BR> move [directory name] [directory name] to change the directory name <BR> <BR> [example] c:> movec: autoexec. .batc: old <BR> <BR> autoexec.bat file to move the old directory <BR> <BR> c:> movec: config.sysc: temp <BR> <BR> config.sys file to the old mobile .directory <BR> <BR> more split screen <BR> <BR> [where applicable] When the output of a lot less than a screen display used, for almost all orders, especially the type <BR> <BR> such an order is .useful. .Can not have more time to use write-protected disk, not suitable for CD-ROM. . <BR> <BR> [Usage] type [filename] | more split-screen display file contents <BR> <BR> more <[file] split-screen display file contents <BR> <BR> [example] C:> .; typemsdos.w40 | more <BR> <BR> xcopy copy of the directory and file <BR> <BR> [where applicable] during the copy together with the subdirectory is useful when copying large files over the COPY command <BR> < .BR> faster <BR> <BR> [usage] xcopy [file name] [directory] to specify the files are copied to the specified directory <BR> <BR> xcopy [source directory] [destination directory] the source directory with sub- .directory test to the destination directory <BR> <BR> xcopy *.* [directory] / s non-empty directory with the files copied to the specified directory <BR> <BR> there are other commonly used parameters: v copy after verification, will .affect the speed <BR> <BR> e and s similar, but even empty subdirectories will be copied. .<BR> <BR> Attrib set file attributes <BR> <BR> [where applicable] want to file to do more special treatment <BR> <BR> [usage] attrib displays attributes of all files <BR> <BR> .attrib + r or-r [file name] Set the file property is read-only <BR> <BR> attrib + h or-h [file] setting file attributes are implied <BR> <BR> attrib + s or - .s [file name] property is set to the file system file <BR> <BR> attrib + a or-a [file] set file property is the archive <BR> <BR> attrib / s set includes a file subdirectory .file attributes, including <BR> <BR> [example] C: TEST> attrib + rwina20.386 <BR> <BR> C:> attrib + h *.* / s all hidden files <BR> < .BR> date display and modification date <BR> <BR> [where applicable] want to know or modify the time and date <BR> <BR> [usage] date display and change the current date <BR> <BR> [example] C: .>date09-20-1996 the date to September 20, 1996 <BR> <BR> C:> date <BR> <BR> CurrentdateisTue08-20-1996 <BR> <BR> Enternewdate (mm .-dd-yy) :09-20-1996 <BR> <BR> month - day - in order to modify the current date ignore the changes directly on the Enter key to set the date <BR> <BR> lable volume label <BR> < .BR> [where applicable] for the disk to be used to mark <BR> <BR> [usage] label shows the disk volume label <BR> <BR> label [letter] [volume name] to set the volume label of the specified disk .<BR> <BR> [example] C:> label <BR> <BR> VolumeindriveCisWANG <BR> <BR> VolumeSerialNumberis2116-1DD0 <BR> <BR> volumelabel (11characters, Enterfornone)? <BR> <BR> .can enter the label directly after carriage <BR> <BR> Deletecurrentvolumelabel (Y / N)? <BR> <BR> remove the old label by y, n does not change the <BR> <BR>.
Labels:
[:]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment