- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- dir/full latest version
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 10:48 PM
тАО07-23-2007 10:48 PM
dir/full latest version
"dir/full filename.extension"
then the details of the file for every version of that file since 2006 are displayed.
How do I get this to work for the latest version only?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 10:52 PM
тАО07-23-2007 10:52 PM
Re: dir/full latest version
;0 means highest version.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 10:59 PM
тАО07-23-2007 10:59 PM
Re: dir/full latest version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 11:14 PM
тАО07-23-2007 11:14 PM
Re: dir/full latest version
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 03:37 AM
тАО07-24-2007 03:37 AM
Re: dir/full latest version
$DIR/VERSIONS=1 file.ext
Personally I just always use: $DIR file.ext.
The . types slightly more easy for me,
and every now and then someone is surprised to see the . as alternative to ; in this case.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 05:12 AM
тАО07-24-2007 05:12 AM
Re: dir/full latest version
While they will produce the same result with a simple "directory filename" command as discussed here, consider the commands:
$ DIR *.LOG; /BEFORE=TODAY
which will display nothing if the latest version of all log files were created today, as opposed to...
$ DIR *.LOG /BEFORE=TODAY /VERSION=1
which will display one old version (the last one created before today) of each log file.
Also there is a performance difference since with ;0 only the latest version of the file is looked up by RMS but with /VERSION=1 and without ;0 RMS looks up all versions and the DIRECTORY program ignores other versions. You can see this by first doing:
$ SET WATCH FILE/CLASS=(MAJOR,DIR)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 12:04 PM
тАО07-24-2007 12:04 PM
Re: dir/full latest version
$ dir ;