Jump to content

batch script for copy file


Recommended Posts

Maybe is of the topic but I would like to know is it posible to make

command to copy one file from cd to some destination on hard drive.

The problem is destination because is unknown, it depends where the program is instaled.

For example I want do copy images from CD to folder "images" inside of "Borgchat" folder but

I dont know in what folder Borgchat is installed.

Is it possible to make that in batch script?

like "copy .\1.bmp+2.bmp+3.bmp ???destination???\images"

Link to comment
Share on other sites


you can use copy /? to get the list of params,

or you can see the command xcopy which is better and copies whole dirs (xcopy /? for list of params)

For the Unknown folders I always install the app in virtual machine and I check the name of the installation folder.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...