Deleting subfolder and files in window through cmd and timestamp backup

Clash Royale CLAN TAG#URR8PPPDeleting subfolder and files in window through cmd and timestamp backup
I want to delete files and folders from a folder by using cmd in windows.How can i do?
And i need to copy a file and paste appending timestamp by time.
Help will be appreciated
Thanks!
1 Answer
1
To delete all files and subfolders in directory, You can use powershell:
powershell -Command "Remove-Item 'pathtodirectory' -Recurse -Force"
powershell -Command "Remove-Item 'pathtodirectory' -Recurse -Force"
pathtodirectory
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.