Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


VSS: Specify a list of files at command line

Posted on 2002-04-24
Medium Priority
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)
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

730 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