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,043 of 42,547   
   Herbert Kleebauer to John Robertson   
   Re: Change the right click context menu    
   04 Jul 22 18:06:38   
   
   XPost: alt.comp.os.windows-10   
   From: klee@unibwm.de   
      
   On 04.07.2022 16:38, John Robertson wrote:   
      
   >   
   > Otherwise I select a few dozen of these *.bat files and right click and   
   > then select "Run as Administrator" from the *.bat context menu, and then I   
   > hit "Yes" over and over in the UAC prompts until one of those batch files   
   > works.   
   >   
   > When that one batch file works, I'm on VPN and then I hit "No" just once to   
   > the UAC prompt and I'm done with interactions until I exit VPN.   
      
   I'm not sure if I understand your problem correctly:   
   You have a directory with many batch files and you want   
   to execute them all with admin rights?   
      
   Create a file "run_them_all.cmd" with this single line (untested):   
      
   for %%i in (*.bat) call %%i   
      
      
   and then execute "run_them_all.cmd" 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