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

  • Home
  • SEARCH
  • 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 8589973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:11:10+00:00 2026-06-11T23:11:10+00:00

Need expert to help me to do simple window .bat file to copy files/folder

  • 0

Need expert to help me to do simple window .bat file to copy files/folder into different specific folder

ProjectDevFolder
    /module1
        /module1-1
        /module1-2
    /module2
        /module2-1
            /module2-1-1
                /module2-1-1-1
        /module2-2
    /images
    /css
    /jquery
    /classes
    .jspfile1
    .jspfile2
    .jspfile3
    .jspfile4

To test destination

wwwFolder
    /module1
        /module1-1
        /module1-2
    /module2
        /module2-1
            /module2-1-1
                /module2-1-1-1
        /module2-2
    /images
    /css
    /jquery
    /classes
    .jspfile1
    .jspfile2
    .jspfile3
    .jspfile4

Example of window command prompt

C:\DeployScript.bat
To copy : css module2-1-1-1 jquery *(user can input multiple value with any seperator eg:space is the seperator)*
 - Status deploy css  -done
 - Status deploy module2-1-1-1  -done
 - Status deploy jquery  -done

To copy :   *(Next command)*

Thank you

  • 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-11T23:11:11+00:00Added an answer on June 11, 2026 at 11:11 pm

    This will copy all files and subdirectories (including empty ones) from sourceDir to targetDir.

    XCOPY /S /E /I sourceDir targetDir
    

    targetDir does not need to exist. XCOPY will create it if need be.
    To exclude empty directories, leave out the /e.

    To exclude files, create a text file containing the names of the files to exclude, and use this command:

    XCOPY /S /E /I /EXCLUDE:files.txt sourceDir targetDir
    

    To learn more about xcopy, type XCOPY /? ENTER at the command prompt.

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

Sidebar

Related Questions

I need help loading a custom file format into my program made in c++...
I need a regex expert to help out on this one. Examples I've found
Not a regex expert, but I know enough to be dangerous, need some help
Hi I need your help if you are an expert in MOSS. I have
I need help with the following: I have these files with names: ABC.rt1, ABC.rt2,
Silverlight experts out there, I need some help. I used Deep Zoom Composer to
I am dealing with an issue and need some expert advice on to achieve
i need to convert a Utf-16BE in ISO-8859-1 in PHP (i'm not an expert
I am not a CSS expert (mainly because I haven’t had the need to
Hello all I hope someone can help me I am working on a simple

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.