Windows 10: Batch file hide command window


  1. Posts : 353
    Windows 10 home 1709/16299.431
       15 Feb 2016 #1

    Batch file hide command window


    I have a batch command to back up a subdirectory:
    xcopy "C:\All\*" "E:\Allback\*" /E /Q

    How can I hide the command window during the execution?
      My ComputerSystem Spec

  2.    15 Feb 2016 #2

    Try this VBscript method (there's undoubtedly a PowerShell equivalent, too): How to run .BAT files invisibly, without displaying the Command Prompt window - The Winhelponline Blog.
    --Ed--
      My ComputersSystem Spec


  3. Posts : 353
    Windows 10 home 1709/16299.431
    Thread Starter
       15 Feb 2016 #3

    Thanks for the lead. I'll go with the minimize option. Don't know why I didn't think of it.
      My ComputerSystem Spec


 

Related Threads
Can't download batch file in General Support
Can't download batch file "10services_default.bat" to solve windows 10 start menu problem.
I am trying to run a batch file with these contents: ECHO OFF TIMEOUT /T 2 /NOBREAK DisplaySwitch.exe /internal TIMEOUT /T 2 /NOBREAK DisplaySwitch.exe /external I've tried putting a shortcut to it in the startup folder, putting the bat...
Solved Writhing Batch File in General Support
Here is my batch file but it will not delete the file? Must be missing something :( del "C:\Users\Larry\AppData\Local\TractorParts\tractor\ConfigSetting" Trying to delete the ConfigSetting File
Chaps... I have a desktop running with a few apps 24/7 feeding to a network, on the rare occasion it drops or restarts due to some update or power outage I thought I could write a simple batchfile just to restart everything automatically. ...
System Info Batch File in Chillout Room
Hi Everyone, I thought it may be interesting to get input from others regarding this batch file. I was hoping for suggestions about: Information to add to the report. Ways of making the current code more efficient. Etc... A while back i...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:43.
Find Us