home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,844 of 42,547   
   Kerr-Mudd,John to T@invalid.invalid   
   Re: Home or Pro?   
   04 Jun 20 08:44:18   
   
   From: notsaying@invalid.org   
      
   On Thu, 04 Jun 2020 06:20:37 GMT, T  wrote:   
      
   > On 2020-06-03 22:58, T wrote:   
   >> Hi All,   
   >>   
   >>  From the command line, is there a was to tell if I am   
   >> running Home or Pro?   
   >>   
   >> Many thanks,   
   >> -T   
   >   
   >   
   > What I have wso far:   
   >   
   > batch: Home or Pro?   
      
   > reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v   
   > ProductName HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows   
      
   No need to search the registry, IMO.   
      
   How about:   
      
   @if exist C:\WINDOWS\system32\mstsc.exe echo Pro&goto :EOF   
   @echo Home   
      
      
      
      
   --   
   Bah, and indeed, Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca