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

Posted on 2011-10-31
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 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 and not cmd.exe
Probably very easy but I dont do DOS very well.

Question by:Fraser_Admin
    LVL 13

    Expert Comment

    set in a cmd file this one
    c:\windows\system32\ /c <your_exe_file or a bat file that should contain your changing directory and running the app>
    i hope that helped

    Author Comment

    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.

    LVL 66

    Expert Comment

    Change the "ComSpec" value to %SystemRoot%\system32\

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

    Author Comment

    It looks as though it should have worked, but it didnt. Would this require a reboot??

    Accepted Solution

    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??

    Author Closing Comment

    no resolution

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
    The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    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…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now