Loading ...
Sorry, an error occurred while loading the content.

12598Re: [Clip] Where Do I Find What Version of Windows?...

Expand Messages
  • Jody
    Oct 12, 2004
      Hi Larry

      Yes, I got that already, but thanks much! I was hoping it would
      be and it might be just a few differences. All know when I get
      some more results. The lines will be wrapped and it is just for
      writing out write now as I gather info. But, this is sort of
      what I'm shooting for:

      ^!IfSame "^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion:ProductName)$" "Microsoft Windows 98" Next else Look4XP
      ^!Info Is Win98
      ^!Goto VersionFound

      ; ^!IfSame "" "" Next else Look4XPSP1
      ; ^!IfSame "" "" Next else Look4XPSP2

      ^!Info "^$StrCopy("^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion:BuildLab)$";6;8)$" "xpsp_sp2" Next else Look42K
      ^!IfSame "^$StrCopy("^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion:BuildLab)$";6;8)$" "xpsp_sp2" Next else Look42K
      ^!Info Is XP SP2
      ^!Goto VersionFound

      ^!IfSame "^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion:ProductName)$" "Microsoft Windows 2000"
      ^!Info Is w2k
      ^!Goto VersionFound


      >I modified my clip to use the last three values below and get this on
      >Windows XP Home SP2:
      >Microsoft Windows XP 5.1 2600 Service Pack 2
      >The clip for the buildlab gives me:
      >I reviewed my notes and found this to distinguish between XP Home and Pro:
      >How to detect and distinguish XP Home Edition and Professonal Edition
      >There is a value name
      >Its data is 'Personal' on XP home while '' on XP professonal.
      >I cannot get the above key read by NoteTab.
      >Here is the revised clip that I sent earlier:
      >;07/24/2002 Larry Hamilton lmh@...
      >;^!Info ^$GetRegValue(HKEY_LOCAL_MACHINE\Software\FundWare\7.16:U)$
      >;Windows 95, 98 and Me:
      >;Windows NT, 2000 and XP:
      >;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
      >^!SetDebug ON
      >^!Info ^%ProductName% ^%CurrentVersion% ^%CurrentType%
      >^%CurrentBuildNumber% ^%CSDVersion%
      >> gives me nothing, as I don't have that node in my Windows 2000 registry.
      >> ^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
      >> NT\CurrentVersion:ProductName)$

      Microsoft Windows 2000

      >> ^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
      >> NT\CurrentVersion:CurrentVersion)$
      >> ^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
      >> NT\CurrentVersion:CurrentBuildNumber)$
      >> ^$GetRegValue(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
      >> NT\CurrentVersion:CSDVersion)$
      >> gives me the following:-
      >> Microsoft Windows 2000
      >> 5.0
      >> 2195
      >> Service Pack 4

      ...he that is of a merry heart hath a continual feast...
      See ya in the funnies!
      notetab.net, fookes.us

      [Non-text portions of this message have been removed]
    • Show all 17 messages in this topic