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,846 of 42,547   
   T to John   
   Re: Home or Pro?   
   05 Jun 20 10:28:53   
   
   From: T@invalid.invalid   
      
   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.   
      
   --- 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