What results at the cmd line of cmd "set" & "ver" under Win Vista

Discussion in 'Windows Server' started by bestofcomputer, Dec 31, 2005.

  1. I need to know what is displayed on the command line by the commands "set"
    and "ver", under Win Vista, for programming some batches :
    Could someone has an access to a Win Vista (Beta 1, or WinHEC 2004) System,
    and do the simple following :
    - open a DOS Box.
    - type : set > set.txt
    - type : ver > ver.txt
    - type : notepad set.txt
    - return to the DOS Box
    - type : notepad ver.txt
    - close the DOS Box
    - copy all the texts in the both notepad windows
    - paste the 2 texts in this group, as a reply to my post.
    - close all windows.
    Thanks a lot.
     
    bestofcomputer, Dec 31, 2005
    #1
    1. Advertisements

  2. bestofcomputer

    Dave Patrick Guest

    Microsoft Windows [Version 6.0.5219]
    (C) Copyright 1985-2005 Microsoft Corp.

    H:\ >set
    ALLUSERSPROFILE=H:\Users\Public
    APPDATA=H:\Users\Administrator.DSPATRICK\AppData\Roaming
    CommonProgramFiles=H:\Program Files\Common Files
    COMPUTERNAME=LONGHORN
    ComSpec=H:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=H:
    HOMEPATH=\Users\Administrator.DSPATRICK
    LOCALAPPDATA=H:\Users\Administrator.DSPATRICK\AppData\Local
    LOGONSERVER=\\XEON2003SERV
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=;H:\WINDOWS\System32\Wbem;H:\WINDOWS\system32;H:\WINDOWS
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=0401
    ProgramFiles=H:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=H:
    SystemRoot=H:\WINDOWS
    TEMP=H:\Users\ADMINI~1.DSP\AppData\Local\Temp\1
    TMP=H:\Users\ADMINI~1.DSP\AppData\Local\Temp\1
    USERDNSDOMAIN=DSPATRICK.LOCAL.COM
    USERDOMAIN=DSPATRICK
    USERNAME=Administrator
    USERPROFILE=H:\Users\Administrator.DSPATRICK
    windir=H:\WINDOWS

    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect

    :
    |I need to know what is displayed on the command line by the commands "set"
    | and "ver", under Win Vista, for programming some batches :
    | Could someone has an access to a Win Vista (Beta 1, or WinHEC 2004)
    System,
    | and do the simple following :
    | - open a DOS Box.
    | - type : set > set.txt
    | - type : ver > ver.txt
    | - type : notepad set.txt
    | - return to the DOS Box
    | - type : notepad ver.txt
    | - close the DOS Box
    | - copy all the texts in the both notepad windows
    | - paste the 2 texts in this group, as a reply to my post.
    | - close all windows.
    | Thanks a lot.
    |
     
    Dave Patrick, Dec 31, 2005
    #2
    1. Advertisements

  3. Thanks for your post.
    From your advice, these infos will still be the same for the final release
    of Vista, or will there be some changes, and of what kind ?
    As I can see, the file structure has been lettle changed from XP.
    And there are some env var names that i dont understand in your list.
    Could you clear me about them ?
    There are they :
    - what is ".DSPATRICK" ?
    - in : "TEMP=C:\Users\ADMINI~1.DSP\AppData\Local\Temp\1" : what are
    "ADMINI~1.DSP", and "\1" ?
    - what is "DSPATRICK.LOCAL.COM" ?
    - what is "Administrator.DSPATRICK" ?
    Did you make more than one install, that migth explain the strange spelling
    of your env var ?
    If not, what is this new strange spelling appearing in Vista, and that was
    not like that in XP ?
    Thanks a lot.
     
    bestofcomputer, Jan 1, 2006
    #3
  4. bestofcomputer

    Dave Patrick Guest

    :
    | Thanks for your post.
    | From your advice, these infos will still be the same for the final release
    | of Vista, or will there be some changes, and of what kind ?
    | As I can see, the file structure has been lettle changed from XP.
    | And there are some env var names that i dont understand in your list.
    | Could you clear me about them ?
    | There are they :
    | - what is ".DSPATRICK" ?
    * Domain name

    | - in : "TEMP=C:\Users\ADMINI~1.DSP\AppData\Local\Temp\1" : what are
    | "ADMINI~1.DSP", and "\1" ?
    * EightDotThree file names

    | - what is "DSPATRICK.LOCAL.COM" ?
    * Domain name

    | - what is "Administrator.DSPATRICK" ?
    * User profile

    | Did you make more than one install, that migth explain the strange
    spelling
    | of your env var ?
    * No, clean install. What strange spelling?


    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect
     
    Dave Patrick, Jan 1, 2006
    #4
  5. Thanks for the post.
    But I need some more information about 4 questions :
    What is under Win Vista with IE70, the full Pathname, for the Current User
    of :
    - His Desktop : is it : "%USERPROFILE%\Desktop" ? Or is it
    "%windir%\Desktop" ? Or what else ?
    - His Quick Launch Tool Bar : Does it still exist under this such System or
    not, and what is its full pathname : is it : "%APPDATA%\Microsoft\Internet
    Explorer\Quick Launch\" ? Or is it : "%LOCALAPPDATA%\Microsoft\Internet
    Explorer\Quick Launch\" ? Or is it : "%windir%\Application
    Data\Microsoft\Internet Explorer\Quick Launch" ? Or what else ?
    - Does the command "find" still exist under Vista, and does it behave the
    same as before, like : does it still return an errorlevel=0 if true, and
    errorlevel=something else if false ?
    - Does the shareware command-line "Shortcut.exe" V 1.11 (Download from :
    Marty List : www.OptimumX.com) still work properly as expected under Vista
    for creating Shortcut .LNK ? Or the data structure of the .LNK Shortcuts
    under Vista has changed from previous Windows, and this shareware is unable
    to build a valid shortcut under Vista ? Or maybe the shortcuts made by this
    tool are still usable under Vista, despite the fact they may not respect the
    full new data structure of the Vista .LNK Shortcuts ? Please try to clear
    these points for me, since I have no access to a Vista System, and I want to
    be future proof with my little batches programming...
    Thanks a lot.
     
    bestofcomputer, Jan 3, 2006
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.