Download presentation
Presentation is loading. Please wait.
Published byNaomi Johnson Modified over 5 years ago
1
Command Prompt Using DEL, DELTREE, RENAME and MOVE
©Richard Goldman January 31, 2000
2
DEL Command (Delete) Internal command that allows you to delete files.
First character of name in the directory table is overwritten with a special character. Each cluster in the FAT is set to zero. Syntax DEL [drive:] [path] filename [/P] /P = Prompt before deleting Wildcards can be used Some utility programs may be able to undelete files if they haven’t been overwritten.
3
To Remove Directories RD (Remove Directory) RD /S DELTREE
Directory must be empty first. RD /S Deletes all files and subdirectories at once. Available in Windows 2000 and later. DELTREE Not available in Windows 2000 and later.
4
REN or RENAME Command Renames files or Subdirectories
Can use wildcards Can not move a file or subdirectory with a REN command. (Use the MOVE command) Syntax: REN [drive:] [directoryname1 | filename1] [directoryname2 | filename2] No parameters
5
Move Command Move files Moves Subdirectories along with their contents
Can use wildcards Can rename single a file/subdirectory on a single file/subdirectory move. Can not rename on a global move (using wildcards) Syntax: MOVE source destination
6
End
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.