Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8900233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:03:28+00:00 2026-06-15T01:03:28+00:00

I am attempting to write a batch file for my developers to run that

  • 0

I am attempting to write a batch file for my developers to run that sets up workspaces. The batch file will use Plastic’s command line utility, cm.exe.

When I create a workspace in the Plastic client GUI, there is a combo box that allows me to select the repository. This generates a plastic.workspace file, and a plastic.selector file that contains a reference to the selected repository.

However, when I use the command line utlity to make a workspace, I have to specify an existing selector:

cm mkwk MyWorkspace c:\MyWorkspacePath --selector=my.selector

or edit the selector when prompted:

cm mkwk MyWorkspace c:\MyWorkspacePath --selector

Ideally, I would like to be able to do something like

cm mkwk MyWorkspace c:\MyWorkspacePath MyRepository@MyServer:8888

and have the files generated the same way that they are done by the GUI.

Is there a way to do this using cm.exe, or do I have to write all the selectors beforehand?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:03:29+00:00Added an answer on June 15, 2026 at 1:03 am

    Although it’s not documented, you can issue the “mkwk” command with the “–repository” parameter. For example:

    cm mkwk code c:\code --repository=code@localhost:8087
    

    Hope it helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to write a Twitter Powershell script that will use community created interfaces
I am attempting to write a firefox addon that will analyze the displayed page
I am attempting to write an ASP.net web service that will be utilized by
I'm attempting to write a function in assembly that will detect if a longer
I'm attempting to write a menu driven modular perl script that will capture user
I am attempting to write a interpreter that will turn a string like: vector(random(0,
I am attempting to write a batch file for editing the hosts file. I
Attempting to write a line to a text file in Python 2.7, and have
I am attempting to write an Android application that makes use of the GNU
I'm attempting to write a query that will return The most recent AccountDate with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.