Shell

hreinn
Member Posts: 8
Hi, how do I call a dos program without a dos window popping up ?
And also I need to print a file,
but I always get some error messages while trying to call "type file.txt >lpt1" with SHELL, anyone had smiliar problems ?
Hreinn
And also I need to print a file,
but I always get some error messages while trying to call "type file.txt >lpt1" with SHELL, anyone had smiliar problems ?
Hreinn
0
Comments
-
Hi,
IIRC, you cannot run a dosbased program without a dobox popping up. I think the best you can do is to create a shortcut to the dosprogram and set it to run minimized.
About the printing. I think that this is a windowsrelated problem. You might want to try to set the printer to work with DOS aswell, but I don't know if that'll work.
Dennis van Es
PerCom: Research & Development BV
The NetherlandsDennis van Es
Qwinsoft BV
The Netherlands0 -
About printing
You could use the method of copying a file to be printed to a file named 'C:\lpt1.txt'. On windows9x this will send the file directly to spcified port. If I remeber correctly, you can access the file even using Navision functions.0 -
It will try to print the file, but if your using a network- or shared printer the error still occurs. Unless you capture the lpt1 port to the network/shared printer.
Dennis van Es
PerCom: Research & Development BV
The Netherlands
[This message has been edited by Dennis (edited 15-02-2000).]Dennis van Es
Qwinsoft BV
The Netherlands0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions