answersLogoWhite

0


Best Answer

The command for deleting a file in DOS is DEL. If the file you are trying to delete is in the current directory, type DEL followed by the full filename. E.g. del file001.txt If there are multiple files, the wildcard * can be used. del file*.txt will delete all the text files that start with 'file' del file*.* will delete all the files that start with file. del *.txt will delete all the text files. del *.* will delete all the files in the current directory. It is possible to delete files in another directory by typing the full path and filename del c:\folder01\*.* will delete all the files in the directory c:\folder01\ DEL will not affect hidden files, but careless use of this command could damage your operating system so use with care.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Just use "delete" command. Example delete <filename> and press enter.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you delete 0 byte files using DOS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Unlock files in directory using dos commands?

Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.


How to delete files without starting windows?

You have couple choices. The first one is to connect the hard with your files to another desktop and delete it from there. The second choice is to use a dos utility with allows to write/delete in ntfs system, if you don't have ntfs you can use any dos file manager (for instance, Volkov Commander which is free). In the last case you will have to boot ms-dos which is not hard at all.


Is DOS obsolete?

No Dos is still used in many things today. Many programs are Windows Only due to them using Dos Files.


How delete commandcom from dos?

In DOS, you can delete files only by delete command. Use delete command as follows:C:\> delete For example: delete rajesh and then press enter..To remove a directory (Folder) use following command:C:\> RD For example: rd documents and then press enter..Note: Please make sure that directory is empty. You can only delete empty directory with rd command..


What are the dos files?

Dos files are the files with the extension .bat which are used for programming in DOS. This is also called as batch file programming.


How do you delete a folder from command prompt?

In Dos-just write (DEL Folder Name) this command will delete all the Files inside that folder,then write (RD Folder Name) This will Remove your Folder. Remember both command contain Same folder name. Which you want to Delete.(DEL)command is used to delete Files. (RD) command is used to delete Folder


In computing environment why DOS command still using?

Using DOS commands or Shell Commands on Linux enables you to do more powerful things than possible with a point-and-click inteface. For example, you can delete all files ending in .tmp with just "del *.tmp". They are retained to allow "power users" to work more productively. You can also create batch-files, which allow you to run a large amount of commands sequentially, and can automate often tiring tasks.


What the asterix is for In ms dos?

"Asterix is not a command.. Its a comic character.." Actually asterix is also a so called wildcard character in MS-DOS. It replaces a whole series of characters related to file name, extension or both. For example, if you want to delete all files named "list" from a current directory (no matter what type those files are) use the following command: del list.* In case you want to delete all files with .txt extension from the current directory, use: del *.txt Or if you want to delete all files in the directory no matter what type they are or what they were called, use: del *


What three keys you can press to perform a soft boot using DOS?

ctrl alt and delete all at the same time


How many system files ms dos has?

COMMAND.COM IO.SYS MSDOS.SYS


What command you use to delete a file?

Del is used to delete a file in command prompt.


How do you compare two HTML files using dos commands?

Go to the command prompt and type COMP and press return. You will be asked in turn for the files you want to compare.