Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: MS-DOS icon Missing/Inability to fully resize DOS window  (Read 11178 times)

0 Members and 1 Guest are viewing this topic.

veritasffg

    Topic Starter


    Intermediate

    MS-DOS icon Missing/Inability to fully resize DOS window
    « on: August 20, 2008, 07:59:22 PM »
    After a clean reinstall of XP on a Dell 2400, I found that the familiar MS DOS icon was gone, and in its place, at the  Command Prompt location, is just a black square with  "C:\."  Years ago, I wrote a large DOS program which I continue to use to manage financial information, and since the reinstall, I find I can't adequately resize a DOS window, or get things to lay out properly in a full screen DOS window.  I think the missing Icon may have something to do with this irritating situation, which I confess I don't have any idea how to explain or correct.  Maybe some of you recognize the symptoms and have a suggestion to offer.  Previously, I have only had to click on the dos icon, select full screen mode, and go about my merry way.  Now, no matter what font or screen layout I specify, the dos characters are too small and difficult for these old eyes to read.  I will appreciate any help available on this subject.
    Adaequatio Rei et Intellectus

    Dusty



      Egghead

    • I could if she would, but she won't so I don't.
    • Thanked: 75
    • Experience: Beginner
    • OS: Windows XP
    Re: MS-DOS icon Missing/Inability to fully resize DOS window
    « Reply #1 on: August 20, 2008, 08:29:10 PM »
    To modify the Cmd.exe shortcut on your desktop:

    R.Click the icon
    Select Properties
    Select the Shortcut tab and make a note of your current settings

    In the Target dialog box type:
    %windir%\system32\cmd.exe /X/Q/V/T:1f/E:ON /K  prompt $p$g

    In the Start in dialog box type: C:\

    In the Run dialog box make sure Normal window is shown

    Edited to add:  If you'd like to open Cmd.exe from your keyboard enter a letter, say C, in the Shortcut Key dialog box.   After clicking Apply and Ok whenever you use Ctrl+Alt+C the Cmd.exe window will open

    Select the Options tag
    In the Display options pane bullet fullscreen

    Click Apply then OK

    When you left click the icon the Command Prompt window should open with a blue background and white lettering.

    If you are not happy with the new screen display go back to your original settings.   If you want to reduce the window size you can use Alt+Enter to toggle between full and small screen presentations.

    Good luck
    « Last Edit: August 22, 2008, 10:35:38 AM by Dusty »
    One good deed is worth more than a year of good intentions.

    veritasffg

      Topic Starter


      Intermediate

      Re: MS-DOS icon Missing/Inability to fully resize DOS window
      « Reply #2 on: August 21, 2008, 04:49:14 AM »
      Dusty:
      Thanks for the information you furnished.  I'm at a different machine now, but I'll try it later and post results.  By the way, where do you find such stuff as this.  I'd like to find a manual or reference book of some type with this info.

      Thanks very much.
      Adaequatio Rei et Intellectus

      Dusty



        Egghead

      • I could if she would, but she won't so I don't.
      • Thanked: 75
      • Experience: Beginner
      • OS: Windows XP
      Re: MS-DOS icon Missing/Inability to fully resize DOS window
      « Reply #3 on: August 21, 2008, 08:39:06 PM »

      %windir%\system32\cmd.exe /X/Q/V/T:1f/E:ON /K  prompt $p$g


      The cmd.exe parameters come from cmd/?  the prompt parameters come from prompt/?  both entered at the cmd prompt.

      How to set up a shortcut comes from sites like this.  I also subscribe to Techrepublic which I find useful.

      Never heard of a book covering all tips, if there was one it would be about 5g pages.   LOL  ;D
      « Last Edit: August 22, 2008, 10:29:09 AM by Dusty »
      One good deed is worth more than a year of good intentions.

      veritasffg

        Topic Starter


        Intermediate

        Re: MS-DOS icon Missing/Inability to fully resize DOS window
        « Reply #4 on: August 22, 2008, 05:23:37 PM »
        Dusty:

        Finally had a chance to implement your solution - it works just fine.  Thanks again for all your help.  Now if I could just find my old MS-DOS icon ...
        Adaequatio Rei et Intellectus

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: MS-DOS icon Missing/Inability to fully resize DOS window
        « Reply #5 on: August 23, 2008, 11:24:20 AM »
        SystemRoot/system32/shell.dll.......
        " Anyone who goes to a psychiatrist should have his head examined. "

        veritasffg

          Topic Starter


          Intermediate

          Re: MS-DOS icon Missing/Inability to fully resize DOS window
          « Reply #6 on: August 23, 2008, 01:00:29 PM »
          Patio:

          Thanks for the suggestion, but the system reports no icons in the shell.dll file.  Of course, I found a slew of icons in the shell32 folder, but, alas, the old, familiar MS-DOS icon is not among them.  It's no biggie, of course, any old icon will do, but I guess I just got used to the original (and I wonder just what happened to it during my reinstall).

          Thanks again.
          Adaequatio Rei et Intellectus

          patio

          • Moderator


          • Genius
          • Maud' Dib
          • Thanked: 1769
            • Yes
          • Experience: Beginner
          • OS: Windows 7
          Re: MS-DOS icon Missing/Inability to fully resize DOS window
          « Reply #7 on: August 23, 2008, 01:29:46 PM »
          Google MSDos icon and click on images in the upper left side...

                        ;)
          " Anyone who goes to a psychiatrist should have his head examined. "

          Dusty



            Egghead

          • I could if she would, but she won't so I don't.
          • Thanked: 75
          • Experience: Beginner
          • OS: Windows XP
          Re: MS-DOS icon Missing/Inability to fully resize DOS window
          « Reply #8 on: August 23, 2008, 02:20:55 PM »
          C:\WINDOWS\SYSTEM32\MORICONS.DLL - it's not quite the old familiar icon but might suit.
          One good deed is worth more than a year of good intentions.

          merlin



            Beginner

            Re: MS-DOS icon Missing/Inability to fully resize DOS window
            « Reply #9 on: August 23, 2008, 04:43:35 PM »
            Msdos is not available on win 2k/etc...........The c:/ is..

            veritasffg

              Topic Starter


              Intermediate

              Re: MS-DOS icon Missing/Inability to fully resize DOS window
              « Reply #10 on: August 25, 2008, 06:02:45 PM »
              Okay - here's the authoritative skinny on this important issue.  The REAL MS-DOS icon is where I now assume it has always been - contained within a file named ... are you ready for this? ... C:\Windows\System32\PIFMGR.dll.  I don't really know just how to express my complete and utter humiliation after searching, searching, and more searching, and never finding this fairly-obviously-named file.  But there it is, and now we can all sleep soundly again.
              Adaequatio Rei et Intellectus

              patio

              • Moderator


              • Genius
              • Maud' Dib
              • Thanked: 1769
                • Yes
              • Experience: Beginner
              • OS: Windows 7
              Re: MS-DOS icon Missing/Inability to fully resize DOS window
              « Reply #11 on: August 25, 2008, 07:38:20 PM »
              I completely forgot about pifmgr.....
              Great Detective work on your part ! !
              " Anyone who goes to a psychiatrist should have his head examined. "

              manojdjoshi

              • Guest
              Re: MS-DOS icon Missing/Inability to fully resize DOS window
              « Reply #12 on: February 10, 2011, 08:21:47 PM »
              Let’s be honest, more than a few of us still have a DOS application we like to run once in a while. Concern about losing access to these old family favorites may be keeping some of us from upgrading out of XP long after we would otherwise have done so. If you’ve tried running a DOS application under the Win 7 beta or Vista, you are already aware of the problems. The new operating systems will run DOS applications, but not very enthusiastically.

              For one thing, shortcuts created for running DOS-based programs under Win 7 or Vista will display only an unattractive blank vanilla icon on the desktop. For another, all you get to run your DOS application in is a cramped little window almost too small to be usable.

              Here’s a way to improve on both of these situations and enhance your DOS experience under Win 7 or Vista. It is adapted from a posting by Edward Mendelson on a Word Perfect-DOS site a year or so ago.

              First, be sure you have copied all the files you need for your DOS program to a folder you can locate again when prompted. Now right-click on the desktop. Select New from the menu, then Shortcut, and then enter cmd.exe when asked for the location of the item. Click on Next, and type the name you want to use in the shortcut. For example, if the program you want to use is Professional File, as it is in my case, type in Pro File and then click Finish. Next, right-click on the resulting generic shortcut and choose Properties. Select the Shortcut tab and note what is now displayed in the Target field.

              Do not alter what you see there, but move the cursor to the right of cmd.exe, type a space, then add this text:

              /c c:\(folder location)\(executable file name). In my computer this would be /c c:\PF\PF.exe. Notice that the text to add begins with a forward slash, then the letter "c", then a space, then the folder location.

              Now you are ready to select your icon. Click on Change Icon button and type moricons.dll or pifmgr.dll in the space under "look for icons…" at the top. Click OK and select the icon you want from the choices offered. Click OK again, and your new shortcut, complete with a new icon, will be displayed on the desktop.

              The next step is to help resolve the problem of the cramped window you get to work with for your DOS application. You can’t actually increase the number of lines allocated to the DOS window, but you can make it bigger by choosing a larger font size. Right-click on your new shortcut and then the Font tab. Now select the Lucia Console font size you want. I find 20 about right, but you can pick a larger size if you prefer. The working window will enlarge in response to the font size change. Click OK, and you will finally have both a shortcut icon of your choice for your DOS application, and a window large enough to actually use.


              [recovering disk space - old attachment deleted by admin]

              Geek-9pm


                Mastermind
              • Geek After Dark
              • Thanked: 1026
                • Gekk9pm bnlog
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Windows 10