Re: how to hide a file
- From: "Bart.Zorn@xxxxxxxxx" <bart.zorn@xxxxxxxxx>
- Date: Thu, 18 Feb 2010 23:32:02 -0800 (PST)
On Feb 19, 4:18 am, <address...@xxxxxxxxxxxxxxx> wrote:
Chris Scheers <ch...@xxxxxxxxxxxxxxxxxxx> wrote:
Mukesh wrote:
On Feb 10, 6:07 pm, Mukesh <mukesh.rijhw...@xxxxxxxxx> wrote:
Help: Does anyone know how to hide a file in OpenVMS ? like in
Unix/
linux if you prepend a file name with a . (dot) it will hide the
file
(example .scriptname)
Thanks,
Mukesh
The DIR (directory) command in VMS shows all files by default. In UNIX,
you have to add options to list certain files (like those that begin
with a "." (example
ls -a
would show all the files including those beginning with a ".", where a
plain
ls
doesn't). You would have to put a symbol for DIR in SYLOGIN.COM that
would exclude files beginning with "." such as:
$ DIR*ECTORY == "directory/exclude=".*"
This can be overridden by users in their own LOGIN.COM if they have
access to edit it. That cam be changed in AUTHORIZE to another name or
location so it's possible with some work to enforce this symbol system
wide. It can still be changed by those with access to the DCL prompt
though.
--- news://freenews.netfront.net/ - complaints: n...@xxxxxxxxxxxx ---
It is ALWAYS a good idea to test things before you throw them out on
the net.
The symbol definition that you give returns an invalid operator error.
When you get the number of quotes right, the resulting DIR command
will always return "no files found"
Bart
.
- References:
- Re: how to hide a file
- From: Chris Scheers
- Re: how to hide a file
- From: address_is
- Re: how to hide a file
- Prev by Date: Re: Channel number confusion
- Next by Date: Re: Can't do DECNET IV "set host" to VAX running VMS 4.7
- Previous by thread: Re: how to hide a file
- Next by thread: Re: how to hide a file
- Index(es):
Relevant Pages
|