VSS: Specify a list of files at command line

Posted on 2002-04-24
Last Modified: 2013-12-03

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?
Question by:peterchen092700
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Author Comment

ID: 6964935
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?
LVL 86

Expert Comment

ID: 6966408
Hmm, the good ole' command processor should do that:

checkout << list_of_files.txt


type list_of_files.txt | checkout

Author Comment

ID: 6966912
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)
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

LVL 86

Expert Comment

ID: 6966927
What a pity - I do that stuff with CVS/RCS and the scripting with a bash, so I thought it should work...

Author Comment

ID: 6969552
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

Accepted Solution

CetusMOD earned 0 total points
ID: 10743180
PAQed, with points refunded (50)

Community Support Moderator

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access 2010 subforms in a form, not showing scrollbars 7 71
Vb.Net Loading Word 11 109
Using MS Code on my Mac 6 78
Need a simple RegEx to search for two words 27 124
This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question