Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!unc.CSNET!cook From: cook@unc.CSNET.UUCP Newsgroups: mod.computers.vax Subject: for mod.computers.vax re: SET DEFAULT Message-ID: <8702190239.AA10611@unc> Date: Wed, 18-Feb-87 21:39:12 EST Article-I.D.: unc.8702190239.AA10611 Posted: Wed Feb 18 21:39:12 1987 Date-Received: Fri, 20-Feb-87 22:00:06 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 18 Approved: info-vax@sri-kl.arpa Someone recently said it was 'sad' that SET DEFAULT does not complain when you set to a non-existent directory. I hope they don't "fix" this. My common method of creating a new directory (since I'm almost always going to work in it very next thing) is: $ SET DEFAULT [.ONE.TWO.THREE] $ CREATE/DIR [] VMS will create not only the current directory, but the preceeding levels if it needs to. Checking whether a directory you're setting to exists is easily done in a command procedure, and I don't notice that it takes enough longer to matter (and my procedure allows 'push' and 'pop' of directories, sets the prompt to the directory name, and uses the logical for the directory name if you give that as an argument).