Deleting subfolder and files in window through cmd and timestamp backup

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Deleting 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.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived