Subject: | |
From: | |
Reply To: | |
Date: | Fri, 15 Nov 1996 09:35:08 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
In article <[log in to unmask]>,
[log in to unmask] (James Howard) wrote:
>George Greer ([log in to unmask]) wrote:
>: I STILL have no
>: idea how to change directories, make them, or look anywhere but my home.
>
>The command for creating directories under VMS is nonsense. It took me
>five or six tries before I got it right. It went something like
>"create/dir [und.howardjp.temp]" or something. I *really* prefer the
>Unix method of "mkdir temp". That is really simple and it is just as
>easy to remove it. I still can't do that on the VMS. The only thing
>that is getting me through this unfortunate experience with VMS is the
>fact that the command structure is *similar* to DOS. Which is not really
>a plus when you consider that DOS 2.0+ was based on Unix command and
>directory structure and syntax.
Okay, if I'm remembering right, here's how to make a directory called TEST
in your current default directory (or your current working directory, for
all you unix folks):
$ CREATE /DIRECTORY [.TEST]
And here's how to delete a subdirectory called TEST, blowing away
everything inside before you do so (rm -rf for unix lovers):
$ DELETE [.TEST]*.*;*
$ SET PROTECTION=(O:RWED) TEST.DIR
$ DELETE TEST.DIR;*
Yes, it's contorted. However, I also have a friend who, on his
Linux/Xwindows box, quickly switched to another xterm, and issued rm -rf
*, before realizing that he had switched to the wrong xterm. Deleted a
good portion of his hard disk before realizing what he had done.
>By the way, I think the change directory command for VMS is the same as
>for Unix... "cd temp". At least that seemed to work on MIAVX1.
I'm pretty sure you can do that only because Kent wrote a nifty little
script called CD. The actual command to move to a subdirectory called
TEST is this:
$ SET DEFAULT [.TEST]
And to see what directory you're in:
$ SHOW DEFAULT
Clayton L. Hines [log in to unmask]
UNIX Software Specialist Miami University, Oxford, OH, USA
|
|
|