Monday, January 4, 2010

File Processing at DOS

In DOS operation exists 2 command / commands which is internal command and external command.

Copy
Instruction to copy file.  Copy [file_asal]  [file_tujuan] 
Example:  A:\>copy a:\task c:\training
Utilized for mengkopi file on task directory at drive a, and is copied to directory c:\training
Other example: A:\>copy a:*.* c:\training
Utilized to copy all file from drive a goes to c:\training
Other example: A:\>copy ??i*.* c:\training
Utilized to copy all file which third letter it i. to c:\training

DEL
Instruction to erase file.  Del [nama_file] 
Example: C:\training & gt;del *.docx
Utilized to erase all file which gets docx's extension

DIR
Instruction to feature file.  DIR (drive: ) (path) (filename)(/p )(/w )((:atribs))(/o )((: )(/s )(/b )
/p: featuring file name per page
/w: featuring ala file name levels off
/a: feature all file preferably file that dihidden
/o: featuring file in shaped most massage
/s: featuring file and root directory until directory's sub
/b: featuring file and directory perbaris
/l: feature in lower case form
/c: featuring pengkompresan's ratio
Example: C:\>dir r
Utilized to feature files in root directory drive c

REN
Instruction to change file name.  REN
Example: C:\>ren tugasRaga.doc tugasRyan.doc
Utilized to change tugasRaga.doc's file name becomes tugasRyan.doc

No comments:

Post a Comment