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?
LVL 7
peterchen092700Asked:
Who is Participating?
 
CetusMODCommented:
PAQed, with points refunded (50)

CetusMOD
Community Support Moderator
0
 
peterchen092700Author Commented:
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?
0
 
jkrCommented:
Hmm, the good ole' command processor should do that:

checkout << list_of_files.txt

or

type list_of_files.txt | checkout
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
peterchen092700Author Commented:
??
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)
0
 
jkrCommented:
What a pity - I do that stuff with CVS/RCS and the scripting with a bash, so I thought it should work...
0
 
peterchen092700Author Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.