Hello,
Can someone help me with something I want to achieve in CMD?
Say, there is a variable called %pathtofolder%, and, as it makes clear; it is a full path to a folder.
Now, what i want to do is, to delete every single file and subfolder in this directory. But not the directory itself.
But, there might be an error like 'this file/folder is already in use'... when that happens, it should just continue and skip that file/folder.
Can anyone give me some code for this? Thanks in advance.