News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Directory tree delete

Started by hutch--, October 24, 2005, 05:51:34 AM

Previous topic - Next topic

hutch--

I have needed a tool like this ever since the old DOS DELTREE was not included in later windows versions. This version is intentionally writen so it will not delete a root direcory just as a safety margin but it is still a very dangerous tool in that it will take out entire directory trees.

Be careful playing with this tool as it can trash a large amount of a HDD very quickly, I did the testing on seperate partitions where there was nothing important to delete but if you have a machine that only has a single partition, exercise caution.

[attachment deleted by admin]
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Tedd

This also works.. :bdg
rd somedir /s /q
No snowflake in an avalanche feels responsible.

hutch--

You only need the /s, /q is quiet mode but it assumes cmd.exe and running the capacity from the console. This one is a useful toy that is easy enough to code into an application that has for instance an uninstall to perform.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php