.BAT to empty a folder without deleting it

caramelmouCCM Posted messages 3 Status Member -  
xounay Posted messages 337 Status Member -
Hello,

to empty a folder without deleting it, I tried RMDIR with various parameters
I can't manage to keep the directory. However, I would like to run a bat file with a scheduled task and keep the folder.

Thank you in advance

Configuration: Windows XP / Firefox 4.0

4 answers

  1. Profile blocked
     
    Hello, the command to delete files:
    del /f /s /q Directory path\*.*
    Computer: medium designed to speed up and automate errors
    2