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 42,095 of 42,547   
   JJ to All   
   Re: I need to check if I am running as A   
   12 Nov 22 13:27:20   
   
   From: jj4public@outlook.com   
      
   On Fri, 11 Nov 2022 21:38:46 -0800, T wrote:   
   > Hi All,   
   >   
   > Is there a simple command line I can throw   
   > to tell me if I am running as administrator?   
   >   
   > Many thanks,   
   > -T   
      
   You can use: fsutil /?   
      
   It'll tell you by a message and ERRORLEVEL=1 if there's no admin rights.   
      
   If there's admin rights, it'll simply display fsutil's help and with   
   ERRORLEVEL=0.   
      
   --- 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