Re: Show all files with empty filename
From: Peter Weaver (newsgroup_at_weaverconsulting.ca)
Date: 07/13/05
- Next message: Keith Parris: "Re: Response issues on GS1280, VMS 7.3-2"
- Previous message: Walter Kuhn: "Re: Show all files with empty filename"
- In reply to: Rudolf Wingert: "Show all files with empty filename"
- Next in thread: briggs_at_encompasserve.org: "Re: Show all files with empty filename"
- Reply: briggs_at_encompasserve.org: "Re: Show all files with empty filename"
- Reply: Bob Koehler: "Re: Show all files with empty filename"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 13 Jul 2005 11:04:32 -0400
Rudolf Wingert wrote:
> I would like to see all files without an filename within OpenVMS
> 7.3[-1]. With DIR it is impossible. If I use $DIR [*...].*, I will see
> all files of the disk. Also is there a strange behavior if you delete
> files (e.g. $DEL hugo.*;*) and there is no filetyp (error in
> filenamespecification). Is this a bug or a feature?
I do not think you can use DIR to list files with no name but with an
extension. You can write a small .COM to loop through write sys$output
"''f$sear(".*;*")'" to get the files.
What strange behaviour do you see with DEL HUGO.*;* I think it looks
fine;
$ create .x ! No filename, but an extension
Exit
$ create x. ! no extension but has a filename
Exit
$ dir .* ! Should only show .X (IMHO, but someone will tell me that MHO
is wrong), but shows both files
Directory [dir]
.X;1 0 13-JUL-2005 10:58:21.65
X.;1 0 13-JUL-2005 10:58:24.31
Total of 2 files, 0 blocks.
$ write sys$output "''f$sear(".*;*")'" ! finds the file you were
looking for
[dir].X;1
$ del x.*; ! What strange behaviour do you see here?
DELETE [dir]X.;1 ? [N]: y
$
-- Peter Weaver Weaver Consulting Services Inc. Canadian VAR for CHARON-VAX www.weaverconsulting.ca
- Next message: Keith Parris: "Re: Response issues on GS1280, VMS 7.3-2"
- Previous message: Walter Kuhn: "Re: Show all files with empty filename"
- In reply to: Rudolf Wingert: "Show all files with empty filename"
- Next in thread: briggs_at_encompasserve.org: "Re: Show all files with empty filename"
- Reply: briggs_at_encompasserve.org: "Re: Show all files with empty filename"
- Reply: Bob Koehler: "Re: Show all files with empty filename"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|