cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

changing the default settings

sgovindan
4-Participant

changing the default settings

Is there any way to redirect the creation of IntegrityClient.rc file to create in another UNIX location instead of UNIX home directory, By default the file is creating in the user's home directory. We needs to setup the client so that the file IntegrityClient.rc can create in /var/tmp

1 ACCEPTED SOLUTION

Accepted Solutions

This is possible if you create a startup script for your Integrity Client.

For your example on UNIX, you would want to set the MKS_IC_PROPERTIES and MKS_IC_INSTANCE_DIR environment properties to /var/tmp.

MKS_IC_PROPERTIES=/var/tmp

export MKS_IC_PROPERTIES

MKS_IC_INSTANCE_DIR=/var/tmp

export MKS_IC_INSTANCE_DIR

I have included a sample batch script for Windows below:

@ECHO OFF

title "10.7 Client"

:: Set the PATH variable to the Integrity Client's bin directory

set PATH=C:\Program Files (x86)\Integrity\IntegrityClient10_7\bin;%PATH%

:: Set the variable for this client's preferences file

set MKS_IC_PROPERTIES=C:\Program Files (x86)\Integrity\IntegrityClient10_7\PersonalSettings\IntegrityClient.rc

:: Set the variable for this client's viewsets, sandbox registry

set MKS_IC_INSTANCE_DIR=C:\Program Files (x86)\Integrity\IntegrityClient10_7\PersonalSettings\

:: Switch to this client's bin directory to ensure we run commands from this context

cd C:\Program Files (x86)\Integrity\IntegrityClient10_7\bin

:: Start the client process

im gui

View solution in original post

2 REPLIES 2

This is possible if you create a startup script for your Integrity Client.

For your example on UNIX, you would want to set the MKS_IC_PROPERTIES and MKS_IC_INSTANCE_DIR environment properties to /var/tmp.

MKS_IC_PROPERTIES=/var/tmp

export MKS_IC_PROPERTIES

MKS_IC_INSTANCE_DIR=/var/tmp

export MKS_IC_INSTANCE_DIR

I have included a sample batch script for Windows below:

@ECHO OFF

title "10.7 Client"

:: Set the PATH variable to the Integrity Client's bin directory

set PATH=C:\Program Files (x86)\Integrity\IntegrityClient10_7\bin;%PATH%

:: Set the variable for this client's preferences file

set MKS_IC_PROPERTIES=C:\Program Files (x86)\Integrity\IntegrityClient10_7\PersonalSettings\IntegrityClient.rc

:: Set the variable for this client's viewsets, sandbox registry

set MKS_IC_INSTANCE_DIR=C:\Program Files (x86)\Integrity\IntegrityClient10_7\PersonalSettings\

:: Switch to this client's bin directory to ensure we run commands from this context

cd C:\Program Files (x86)\Integrity\IntegrityClient10_7\bin

:: Start the client process

im gui

sgovindan
4-Participant
(To:JoeBartlett)

Excellent Joe, Kudos !!!!!

Top Tags