Link to home
Start Free TrialLog in
Avatar of peterchen092700
peterchen092700

asked on

VSS: Specify a list of files at command line

Hi,

I'm using VSS commnad line to get & checkout certain projects

Can I also specify a file containing a list of files to be checked out?
Avatar of peterchen092700
peterchen092700

ASKER

Other potential solution:

I used VSS Explorer to cloak certain projects.
When I now do a recursive command using the command line
(e.g. ss checkout $Sources/*rc -r), but the cloaked prjects will be cheked out, too.

Any idea or reason?
Avatar of jkr
Hmm, the good ole' command processor should do that:

checkout << list_of_files.txt

or

type list_of_files.txt | checkout
??
How would the batch look like?

ss checkout -r

will not read anything from stdin, so the input redirection / pipe doesn't work.  (OK, I didn't try, but I'm batch-scripting for a few days now ;o)
What a pity - I do that stuff with CVS/RCS and the scripting with a bash, so I thought it should work...
Ahhh... enlightment comes through pain*

FOR /F %%FILE IN (filelist.txt) DO

Doesn't work on Win 9x, though....

(actually, I found the W2K batch processing quite powerful... so go figure)


* my boss was bickering about "printing all PDF's from one folder - sorted by name" once to much
ASKER CERTIFIED SOLUTION
Avatar of CetusMOD
CetusMOD
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial