Deleting files under ms-dos

By Amigosdefox
Mar 25, 2002
  1. Does anybody know what is the command to delete single files under ms-dos. I know the deltree command for deleting the contents of a whole folder but i tried using del "nameoffile" and it says that the file is not found even thought im using the exact same filename that is listed in the ms-dos window.
  2. SuperCheetah

    SuperCheetah TS Rookie Posts: 709

    Try this in MS-DOS mode:

    DEL (ERASE) [d:][path]filename [/P]

    Deletes (erases) files from disk.

    Hope this helps!!! :) If not then please post back.
  3. Nodsu

    Nodsu TS Rookie Posts: 5,837

    You must remember that DOS doesn't support long filenames
    (that is pure DOS, not the command prompt window).
    Filenames containing blanks must be quoted.
    Try using the 'dir' command first to check out the DOS file names.
    Also, DOS won't delete hidden files, you have to unhide them first.

    Try using 'dir' with /p and /w options.
    To change file attributes, you have the 'attrib' command.
    Use the 'help' command (if installed) and '/?' command line switch to get help on specific command.
  4. Amigosdefox

    Amigosdefox TS Enthusiast Topic Starter Posts: 97   +10

    My mistake, I didnt read the filename correctly so I couldnt delete, I had to delete this file which was a partial video file that I downloaded which had a *.av extention, If I tried to modify it in any way under windows explorer, or right click on it or use file/delete.. etc. I imediately got an error message on a certain .dll. Strange
  5. lokem

    lokem TS Rookie Posts: 672

    IMO, the file is still being locked/used by the particular dll. What program did you use to d/l the file?
  6. Amigosdefox

    Amigosdefox TS Enthusiast Topic Starter Posts: 97   +10


    One question: What does IMO mean?
  7. SuperCheetah

    SuperCheetah TS Rookie Posts: 709

    IMO= In My Opinion

    You been seeing all the crazy adware Kazaa has in it???
    Here is a version without the Ads:
  8. Amigosdefox

    Amigosdefox TS Enthusiast Topic Starter Posts: 97   +10

    Thanks Il check it out. I notice that Kazaa slows down my computer much more than the old Morpheus (before it became Gnutella) did. My guess is that this is partly because all of the adware and spyware it installs.
Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.