Windows XP in a Nutshell (2024)

Name

del or erase

Syntax

del [/p] [/f] [/s] [/q] [/a:attributes] filenameerase [/p] [/f] [/s] [/q] [/a:attributes] filename 

Description

The del command is used to delete one or morefiles from the command line without sending them to the Recycle Bin.

The del options are:

filename

Specifies the file(s) to delete. If you do not specify the drive orpath, the file is assumed to be in the current directory. You can usestandard * and ? wildcards tospecify the files to delete.

/p

Prompts for confirmation before deleting each file.

/f

Forces deletion of read-only files.

/s

Delete specified files in all subdirectories (when using wildcards).

/q

Quiet mode; do not prompt if filename is*.*.

/a: attributes

Selects files to delete based on attributes (read-only, hidden,system, or archive). See Attrib in Chapter 4 for more information on attributes.

Examples

Delete the file myfile.txt in the currentdirectory:

C:\>del myfile.txt

Delete the file myfile.txt in thec:\files directory:

C:\>del c:\files\myfile.txt

Delete all files with the pattern myfile.*(e.g., myfile.doc,myfile.txt, etc.) in the current directory, butprompt for each deletion:

C:\>del c:\files\myfile.* /p

Notes

  • The del and erase commands arefunctionally identical.

  • Using the del command to delete a file does notmove it to the Recycle Bin. In other words, youcan’t get a file back once you use thedel command, unless you have a special“unerase” disk recovery utility.

Windows XP in a Nutshell (2024)
Top Articles
Kakeibo and the $5.34 Rule: The Japanese Art of Saving Money
The Beginner's Guide on UMID ID Requirements & Online Appointment
Drury Inn & Suites Bowling Green
Gamevault Agent
Ghosted Imdb Parents Guide
Call Follower Osrs
Tanger Outlets Sevierville Directory Map
Kostenlose Games: Die besten Free to play Spiele 2024 - Update mit einem legendären Shooter
Mlifeinsider Okta
Lesson 1 Homework 5.5 Answer Key
Tabler Oklahoma
Dark Souls 2 Soft Cap
Rainfall Map Oklahoma
The Weather Channel Facebook
Mission Impossible 7 Showtimes Near Regal Bridgeport Village
George The Animal Steele Gif
Restaurants Near Paramount Theater Cedar Rapids
Hca Florida Middleburg Emergency Reviews
Arboristsite Forum Chainsaw
Toy Story 3 Animation Screencaps
List of all the Castle's Secret Stars - Super Mario 64 Guide - IGN
Ubg98.Github.io Unblocked
Dover Nh Power Outage
Craigslist Prescott Az Free Stuff
Reicks View Farms Grain Bids
Discord Nuker Bot Invite
Spiritual Meaning Of Snake Tattoo: Healing And Rebirth!
Dove Cremation Services Topeka Ks
Criterion Dryer Review
Rek Funerals
Spectrum Outage in Queens, New York
Wku Lpn To Rn
Current Students - Pace University Online
Page 2383 – Christianity Today
The Monitor Recent Obituaries: All Of The Monitor's Recent Obituaries
UPS Drop Off Location Finder
Trebuchet Gizmo Answer Key
Louisville Volleyball Team Leaks
D3 Boards
How To Paint Dinos In Ark
Bekah Birdsall Measurements
Weather In Allentown-Bethlehem-Easton Metropolitan Area 10 Days
Lady Nagant Funko Pop
Craigslist/Nashville
Wgu Admissions Login
Joblink Maine
The Cutest Photos of Enrique Iglesias and Anna Kournikova with Their Three Kids
Adams-Buggs Funeral Services Obituaries
Otter Bustr
The Love Life Of Kelsey Asbille: A Comprehensive Guide To Her Relationships
Booked On The Bayou Houma 2023
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 6478

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.