Windows batch del folder




















Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy.

Deletes one or more files. This command performs the same actions as the erase command. The del command can also run from the Windows Recovery Console, using different parameters. To confirm the deletion, press Y. To cancel the deletion and to display the next file name if you specified a group of files , press N. However, to avoid deleting files unintentionally, you should use wildcards cautiously.

For example, if you type the following command:. We will continue with the series of tutorials regarding the usage of batch file. The command will erase all files and subfolders in the specified folder. This batch file can be very useful if needed to delete large folders. Using the command line can be over 20 times faster than going through Windows Explorer itself. Finally clearing out the download folder without having to manually take care of it each week or month is facilitation.

In this case, we will delete the specified folder. Otherwise, this batch file can be scheduled on the windows task scheduler to run automatically. For more information click on the previous post: here. Batch file to delete folder. Prev Article.



0コメント