Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Buy Mathcad Now
• View Mathcad Pricing
• Request a Demo
• Download a Brochure
• Find out about Training
• Sign up for a Webinar
• Meet Our Team
• Read our RSS Feeds

Learn More

Mathcad Home
What can Mathcad do?
Version Comparison Chart
Mathcad for Education
Add-ons
Rave Reviews

System Requirements

Latest Information

New Features in Mathcad 14
Using Mathcad and Excel
Engineering Application
Packs

Return on Investment

Service & Support

Patches & Downloads
Chemical & Process
Engineering with Mathcad

Frequently Asked Questions
Search the Knowledge Base
Join the Discussion List
Search the List Archive
Mathcad Library

List Archives >  Mathcad List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[mathcad] Re: Scripting question

Search email archive for  

[mathcad] Re: Scripting question
Author: Samir Khan    Posted: Fri, 26 Aug 2005 09:51:28 +0100





Mike,

This code I use in a Mathsoft PushButton to run an external DOS program
from within Mathcad.

Sub PushButn_Click()
Set WShell = CreateObject("WScript.Shell")
WShell.run "DOS commands go here",0,True
End Sub

Samir




"Austin, Mike"
<mike.austin@airb
us.com> To
Mathcad Discussion List
25/08/2005 14:57 "mathcad"
cc

Please respond to Subject
"mathcad" [mathcad] Scripting question
ptscience.com











I would like to be able to write an input file, run it with a Dos-based
program and read the output file - preferably as one process from within
Mathcad if possible. I can do the file input and output, but I am not
familiar with object scripting to run an external program. Does anyone have
an example script to run a Dos-based program on the command line and
return? Any Mathcad version will do.


STRESSWORK
Mike AUSTIN
on behalf of AIRBUS-UK
for Department - ESASU
NTC D2 09J

Phone: +44 (0)117 936 2688
Fax: +44 (0)117 936 5474
Mailto: "Mike.Austin"




This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.




[View Complete Thread]



Previous by date: [mathcad] Scripting question,  Austin, Mike
Next by date: [mathcad] RE: Scripting question,  Leslie Bondaryk
Previous thread: [mathcad] RE: AMD platform,  Tong, Guang
Next thread: [mathcad] Re: Scripting question, Samir Khan



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Mathcad 14 demo
Mathcad 14 Brochure
Mathcad or Excel?
Mathcad Customer Story: Man B&W Diesel
Mathcad Customer Story: Stork Fokker Aerospace
Mathcad White Paper - Moving beyond the limitations of spreadsheets

Product Reviews

"Our work ranges from complex medical imaging research to large-scale mapping and diagrams and we need a tool that is able to handle anything we investigate. With Mathcad, we are able to manipulate and analyse our data quickly while at the same time documenting our work, for sharing and publication. We also use it for pilot studies conducted in support of research grant applications. It is an end-to-end tool for research and development."
Dr. Kenneth Castleman, President of Advanced Digital Imaging Research (ADIR), Houston, Texas

"Mathcad is an integral product for my work... With Mathcad, itís easy to disseminate design calculations because the documents look like real math. Thereís very little I canít do in Mathcad. The main benefits come from the format, which resemble a typed set of calculations. These programs are easier to develop by engineers and easier for others to follow and review since the logic is expressed in a familiar manner. The format is what places Mathcad head and shoulders above other programs of a similar function."
Andre Pavlov, Structural Engineer, Florida Department of Transportation
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055