![]() ![]() The only requirement is it has to be findable, ie: in the current direcotory, or in a directory that is on the search path. DOS (or Windows command line) will recognize the name if you type it, and run the files content just as if you typed it at the command line. ![]() I'm not sure if you're familiar with batch files, basically you might cut-and-paste the above into a new text file, and save it with a name and the extension ".bat". It's actually got many more lines for other directories I need to copy, but this will give you the offrem ALWAYS edit this file with word wrap off, safer!rem xxcopy switches:rem /bi: Backs up incrementally, different (by time/size) files only.rem /yy: Suppresses ALL prompts unconditionally (good in a batch script).rem /zy: Deletes extra files or subdirectories in destination, WITHOUT PROMPT.rem /e: Copies directories and subdirectories, including empty ones.xxcopy /bi /yy /zy /e "C:\My Documents\*.*" "d:\My Documents\ But maybe if your needs are simple you can see all you need (the basics), from the following cut-and-paste from my batch files. Anyways, the XXCopy website has a complete, very ponderous explanation of the many, many switches. You don't have to set this, but if you do, you will not have deleted files building up at destination: source and destination will be mirrors. Like everything, this is controlled by a switch (/zy). Delete files at destination that have been deleted at source. Copy files from multiple directories at source to a single directory at destination, and use various name appending strategies in the event of duplicate names.Ĥ. There may be some superflous copying if the source and destination are 2 drives with different systems, say ntfs and fat, which have different minimum time increment.ģ. Compare dates/times at source and only copy if there are differences. All of the functionality of XCopy, ie: the ability to copy trees.Ģ. Sometimes that new version might be a week or so before becoming available.ġ. Occasionaly there will be major change to Windows, say a Service Pack, and it will then warn that you need to download the newer version. BTW, it has no problems with long file names. XXCopy basically starts with XCopy functionality, and then adds to it. XCopy's main attraction was the ability to copy entire directory trees. XXCopy is an freeware command line utility, which get's it's namesake from Microsoft's XCopy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |