Win command


  1. Posts : 2
    Windows 7 Ultimate x86
       #1

    Win command


    What is the use of win command in command prompt. No action is done by that, but still dos accepts it. Have anyone tried it. Can anyone answer this.
      My Computer


  2. Posts : 1,992
    10 Pro x64
       #2

    mine says win doesn't exist. are you talking command prompt in 7 or a dos 6.0 install on something else? if you just type help you get all commands that it understands, if yours understands win then you have some other environment variable set up for it to understand that.
      My Computer


  3. Posts : 7,379
    Windows 7 ultimate x64
       #3

    I maybe wrong. But, I don't think there is "Win" command for DOS.
      My Computer


  4. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #4

    Log veera said:
    What is the use of win command in command prompt. No action is done by that, but still dos accepts it. Have anyone tried it. Can anyone answer this.
    Back when we had Windows 3.1, the system would initially boot to MSDOS and you had to type "WIN" to load Windows or you had to have the command in the autoexec.bat.
    Never thought about the WIN command after that. Guess it should not do anything nowadays.

    rvcjew said:
    mine says win doesn't exist. are you talking command prompt in 7 or a dos 6.0 install on something else? if you just type help you get all commands that it understands, if yours understands win then you have some other environment variable set up for it to understand that.
    On my Windows 7 32bit SP1, it exists but does absolutely nothing.

    Win command-w.png

    Win command-win.png
      My Computer


  5. Posts : 2
    Windows 7 Ultimate x86
    Thread Starter
       #5

    Reply for my previous post.


    It exists on all windows xp, windows 7.. open run -> cmd. then type win and what does that command does.?
      My Computer


  6. Posts : 7,379
    Windows 7 ultimate x64
       #6

    I have Win 7. It does not exists on mine.
      My Computer


  7. Posts : 2,497
    Windows 7 Pro 64 bit
       #7

    In old versions of Windows (Windows 98 and older) the win.com command would start Windows from the DOS prompt. In all NT platform systems it does nothing and exists only for compatibility with old batch files. As it is a 16 bit command it does not exist on 64 bit systems.
      My Computer


  8. Posts : 1,992
    10 Pro x64
       #8

    LMiller7 said:
    In old versions of Windows (Windows 98 and older) the win.com command would start Windows from the DOS prompt. In all NT platform systems it does nothing and exists only for compatibility with old batch files. As it is a 16 bit command it does not exist on 64 bit systems.
    okay i figured it was as much explains why its not in our x64 win 7's but in the 32 bit ones. that's why i asked him if he was in a actual install of DOS 6.0 as it would have the command. I couldn't find info on what it did anymore.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:12.
Find Us