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
Girokonto, Tagesgeld und Fondsdepot: So richten Sie Ihre Geldanlage klimafreundlich aus
How to be happier
Fort Morgan Hometown Takeover Map
FFXIV Immortal Flames Hunting Log Guide
Collision Masters Fairbanks
Chalupp's Pizza Taos Menu
Red Wing Care Guide | Fat Buddha Store
Noaa Weather Philadelphia
Https Www E Access Att Com Myworklife
Www Movieswood Com
Sunday World Northern Ireland
Full Range 10 Bar Selection Box
Items/Tm/Hm cheats for Pokemon FireRed on GBA
Louisiana Sportsman Classifieds Guns
Immortal Ink Waxahachie
Puretalkusa.com/Amac
Walmart stores in 6 states no longer provide single-use bags at checkout: Which states are next?
3476405416
Everything you need to know about Costco Travel (and why I love it) - The Points Guy
Joann Ally Employee Portal
Foxy Brown 2025
Nevermore: What Doesn't Kill
Craigslist Appomattox Va
Hermitcraft Texture Pack
Lola Bunny R34 Gif
Shopmonsterus Reviews
Xsensual Portland
Criglist Miami
Southtown 101 Menu
Courtney Roberson Rob Dyrdek
What Is Opm1 Treas 310 Deposit
Armor Crushing Weapon Crossword Clue
Home Auctions - Real Estate Auctions
The Legacy 3: The Tree of Might – Walkthrough
Police Academy Butler Tech
Reborn Rich Ep 12 Eng Sub
Kgirls Seattle
Acadis Portal Missouri
Cherry Spa Madison
Kelley Blue Book Recalls
Craigslist Freeport Illinois
Charli D'amelio Bj
Greg Steube Height
How the Color Pink Influences Mood and Emotions: A Psychological Perspective
Lorton Transfer Station
3367164101
Www Pig11 Net
Enter The Gungeon Gunther
Shannon Sharpe Pointing Gif
Rétrospective 2023 : une année culturelle de renaissances et de mutations
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.