From: T@invalid.invalid   
      
   On 2020-06-05 10:28, T wrote:   
   > On 2020-06-04 01:44, Kerr-Mudd,John wrote:   
   >> 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   
   >    
   >    
   > Thank you!   
   >    
   >    
   > Hmmmmmm. msg.exe would work too.   
   >    
   > where mstsc.exe   
   > C:\Windows\System32\mstsc.exe   
   >    
   > where msg.exe   
   > C:\Windows\System32\msg.exe   
   >    
   > where bozo.exe   
   > INFO: Could not find files for the given pattern(s).   
   >    
   >    
   > I am going to be doing a a remote assist with a Home in   
   > a few hours, so I will run a "where" on both of them.   
   > Bozo too, so he doesn't feel left out.   
   >    
   >    
   >    
      
      
   Opps. mstsc show in home as well.   
      
   Pro:   
   where mstsc.exe   
   C:\Windows\System32\mstsc.exe   
      
   where msg.exe   
   C:\Windows\System32\msg.exe   
      
   where bozo.exe   
   INFO: Could not find files for the given pattern(s).   
      
      
   Home:   
    >reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v    
   ProductName   
   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion   
    ProductName REG_SZ Windows 10 Home   
      
    >where mstsc.exe   
   C:\Windows\System32\mstsc.exe   
      
    >where msg.exe   
   INFO: Could not find files for the given pattern(s).   
      
    >where bozo.exe   
   INFO: Could not find files for the given pattern(s).   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|