- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Changing the attribute on a file on a Windows ...
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
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
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-07-2006 10:06 AM
тАО07-07-2006 10:06 AM
Changing the attribute on a file on a Windows server using OpenVMS
Can someone tell me what I'm doing wrong or suggest another simple way to do it? My code is attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2006 10:24 PM
тАО07-07-2006 10:24 PM
Re: Changing the attribute on a file on a Windows server using OpenVMS
I assume, that doing the ATTRIB locally using the user/pass works?
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2006 02:52 AM
тАО07-08-2006 02:52 AM
Re: Changing the attribute on a file on a Windows server using OpenVMS
Windows system, I'd certainly prefer to use
something like rsh/rexec or ssh, rather than
trying to write a script to run an
interactive Telnet session.
Also, your procedure never seems to _read_
anything (like the greeting and prompts)
from the remote system. I'd expect that to
cause trouble. (But what do I know?)
When I have needed to automate a Telnet
session (talking to a Cisco 678 DSL
modem/router, for example), I've used Kermit.
http://www.columbia.edu/kermit/ck80.html
http://www.columbia.edu/kermit/ckscripts.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2006 01:22 AM
тАО07-10-2006 01:22 AM
Re: Changing the attribute on a file on a Windows server using OpenVMS
The windows server will not accept rsh/rexec commands.
I have never used ssh or kermit. Could someone give me some pointers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2006 01:40 AM
тАО07-10-2006 01:40 AM
Re: Changing the attribute on a file on a Windows server using OpenVMS
> rsh/rexec commands.
That's the first thing I'd work on, then.
> I have never used ssh or kermit.
It's about time, then. But if the Windows
system doesn't do "rsh", I wouldn't expect
it to do "ssh", either, although it's
possible. Further "ssh" advice would
probably depend on little things, like which
VMS version you're running, with which TCP/IP
package, on which kind of hardware.
> Could someone give me some pointers.
Did you follow the Kermit links already
provided?
> [...] modifying a sample command file
> that Robert Brooks left on another
> question [...]
Speaking of pointers, a pointer to that
(working?) script might have been helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2006 01:48 AM
тАО07-10-2006 01:48 AM
Re: Changing the attribute on a file on a Windows server using OpenVMS
I don't have authorization to change that.
> Did you follow the Kermit links already
provided?
Yes I did, but there is a lot of documentation there and I was hoping someone would point me to a similar script so I don't have to spend the next three months reading all of the documentation.
>Speaking of pointers, a pointer to that
(working?) script might have been helpful.
You can see a copy of Robert's command file at the end of the thread at this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1036086