Deleting files in ms-dos without a prompt




















Thanks for your response William. That's just what I was looking for. Todd Vargo. Erik Hegeman. Outsider wrote:. On Sat, 04 Nov , "James A. Kerr Mudd-John. Ilse Prof. You can delete the file like so: Open a Command Prompt cmd. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site. Jay Independent Advisor. Hi KilluK.

I'll try to help you out At first, you can try the solution provided by Frederik Long. You can find several youtube videos which visualy explains the steps needed. Also I've found another "fix", using WinRAR and it's ability to delete the original file after being compressed to archive.

I'll wait for your news Regards. All suggestions of how to get rid of this file are very welcome. In reply to KilluK.

The local disk contains files and folders that are imperative for your computer to run correctly. Unless you know what you are deleting, please do not delete any files from this section. On the left side of the screen, click This PC. On the right side of the screen, locate and double-click the local disk usually C: or D:. Double-click the folder containing the file you want to delete.

Select the file or folder you want to delete, click File in the top menu bar, and select Delete. On the right side of the screen, locate and double-click the drive, which is labeled as USB, flash drive, external hard drive, or the manufacturer's name.

Locate and select the file or folder you want to delete, click File in the top menu bar, and select Delete. If the File menu is not visible in My Computer or Windows Explorer, press the Alt key to make the menu bar visible, including the file menu. Some documents and folders may be protected from deletion through encryption or password protection. In this case, you may be asked for a password to decrypt or remove the password protection.

A file may be set as read-only , meaning the user can only open it for viewing and not modify or delete it. When trying to delete a read-only file, you get a message stating the file is write-protected and cannot be deleted. You need to modify or write permissions to delete the file.

Some files may only be deleted with administrator permissions. To delete these files, you would need to have administrator rights on the computer. If you are using a work computer, the technical support staff often are the only users with administrator rights on the computer. Another possible cause of problems with deleting a file or folder is a virus or malware infection.

Viruses and malware can prevent files or folders from being modified or deleted. If this is the case, you need to remove the virus or malware infection to delete the affected file or folder. See our uninstalling a program steps for help with uninstalling deleting software programs from the computer. If you've deleted a file by mistake, you can see our page on how to restore a deleted file for further information on recovering a deleted file.

If you are new to the command line, you may also want to read through the following pages first. MS-DOS users can delete files using the del command.

See this page to get additional information and help with this command. Below is an example of how to use this command. As seen in the example above, when deleting a file, you need to enter the full file name , including the file extension.

You can also use wildcards to delete multiple files or a group of files, as shown in the example below. In the example above, this command would delete all text files that end with a. See either of these links for additional information about these commands.

Below is an example of how to use this. If the directory is full or has other subdirectories , you get an error message. To delete a full directory, you need to use a switch with the above example. See our deltree command or rmdir command for additional examples and switches. To delete a subdirectory , subfolder, folder within a folder, or directory within a directory, use a command similar to the example below.

In the example above, the "test" directory in the "example" directory is deleted.



0コメント

  • 1000 / 1000