Virtual Developer Workshop: Containerized Development with Docker
This piece of code will delete a folder that isn't empty in Windows NT or Windows 2000.
This is a recursive function which delete all the directories and files inside the directory which is sent as a command line parameter.
You have to run the compile.bat file from a windows console.
To run it:
where test1 is the directory to be deleted, and is inside the Test directory.
This will delete all the contents, I repeat ALL contents inside the directory which has to be passed as a command line argument. So please be very careful.