Sunday 6 November 2011

delete folder using notepad

Create a simple batch file to remove a particular folder:
1. Open the Notepad
2. Write the following code:
(Ex: Delete the My Documents Folder)
rmdir C:\Documents and Settings /s /q
3. Save the file with .bat extension.
4. If you Run the file means it will delete the Documents and Setting Folder. Like that you can
Delete the Folder you want.

No comments:

Post a Comment