Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7846953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:45:25+00:00 2026-06-02T17:45:25+00:00

i am running a number of small batch scripts to copy data from one

  • 0

i am running a number of small batch scripts to copy data from one location to another using robocopy

i have pasted a sample below.

what i need to do for each of these batch files is get it to open and run the robocopy commands listed (which it is doing) but i need the robocopy output windows to be in set colours per batch file.

the batch file reads as below
start robocopy.exe “source” “destination” /MIR /Log:e:\outputlog.txt /TEE

start robocopy.exe “source” “destination” /MIR /Log:e:\outputlog.txt /TEE

start robocopy.exe “source” “destination” /MIR /Log:e:\outputlog.txt /TEE

the above would all run at once which is fine but i cannot make the robocopy windows change colour. (the 3 above are fine as one colour we would run another batch file as above but with a different colour to differentiate between copies)

is this even possible.

i know the cmd command can have a colour change which works but only for that window. as the robocopy command opens up a new window the colour settings do not pass down,

any help or ideas on this would be greatly appreciated. we need to keep the code simple as various users need to use it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:45:26+00:00Added an answer on June 2, 2026 at 5:45 pm

    cmd can take a /T parameter to specify the colours. Eg: start cmd /T:5A starts a new command windows with purple(5) background and light green text(A)

    You can use /C or /K to start a new command within the new instance ( C terminates on completion)

    i.e. start cmd /T:5A /K robocopy... should do it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CruiseControl build server running a large number of projects. On one
We have a number of servers running various different LAMP setups. One thing that
We have a number of small projects within our system running on Linux (Slackware
I have the task of large number of threads running, each doing a small
I have a small python script that creates a graph of data pulled from
I have a small number of static sites where I simply want to hide
I'm trying to read a number of performance counters from a running .NET 4
We are getting reports from a small number of users that they are ending
I have written a small example C++ program, using boost::thread. Since it's 215 lines,
I need to do some heavy machine learning computations. I have a small number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.