Need a DOS application to run in Command shell not cmd.exe

Okay, I have an old DOS application that used to work quite well. The properties on the shortcut placed on the screen went directly to the database. Now when executed it dumps right away. If I run command.com and go to the correct directory it opens. My question is how to edit the properties of the shortcut to include the system root in the existing path so it opens the database on command.com and not cmd.exe
Probably very easy but I dont do DOS very well.

thanks!
Fraser_AdminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stergiumCommented:
set in a cmd file this one
c:\windows\system32\command.com /c <your_exe_file or a bat file that should contain your changing directory and running the app>
.
i hope that helped
0
Fraser_AdminAuthor Commented:
No that didnt work either.

Manually at the run command
command - enter
cd\ - enter
cd sappos - enter
opt - enter

It works... but by trying to drag and drop the opt as a shortcut on the desktop by default it open in CMD and fails.But not on all PC's just this one.

tks
0
johnb6767Commented:
Change the "ComSpec" value to %SystemRoot%\system32\command.com

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Fraser_AdminAuthor Commented:
It looks as though it should have worked, but it didnt. Would this require a reboot??
0
Fraser_AdminAuthor Commented:
Hi folks, it's been a few days... I have tried the last post johnb6767 made but no changes in the registry and the app still doesn't open.

Any more info out there??
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fraser_AdminAuthor Commented:
no resolution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.