?
Solved

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

Posted on 2011-10-31
6
Medium Priority
?
278 Views
Last Modified: 2012-05-12
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!
0
Comment
Question by:Fraser_Admin
  • 4
6 Comments
 
LVL 13

Expert Comment

by:stergium
ID: 37057098
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
 

Author Comment

by:Fraser_Admin
ID: 37057389
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
 
LVL 66

Expert Comment

by:johnb6767
ID: 37058543
Change the "ComSpec" value to %SystemRoot%\system32\command.com

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Fraser_Admin
ID: 37064621
It looks as though it should have worked, but it didnt. Would this require a reboot??
0
 

Accepted Solution

by:
Fraser_Admin earned 0 total points
ID: 37082696
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
 

Author Closing Comment

by:Fraser_Admin
ID: 37514307
no resolution
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

862 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