[Info-vax] DCL Syntax

hb end.of at inter.net
Thu Aug 30 08:18:01 EDT 2018


On 08/30/2018 11:02 AM, Jan-Erik Söderholm wrote:

> Q: How do I delete a directory tree?

A: In general you have to enter two delete commands or one with two
arguments:

An example, you want to delete only the "deleteme" tree:

$ dir

Directory DISK$USER:[USER]

deleteme.DIR;1      sub.DIR;1

Total of 2 files.
$

$ del/tree [.deleteme...]*.*.*
$ del/tree deleteme.DIR;

$! Yes, you want the /TREE in the second delete command!

or
$ delete/tree [.deleteme...]*.*;*,[]deleteme.dir;

A "/RECURSIVE deleteme.DIR;1" would be simpler (and more logical to me).



More information about the Info-vax mailing list