“rd” and “rmdir” only work on empty directories in MS-DOS (and I assume, by extension, in Windows shell). “deltree” is for nuking a complete tree including files, as the name suggests.
In the original Reddit post it’s mentioned that the agent ran “rmdir /s” which does in fact work on directories containing files and/or subdirectories.
“rd” and “rmdir” only work on empty directories in MS-DOS (and I assume, by extension, in Windows shell). “deltree” is for nuking a complete tree including files, as the name suggests.
In the original Reddit post it’s mentioned that the agent ran “rmdir /s” which does in fact work on directories containing files and/or subdirectories.
“rmdir /s” - /s for sarcasm
“Where the fuck is all my data?”