Instruction
1
Run the utility "Command prompt" in Windows. For this you can go to "start" - "All programs" - "Accessories" - "Command prompt". To start, you can use the buttons on keyboard Win (button with Windows logo) and R at the same time. You can also find the console by entering cmd in the search bar of the start menu.
2
In the window that appears you must enter the command you want to delete your file. Usually uses the del command with the following syntax:
del drive:putdouble\file attribute
Instead of "CD" in the command you want to insert the letter of the drive that contains the file you recorded. So, if you need to delete the document is in the windows folder of the system drive, the command would be del C:\Windows\file.txt where file.txt file that you want to delete.
del drive:putdouble\file attribute
Instead of "CD" in the command you want to insert the letter of the drive that contains the file you recorded. So, if you need to delete the document is in the windows folder of the system drive, the command would be del C:\Windows\file.txt where file.txt file that you want to delete.
3
If you want to delete all data in the folder, select the appropriate attribute /S. for Example:
del C:\Windows\folder /s
This command will delete all the data in the directory folder, including any subdirectories.
del C:\Windows\folder /s
This command will delete all the data in the directory folder, including any subdirectories.
4
For deleted files you can also use the Erase utility. It has the same del syntax and can erase the files. For example:
erase C:\Program Files\Game RMDIR
This command will destroy the Game directory which is in Program files directory of drive C.
erase C:\Program Files\Game RMDIR
This command will destroy the Game directory which is in Program files directory of drive C.
5
To remove a system file, you must perform two steps. First, you must specify that you are the owner of this document:
takeown /f C:\Windows\System32\program.exe
This query will help you to get access to remove the file program.exe.
takeown /f C:\Windows\System32\program.exe
This query will help you to get access to remove the file program.exe.
6
Then you need to allow the delete operation in the system yourself using the cacls command:
cacls C:\Windows\System32\program.exe /G imapisession:F
"Imapiservice" - your username that you use when working in the system.
cacls C:\Windows\System32\program.exe /G imapisession:F
"Imapiservice" - your username that you use when working in the system.
7
Then you can use request del:
del C:\Windows\System32\program.exe
Deleting system file is completed.
del C:\Windows\System32\program.exe
Deleting system file is completed.