1.    15 Feb 2016 #1
    Join Date : Sep 2015
    Posts : 73
    Windows 10

    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 System SpecsSystem 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.
      My System SpecsSystem Spec

  3.    15 Feb 2016 #3
    Join Date : Sep 2015
    Posts : 73
    Windows 10

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


Similar Threads
Thread Forum
Can't download batch file
Can't download batch file "10services_default.bat" to solve windows 10 start menu problem.
General Support
Solved Unable to run batch file at startup
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...
General Support
Solved Writhing Batch File
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
General Support
App doesnt open through a batch 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. ...
Software and Apps
System Info Batch File
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...
Chillout Room
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 10:25.
Find Us
Twitter Facebook Google+

Windows 10 Forums