Windows 10: How to close Batch filecmd command automatically after running

Discus and support How to close Batch filecmd command automatically after running in Windows 10 Software and Apps to solve the problem; Hi EverybodyOnedrive mklink not syncingupdating files on a Windows 10 Server. So this is what I did. 1. Create a Mklink to sync Pastel Folder -... Discussion in 'Windows 10 Software and Apps' started by JacquesRossouw-ZA, Jul 2, 2023.

  1. How to close Batch filecmd command automatically after running


    Hi EverybodyOnedrive mklink not syncingupdating 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????

    :)
     
    JacquesRossouw-ZA, Jul 2, 2023
    #1
Thema:

How to close Batch filecmd command automatically after running

Loading...
  1. How to close Batch filecmd command automatically after running - Similar Threads - close Batch filecmd

  2. batch if command

    in Windows 10 Gaming
    batch if command: I guess this is the age of the bat scripts ---- this expression fails even if the computer name is fpe1002 — it is actualy FPE1002 if /I [%computername%] == [fpe1002] set sd=shd01 c:\Editors else set sd=but this express succeeds with the computer name as FPE1002 set...
  3. batch if command

    in Windows 10 Software and Apps
    batch if command: I guess this is the age of the bat scripts ---- this expression fails even if the computer name is fpe1002 — it is actualy FPE1002 if /I [%computername%] == [fpe1002] set sd=shd01 c:\Editors else set sd=but this express succeeds with the computer name as FPE1002 set...
  4. batch if command

    in Windows 10 Customization
    batch if command: I guess this is the age of the bat scripts ---- this expression fails even if the computer name is fpe1002 — it is actualy FPE1002 if /I [%computername%] == [fpe1002] set sd=shd01 c:\Editors else set sd=but this express succeeds with the computer name as FPE1002 set...
  5. How to close Batch filecmd command automatically after running

    in Windows 10 Network and Sharing
    How to close Batch filecmd command automatically after running: Hi EverybodyOnedrive mklink not syncingupdating 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...
  6. How to close Batch filecmd command automatically after running

    in Windows 10 Gaming
    How to close Batch filecmd command automatically after running: Hi EverybodyOnedrive mklink not syncingupdating 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...
  7. Command Prompt closes immediately after opening batch file

    in Windows 10 News
    Command Prompt closes immediately after opening batch file: [ATTACH]When we execute a batch file, the Command Prompt opens and closes automatically after processing the batch file. Sometimes, the command is executed so quickly that it seems like the Command Prompt closes immediately after opening the batch (BAT) file. This prevents...
  8. Batch commands

    in Windows 10 Network and Sharing
    Batch commands: I know this stuff is kind of old tech, but would anyone know how to make a script that goes through the contents of a folder or file and uses them as command-line arguments say in pseudocode it might look something like: for each item in Desktop, copy %name% to D:\ a USB...
  9. SFTP command for automatic batch job

    in Windows 10 Customization
    SFTP command for automatic batch job: psftp *** Email address is removed for privacy *** -l username -pw password If I am using sftp in windows 10, what is the command to put the password behind like psftp ?...
  10. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531