You are not logged in.

#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
Admin
Registered: 27 Aug 2005
Posts: 1,130
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

#3 10 Aug 2019 19:35

DanPerecky
New Member
Registered: 10 Aug 2019
Posts: 2

Re: The Deltree Script has a dangerous bug

Where can I get DelTree? I miss that command/script.

Thanks.

Offline

#4 18 Aug 2019 21:10

Shadow Thief
Member
Registered: 12 Jul 2012
Posts: 205

Re: The Deltree Script has a dangerous bug

DanPerecky wrote:

Where can I get DelTree? I miss that command/script.

Thanks.

Literally in the first post: https://ss64.com/nt/deltree.html

Offline

Board footer

Powered by