MKS is a software package for Windows that provides a Unix-like environment for scripting and porting software. It includes several command-line shells supporting traditional Unix commands and Windows-specific commands, connectivity tools, and porting APIs.
Questions tagged [mks]
90 questions
0
votes
2 answers
how to run an exe using shell script
I have an exe which takes 2 parameters both are csv as below
splitline.exe /dir/file1.csv /dir1/file2.csv, this basically splits the lines in the input file to 2 lines in the output file.So,I wrote a shell script to execute this exe. the directory…

Raghav manchale
- 1
- 1
- 2
0
votes
3 answers
Can dropped members be recovered in MKS?
My current client uses MKS for source control.
They have a policy where developers are not granted permissions to drop members. This therefore prohibits us from doing moves etc., as well.
I've asked for the reasoning behind this, and I'm told it's…

Marty Pitt
- 28,822
- 36
- 122
- 195
0
votes
1 answer
MKS Cannot connect to integrity client
I am trying to connect to MKS Integrity Client using sample code listed below
try
{
IntegrationPointFactory ipf = IntegrationPointFactory.getInstance();
CmdRunner cmdRunner = ipf.createLocalIntegrationPoint().getCommonSession()
…

Vineet
- 93
- 1
- 2
- 9
0
votes
1 answer
MKS Integrity API resync won't work
I've been trying to fetch files from the Integrity server with java MKS api, using command "si createsandbox" . It went fine connecting to servers and making directories, but won't fetch any files, even with the option "populate". So I tried another…

홍상원
- 1
- 1
0
votes
1 answer
Mksapi to get password from preferences
I have an application that connects to integrity through the java mks api. To test the application functionalities I hardcoded the user and the password for my computer, but now after testing I want to make the app generic so more users can use…

John Doe
- 1,058
- 8
- 30
0
votes
1 answer
SED { command fail
On MKS SED for Windows, this
TYPE Q:\temp\curtainssetspread.M3U | SED -E "/z/{s_a_b_}"
fails with
sed: garbage after command
Why?
This usage accords correctly with docs:
a,b{ groups all commands until the next matching }, so that sed executes…

ChrisJJ
- 2,191
- 1
- 25
- 38
0
votes
0 answers
Getting SED b command to respect ";"
Using MKS SED for Windows, this;
TYPE Q:\temp\allrequired.M3U | SED -En "/\\Curtain\\/!b;s_^.._Q:_p"
fails with
sed: label ";s_^.._Q:_p" not found in script
How can I get the b command to respect the command separator ";" and hence act with no…

ChrisJJ
- 2,191
- 1
- 25
- 38
0
votes
1 answer
MKS Integrity Java api throws exception on createsandbox
i try to implement a Java Application to sync down sandboxes.
Command cmd = new Command( Command.SI, "createsandbox" );
cmd.addOption( new Option( "recurse" ) );
cmd.addOption( new Option( "nopopulate" ) );
cmd.addOption( new Option( "project",…

Martin M.
- 11
- 2
0
votes
2 answers
PTC Integrity batch update member revision
Is there a way to update the member revision of a big list of files via command line?
I can't use :working or :head but have to specify a different revision for each file.
As far as I know --selectionFile only takes paths as input, but not the…

Federico
- 138
- 1
- 12
0
votes
2 answers
Apache Ant "SI command" for MKStask
Upon trying to use the MKS task for apache ant, I need to specify the application executing the command. In the documentation I found, it says for example "si" or "im". I'm a little confused at this considered ant is used from command prompt so I'm…

programming_pictoral
- 19
- 3
0
votes
1 answer
MKS124814: Cannot show view information: View is unsupported in the Integration API
I want to get remote member(latest revision file) from MKS by passing filepath, servername and port number. Finally I found below SI command
si viewrevision --revision=revision_number absoluthpathofmemberfileinsandbox
But I am getting exception…

Saran
- 23
- 5
0
votes
1 answer
Variables in makefile causes unexpected end of file when brackets exist
I am getting syntax error: unexpected end of file when I run make clean.
I was successful of getting rid of that error when I removed the brackets around the variable that was causing the error.
I want to know why does this happen.
I am…

Ayman Salah
- 1,039
- 14
- 35
0
votes
1 answer
MKS Integrity list all files from sandbox and their Member Rev
is there a way that I could list all files from my sandbox with their Member Rev. by using si.exe?
Beside this, are there any special rights required in order to do this?
Thanks!

Cristian Onescu
- 61
- 1
- 7
0
votes
2 answers
TFS - How to replicate the MKS Checkpoint functionality
We have been using MKS for a few years and now a new project has started up and has to use TFS.
In MKS we can take a checkpoint (a baseline/snapshot) of a project and then create branches from that baseline if required, even at a later date after…

user460673
- 1
- 1
0
votes
1 answer
Shell does not open Excel unless code ends in VBA
I am trying to fetch CR(change request) status from PTC(MKS) using "im exportissues 123456" query in VBA. but it does open status sheet(A new excel sheet which opens up by query) unless my code ends. below is the snippet of my code.
Sub…

bikash
- 1
- 2