[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 8644 Date : 2004-09-02 Author : John Zeman Subject : Re: exclusion of directories and his contain Size(KB) : 1
--- In xxcopy@yahoogroups.com, "ctheod" wrote: > > Please, can you explain the signification of /%X% in the exclusion > file? > > Thank you. > > CT External exclusion files (specified by the /EX option), and external command files (the /CF option) are used internally by xxcopy. So the values of environmental variables that you may use in a batch file are not automatically imported into those external files by xxcopy. To force xxcopy to recognize a variable in an exclusion (or command) file, instead of using the normal %VAR% syntax as you would in the batch file, you must precede the variable name with a / For example, in one of my xxcopy batch files I assign the drive path of my destination drive to the variable %DST%. In my external command file, I use that variable like this: C:\ :: Source "/%DST%\" :: Destination For more information you might want to read section 4.5 in technical bulletin #27 http://www.xxcopy.com/xxcopy27.htm Or read the last section in the page called "Environment Variables" in the xxcopy.chm help file that's available in the files section of this forum. http://groups.yahoo.com/group/xxcopy/files/ John
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.