Dos command to run windows??
Results 1 to 14 of 14

Thread: Dos command to run windows??

  1. #1
    Join Date
    Aug 2000
    Posts
    786

    Dos command to run windows??

    After restarting in msdos mode I type "scandisk"(no quotation marks)to get a visual of the fragmentation state of my C: drive,I am concerned that some clusters are used at last block of clusters at end of drive (C:drive is-half full!).
    My question is what do I type after the command prompt to get windows running again,I have been rebooting at this point to return to windows as I don`t know what to type.

    ------------------

  2. #2
    Join Date
    Mar 2000
    Location
    St Paul, MN
    Posts
    180
    type "WIN" (minus quotes)
    joe evans

  3. #3
    Join Date
    Jan 2000
    Location
    Pittsburgh, PA USA
    Posts
    2,053
    Hey lukeg
    If you are running Win 9x, and have restarted in MS-DOS mode. You will need to type 'exit' then press [enter] to return to Windows.

    Good Luck,
    Dave

    ------------------
    Is V.Dr. a great site, or what??

    Windows Tips *** Help others less fortunate.
    *** Help others less fortunate.

    JESUS IS LORD !

  4. #4
    Join Date
    Jul 2000
    Location
    TX
    Posts
    361
    Check the properties map in scandisk, it will tell you which color block is "clusters that will not be moved". SOmetimes you'll have used clusters at the end of the drive that won't be moved. Nothing to worry about.

    You can also use Ctrl+Alt+Del to fully restart the machine from DOS mode. From true DOS, win will work, but I never use Restart in MS-DOS mode, I use the boot menu and Command Prompt Only, so win works, but can't remember which of the commands posted above works when restarting in MS DOS.
    ------------------
    How come the gene pool has no lifeguard?

    [This message has been edited by Paleo Pete (edited 08-11-2000).]
    Computer Info Links

    How come the gene pool has no lifeguard?

  5. #5
    Join Date
    Aug 2000
    Posts
    786
    So it appears that their is a difference between MSDOS & DOS and I should use the Cntrl/Alt/Dlt method to exit to DOS and then type scandisk and to get back to Windows type win .
    I looked at the Map/Legend while Defragmenting and scrolled down to see if their are any (red coloured squares)immovable clusters and there are none,so I do not understand why the visual displayed in Scandisk run from MSDOS mode shows used clusters at end of drive even after defrag and checking if any there-none! (one is wrong)I am running Windows98se,I shall try the exit command to restore windows from the MSDOS mode (nothing to lose from trying) rebooting always gets me there if it does not work.I will scandisk in true DOS mode;thanks for the help(both posters).

    [This message has been edited by lukeg (edited 08-12-2000).]

  6. #6
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    After using Start|Shut Down|Restart the computer in MS-DOS mode?, use the exit command to return to Windows.
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  7. #7
    Join Date
    Aug 2000
    Posts
    34
    If you are running Windows 9x and have shut down the computer to run in DOS mode type in
    win. If you are running DOS within Windows, type exit.

  8. #8
    Join Date
    Oct 1999
    Location
    Huntington Beach, CA, USA
    Posts
    3,137
    Scandisk does not reorganize the drive. It on marks Bad areas, repairs crosslinked files and recovers lost clusters.

    Defrag which must be run in Windows (95 and up) pulls up a menu to select the drive to work on. the next screen has the option Advanced. On that menu select Full Drefragmentation. This forces Defrag to reorganize the drive even if Defrag doesn't think it necessary.

    DOS 6.22 and below have this capability at DOS. Norton Utilities and others have both DOS and Windows programs for this. Norton calls their's Speed Disk and was included as Defrag on DOS 6.x (adopted by Microsoft).
    ------------------
    My

    Dennis
    Politalk

  9. #9
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    How about an icon that when double-clicked will: While displaying the details view, DEFRAGment all files and free space on all local non-removable drives in totally unattended mode.
    [list=1][*] Copy & Paste the following three lines into a file named DefragAll.bat and store it in the C:\WINDOWS folder.
     
       @echo off
       defrag /all /f /detailed /noprompt
       exit
     
    Here's what each of those four defrag parameters do:
     
    /all = Defragment all local, non-removable drives
    /f = Defragment files and free space
    /detailed = Display the Show Details view
    /noprompt = Unattended mode; do not stop and display confirmation messages
     
    Note: Even more of these parameters are available and briefly explained on this Microsoft KB page: Windows 95 Defrag.exe Command-Line Parameters
     [*] Right-click any blank space on the Windows Desktop and select New then Shortcut. Type in:
     
       c:\windows\defragall.bat
     
    and click Next, Next again, and then Finish.
     [*] Right-click the DefragAll.bat icon and select Properties. Click the Program tab, then the little box next to "Close on exit" (a checkmark will appear). Click Apply then Ok to save your change.[/list=a]
    That's it. Next time you want to DEFRAG, (once a week or so is good for most), simply double-click your new DefragAll.bat icon and walk away.
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  10. #10
    Join Date
    Jan 2000
    Location
    Pittsburgh, PA USA
    Posts
    2,053
    Hey Vern,
    Any problems with using DEFRAGALL.BAT on Windows 98SE ?

    Dave




    ------------------
    Is V.Dr. a great site, or what??

    Windows Tips *** Help others less fortunate.
    *** Help others less fortunate.

    JESUS IS LORD !

  11. #11
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    Don't have a system running Win98 SE handy at the moment but if I did I wouldn't hesitate to try it.
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  12. #12
    Join Date
    Aug 2000
    Posts
    786
    Thankyou all for your replies esp the detailed .bat file suggestion,I have not used it though,because 3days ago I reintalled W98se on a clean HD and now scandisk does not show any Immovable cluters sitting all alone on my 1.3GB HD with 326MB of data on it.I would like to clarify that scandisk(DOS Mode) showed them as not damaged and the defrag visual would not allow me to scroll to the last mm(0.03/inch)of the page.Also exit or win at DOS prompt works (the first restarts the second starts Windows)

  13. #13
    Join Date
    Aug 2000
    Posts
    786
    Originally posted by lukeg:
    Thankyou all for your replies esp the detailed .bat file suggestion,I have not used it though,because 3days ago I reintalled W98se on a clean HD and now scandisk does not show any Immovable clusters sitting all alone right in the last block of clusters (after a normal defrag DOS scandisk thorough ie check HD for damaged clusters).I would like to clarify that scandisk(DOS Mode) showed them as not damaged and the defrag visual would not allow me to scroll to the last mm(0.03/inch)of the page.Also exit or win at DOS prompt works (the first restarts the second starts Windows)

  14. #14
    Join Date
    Sep 1999
    Posts
    167
    Defrag Favorite should move the clusters together nicely.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •