Search the web
Sign In
New User? Sign Up
xxcopy
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Maybe I am dumb (probably) or xxcopy can't do it   Message List  
Reply | Forward Message #15598 of 15823 |
What I want to do is quite simple. I want to copy one File to a specific folder
and rename it in the process.

Thats what I thought it has to look like:
xxcopy C:\temp\cli_1304.trc L:\Folder\bla.trc

I want to copy "cli_1304.trc" to "L:\Folder\bla.trc" and its name should be
"bla.trc". But it always creates a folder "bla.trc" and copies the file into it
with the original name.

I sadly couldn't find a flag where I can tell him that the dst is a fully
quallifed filename.

Thanks for your help
Ruh

FYI:
The program that I am currently writeing crawls through a folder and copies all
the files and folders to a different place (the new file-/foldername is written
in an database) and my biggest problem is, that the windows copymehtod dosen't
support a filelength of more then 260 characters. My source is on windows and my
destination is a linux so it should be able to handle it.





Wed Jul 1, 2009 3:34 pm

ruharc
Offline Offline
Send Email Send Email

Forward
Message #15598 of 15823 |
Expand Messages Author Sort by Date

What I want to do is quite simple. I want to copy one File to a specific folder and rename it in the process. Thats what I thought it has to look like: xxcopy...
ruharc
Offline Send Email
Jul 1, 2009
4:27 pm

... As a general rule, xxcopy does not do any file renaming and always treats the destination as a directory path. There are some exceptions but I don't think...
Garry Deane
garrydeane
Offline Send Email
Jul 1, 2009
11:23 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help