- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Deleting files created in VI?
Operating System - OpenVMS
1754014
Members
7597
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-20-2007 06:38 AM
тАО08-20-2007 06:38 AM
Deleting files created in VI?
Hello -
I have several files that were created in VI like for example> john01.txt and I would like to remove them or delete them.
How can I do this in OpenVMS?
I have several files that were created in VI like for example> john01.txt and I would like to remove them or delete them.
How can I do this in OpenVMS?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 09:33 AM
тАО08-20-2007 09:33 AM
Re: Deleting files created in VI?
At the DCL prompt, just type in "DELETE john01.txt"
It will complain... about requireing a version number.
So give it one (or more).
Just delete the most recent version:
$ DELETE john01.txt;
Delete any and all versions:
$ DELETE john01.txt;*
You might want to add /CONFIRM while learning.
And you might want to try with $ DIRECTORY first to see what you are aming at, then replace the DIRECTORY with DELETE and re-execute.
Be sure to carefull read
$ HELP DELETE
$ HELP FILESPEC
And please consider checking the VMS User documentation
Good luck,
Hein.
It will complain... about requireing a version number.
So give it one (or more).
Just delete the most recent version:
$ DELETE john01.txt;
Delete any and all versions:
$ DELETE john01.txt;*
You might want to add /CONFIRM while learning.
And you might want to try with $ DIRECTORY first to see what you are aming at, then replace the DIRECTORY with DELETE and re-execute.
Be sure to carefull read
$ HELP DELETE
$ HELP FILESPEC
And please consider checking the VMS User documentation
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 09:33 AM
тАО08-20-2007 09:33 AM
Re: Deleting files created in VI?
Created in VI as in vi ? Un-x vi ?
If so, ugly but it works.
Just delete them bij delete 'filename'.
If there are any unknown characters in the file.
Just delete them bij:
$ a = f$search("john01.txt")
$ show symbol a ! just make sure
$ delete/nolog/noconfirm "''a'"
> these dubble quotes etc. for the unreadable/printable characters.
AvR
If so, ugly but it works.
Just delete them bij delete 'filename'.
If there are any unknown characters in the file.
Just delete them bij:
$ a = f$search("john01.txt")
$ show symbol a ! just make sure
$ delete/nolog/noconfirm "''a'"
> these dubble quotes etc. for the unreadable/printable characters.
AvR
NL: Meten is weten, maar je moet weten hoe te meten! - UK: Measuremets is knowledge, but you need to know how to measure !
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP