Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

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?
0
peterchen092700
Asked:
peterchen092700
  • 3
  • 2
1 Solution
 
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
 
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
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
 
CetusMODCommented:
PAQed, with points refunded (50)

CetusMOD
Community Support Moderator
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.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now