How to close Batch file(cmd command) automatically after running

  • Thread starter Thread starter JacquesRossouw-ZA
  • Start date Start date
J

JacquesRossouw-ZA

Guest
Hi EverybodyOnedrive mklink not syncing(updating) files on a Windows 10 Server. So this is what I did. 1. Create a Mklink to sync Pastel Folder - Working2. Create batch file with following commands - working%localappdata%\Microsoft\OneDrive\onedrive.exe /shutdown %userprofile%\AppData\Local\Microsoft\OneDrive\OneDrive.exe /background 3. Create Task in Windows Task scheduler to run Batch file every hour - Working4. Only problem - Batch file\CMD Window doesnt close automatically after run. - Not WorkingWhat command must I add to Batch file to close CMD window????

Continue reading...
 
Back
Top