To delete a text document in Windows, you can use either the File Explorer or the Command Prompt.
Using the File Explorer
1. Open the File Explorer by pressing the Windows key + E on your keyboard.
2. Navigate to the location of the file you want to delete.
3. Right-click the file and select “Delete”.
4. Click “Yes” when prompted to confirm that you want to delete the file.
Using the Command Prompt
1. Open the Command Prompt window by pressing the Windows key + R on your keyboard, typing “cmd” into the box, and pressing Enter.
2. Type “cd” followed by the directory path of the file you want to delete and press Enter.
For example, if the file “test.txt” is in your Documents folder, type “cd C:\Users\[Your Username]\Documents”.
3. Type “del test.txt” and press Enter.
4. Type “y” and press Enter to confirm that you want to delete the file.
Note: If you want to delete multiple files at once, you can use the “del *.*” command, where the asterisks represent any file type.