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,825 of 42,547    |
|    Anthony R. Gold to not-for-mail@ahjg.co.uk    |
|    Re: Starting OneDrive    |
|    16 Apr 20 20:35:11    |
   
   From: not-for-mail@ahjg.co.uk   
      
   On Thu, 16 Apr 2020 20:29:58 -0400, "Anthony R. Gold"   
    wrote:   
      
   > I'd like to make a batch file to restart OneDrive. This is my attempt:   
   >   
   > Taskkill /IM OneDrive.exe /F   
   > timeout 10   
   > C:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe   
   >   
   > The first two lines execute fine but then the last give this error:   
   >   
   > OneDrive can't be run using full administrator rights   
   >   
   > Please restart OneDrive without administrator rights   
   >   
   > Any pointers will be helpful.   
      
   Sorry - my mistake. The latest version of the failing batch is now:   
      
    Taskkill /IM OneDrive.exe /F   
    timeout 10   
    START /d "C:\Program Files (x86)\Microsoft OneDrive" OneDrive.exe   
   /background"   
      
   --- 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