Operating_systems-page29 - Jelena Mamenko Operating Systems...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Jelena Mamčenko Operating Systems Lecture Notes on Operating Systems 29 Problem: Copy disk A: to B:. Issue the proper command. Answer: C:\>DISKCOPY A: B: 23.3 Erasing Files Files you no longer need should be deleted from your disk to make room for more current files. Use the ERASE (DELete) command for this: ERASE d:FILENAME.ext or DEL d:FILENAME.ext Be careful, typographic errors in this command can bring disaster! You are allowed to delete all files on a disk with the wildcard * (ERASE *.*), but DOS will question you. Recovery BEFORE writing anything else to disk is possible. An UNDELETE utility started shipping with DOS 5.0. Before that commercial utilities were available. 23.4 Renaming Files For whatever reason, you may need to change the name of a file on your disk. (Usually this is the case when you want to change a backup file to another name in order to return it to active status.) Use this format: REN ame d:OLDNAME.ext NEWNAME.ext Wildcards are allowed, but can cause trouble if you are not careful.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2011 for the course CSE 362 taught by Professor Mavin during the Spring '09 term at SUNY Stony Brook.

Ask a homework question - tutors are online