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,044 of 42,547   
   Herbert Kleebauer to John Robertson   
   Re: Change the right click context menu    
   04 Jul 22 08:22:19   
   
   XPost: alt.comp.os.windows-10   
   From: klee@unibwm.de   
      
   On 04.07.2022 04:56, John Robertson wrote:   
   > On 2022/07/03 7:42 pm, Zaidy036 wrote:   
   >   
   >   
   >> One way to always run as Admin would be to start the batch with:   
   >>   
   >> If %1=a goto xxxx   
   >> SCHTASKS /RUN /TN    at highest privileges and add argument a.   
   >> :xxxx   
   >   
   > If I can get this to work that will be beautiful as then I won't NEED that   
   > damn context menu to run each of a hundred different batch files as admin!   
      
   Create a link to the batch file, then in the properties of   
   the link you can specify that it should be run as administrator.   
      
   --- 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