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

Number : 2652 Date : 2002-08-14 Author : tarran2000 Subject : Re: Can you use %username% in an exclude list? Size(KB) : 0
The usage of %username%*.zip works from the command line, but I can't get this work from within my exclude file. Have you tried this out yourself Joseph?, as this doesn't work for me.. --- In xxcopy@y..., Joseph Maddison wrote: > > Is there any way I can exclude any file on the hard disk which starts > > with the person's username and ends with .zip I still need to back > > up other zip files so I can't just exclude *.zip I can't see any way > > to do this? > > use the command (with whatever additional parameters you need) > > xxcopy /S/E /X%USERNAME%*.zip *.* \wherever > > where USERNAME is an environment variable you set up on the system login, if it > isn't already present. This can be used in conjunction with a /exexclude.lst > file for the rest of the files you wish to exclude that do not have env vars. > > Joseph Maddison > Minneapolis, MN
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.