- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SH* at $ prompt causes DCL$PATH:SHUTDOWN to run
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
Forums
Discussions
Discussions
Discussions
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
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
12-11-2006 11:09 AM
12-11-2006 11:09 AM
Apparently the SH* matched the command procedure and therefore executed this command procedure.
My question is are wildcards valid for searches for DCL$PATH:?
Thanks
Cass Witkowski
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2006 11:24 AM
12-11-2006 11:24 AM
Re: SH* at $ prompt causes DCL$PATH:SHUTDOWN to run
type of construct, but then I am aware of it
and I also know where my DCL$PATH logical
points.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2006 01:09 PM
12-11-2006 01:09 PM
SolutionAs David said, yes, wildcards in unrecognised command verbs will activate DCL$PATH command procedures or executable images. Beware of typing "*" at the command prompt!
I'm not sure if it was entirely intentional, but it fell out of the implementation of the search. It doesn't appear to be documented specifically, but the search is defined in the OpenVMS Users Manual to be:
"DCL performs the search with the invalid verb as the file specification and "DCL$PATH:.*"
So I guess the wildcard behaviour is implied.
There has been some discussion about preventing wildcard matching, but now that it's been out there for so long, there are probably people who depend on it, like David, so it would be against VMS policies to break it.
Some people put a dummy procedure "0.COM" in DCL$PATH directories to catch * by itself at the DCL prompt, but there's no simple way to catch everything!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 04:37 AM
12-12-2006 04:37 AM
Re: SH* at $ prompt causes DCL$PATH:SHUTDOWN to run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 01:09 AM
12-13-2006 01:09 AM
Re: SH* at $ prompt causes DCL$PATH:SHUTDOWN to run
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:08 AM
12-13-2006 03:08 AM
Re: SH* at $ prompt causes DCL$PATH:SHUTDOWN to run
V6.2 (VAX and Alpha)