DOS version & shelling out to DOS

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?  
bigcAsked:
Who is Participating?
 
raider187Connect With a Mentor Commented:
close it now
0
 
dokkenCommented:
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
 
bigcAuthor Commented:
Thanks, that gets me into the right version of DOS, but I need to know how to run the batch file automatically.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
dokkenCommented:
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
 
bigcAuthor Commented:
Thanks, I'm sorted now.  Any idea how I now close this question and give you the points?
0
 
dokkenCommented:
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
 
zimmyCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.