Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Win command

19 Dec 2013   #1
Log veera

Windows 7 Ultimate x86
 
 
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 System SpecsSystem Spec
.
19 Dec 2013   #2
rvcjew

7 Pro x64, 10 Pro x64
 
 

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 System SpecsSystem Spec
19 Dec 2013   #3
archer

Windows 7 ultimate x64
 
 

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

19 Dec 2013   #4
gladson1976

Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
 
 

Quote   Quote: Originally Posted by Log veera View Post
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.

Quote   Quote: Originally Posted by rvcjew View Post
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 System SpecsSystem Spec
19 Dec 2013   #5
Log veera

Windows 7 Ultimate x86
 
 
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 System SpecsSystem Spec
19 Dec 2013   #6
archer

Windows 7 ultimate x64
 
 

I have Win 7. It does not exists on mine.
My System SpecsSystem Spec
19 Dec 2013   #7
LMiller7

Windows 7 Pro 64 bit
 
 

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 System SpecsSystem Spec
19 Dec 2013   #8
rvcjew

7 Pro x64, 10 Pro x64
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
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 System SpecsSystem Spec
Reply

 Win command




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
need help with command prompt command
@Echo Off Title Sccm cd %systemroot%\system32 call :IsAdmin Reg.exe add "HKLM\SOFTWARE\Microsoft\CCM\CcmExec" /v "SystemTaskExcludes" /t REG_SZ /d "" /f Reg.exe add "HKLM\SOFTWARE\Microsoft\CCM\CcmExec" /v "ProvisioningMode" /t REG_SZ /d "false" /f Reg.exe add...
General Discussion
My Windows 7 64bit Home Premium does not have a COMMAND or COM command
When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to. I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I...
General Discussion
What does this command do?
solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved solved
Performance & Maintenance
No REG Command in "Open elevated command window here" DOS Box
I have used the @="cmd.exe /s /k pushd \"%V\"" type of Registry mod to obtain a context menu "Open elevated command window here" menu item, such as in the "Open elevated command window here" thread ( http://www.sevenforums.com/general-discussion/75069-open-elevated-command-window-here.html ). ...
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion


Our Sites

Site Links

About Us

Find 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 15:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App