Jump to content

Recommended Posts

Posted (edited)

everyday, i received many fixed .xls file. EX: abc mmm.xls, hhh klm.xls. lkj hgf.xls. I put all in a folder, ex:C:\dailymail.

i have many fixed folder with special name,.EX: mmm,klm,hgf...(a part of filename i received).

everyday, i have to copy manual many file to many folder. EX: C:\dailymail\abc mmm.xls into mmm, C:\dailymail\hhh klm.xls into klm...

can you help me do it automatically.

Thanks so much.

(My English is not good)


filename contain folder name. eg:

folder i received many file. eg C:\daily mail

file name:

data bush obama xxx.xls

mail la ny xyz.xls

...

target folder .eg "D:\data mail" have many folder

bush obama

la ny

...

i have to copy file "C:\daily mai\data bush obama xxx.xls" to folder "D:\data mail\bush obama"



i have to copy file "C:\daily mai\mail la ny xyz.xls" to folder "D:\data mail\la ny"



note:

xxx, xyz: random string



thanks.

Edited by oneclick

Posted

First note: We will not respond to homework questions.

Secondly, this is a programming Forum and you haven't told us what the base OS is nor which language you require for your solution; you have not provided real names for the files/folders/locations and failure to rectify these will result in me closing this Topic.

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...