- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Executing a UNIX script from 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
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
04-07-2003 05:46 AM
04-07-2003 05:46 AM
I can't work out the best way of doing this.
Can anyone help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 05:50 AM
04-07-2003 05:50 AM
SolutionProbably you may install mks toolkit which is the korn shell for windows, or even cygwin (www.redhat.com/cygwin) which lets you run shell scripts on windows. then thro' vbscript you could open a shell and run this as /path/to/ksh <script name>.
i don't know the specifics on how to call this as i am not a vbscript guy. but i've seen this done before and it will work.
cygwin is free while mks requires a license.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 05:51 AM
04-07-2003 05:51 AM
Re: Executing a UNIX script from Windows
Maybe, if you have Terminal server, you could allow the Windows machine to remsh to the unix box and execute the command....how you do it in VB - I don't know - unless it can pass a parameter to your telnet client?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 05:58 AM
04-07-2003 05:58 AM
Re: Executing a UNIX script from Windows
http://www.mks.com/
sorry the redhat link is no longer valid.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 05:59 AM
04-07-2003 05:59 AM
Re: Executing a UNIX script from Windows
There's a fair amount of sample code on the web for writing TCP/IP applications using winsock, so your colleague could write a telnet client and execute the script from there.
Here's a link to a VB sample source code site:
http://www.planet-source-code.com/vb
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:06 AM
04-07-2003 06:06 AM
Re: Executing a UNIX script from Windows
Apparently you can create macros in programmes like Reflections, but we are looking to remove telnet access to the boxes soon, so this seems a waste of time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:11 AM
04-07-2003 06:11 AM
Re: Executing a UNIX script from Windows
VB uses Win32 API, at a lower level it is designed for PC/INTEL Hardware. HPUX runs on PA-RISC architecture & no "nonnative" code should run on it .. unless a new VB version is desinged for PA-RISC there IS NO way to make that happen.
For more information refer to:
"hp 9000 systems computer languages & tools" http://devrsrc1.external.hp.com/devresource/Tools/lang.html
For PA-RISC Info:
http://h21007.www2.hp.com/dspp/tech/tech_TechTypeListingPage_IDX/1,1704,10403,00.html
http://www.cpus.hp.com/technical_references/
Cheers,
T??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 07:32 AM
04-07-2003 07:32 AM
Re: Executing a UNIX script from Windows
Just my $.02 as usual. We have an application written by VB and installed and running in a Win98 Workstation. The Win98 Workstation has NFS (Network File system Services protocol installed and configured to access the HP-UX FS. The HP-UX FS are mapped within the Win98 environment. NFS could be shipped with Tiny Term emulation software supported by Windows OS.
Please refer to this link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb1085fe8b250d71190080090279cd0f9,00.html
Hope this help.