Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DOS version & shelling out to DOS

Posted on 1998-08-04
7
Medium Priority
?
140 Views
Last Modified: 2010-05-03
I am running VB4 from Win95 from my hard drive, but we have recently updated our network to Novell 4.  When I shell out to DOS, I get the message 'Incorrect DOS version', and it won't run any commands.  When I go into DOS normally, it is running version 4.00, and will run the batch files I'm trying to run from VB.  Any idea where I can change/choose where to pick DOS up from?  
0
Comment
Question by:bigc
7 Comments
 

Expert Comment

by:dokken
ID: 1467758
When you write the shell function, have it point to the location and filename of the command.com

so instead of having it say:  command.com   have it say (path)command.com

I had a problem similar to this, only with Win95 and dos apps over the network.
0
 

Author Comment

by:bigc
ID: 1467759
Thanks, that gets me into the right version of DOS, but I need to know how to run the batch file automatically.
0
 

Expert Comment

by:dokken
ID: 1467760
Easy, did it a million times... put the path to the command.com as the first line of the batch file. Then use the shell as normal with the batch file.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:bigc
ID: 1467761
Thanks, I'm sorted now.  Any idea how I now close this question and give you the points?
0
 

Expert Comment

by:dokken
ID: 1467762
You should see some options at the bottom of the page... Excellent, etc. I think you are suppose to select the one for how helpful I was.  I've asked questions before, but never really paid attention to the screen.
0
 

Expert Comment

by:zimmy
ID: 1467763
dokken,

This question is still open. YOU have to resubmit something as an answer before bigc can award you any points.

Good answer, by the way.

Zimmy
0
 
LVL 1

Accepted Solution

by:
raider187 earned 200 total points
ID: 1467764
close it now
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question