#1 05 Mar 2019 00:40

Paul77M
Member
Registered: 05 Mar 2019
Posts: 1

The Deltree Script has a dangerous bug

Hello,

I just used the Deltree Script (from ss64.com/nt/deltree.html) and it appears to have a very dangerous bug where if the directory does not exist (i.e. due to a type or having run the script on the same folder more than once) it will delete from the current directory.

Paul

Offline

#2 05 Mar 2019 01:26

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 1,026
Website

Re: The Deltree Script has a dangerous bug

Good point, I've just added an extra line to abort if the PUSHD fails.

Thanks for flagging it up!

Offline

Board footer

Powered by FluxBB