Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Trouble with custum event : set the environnement variable PATH


Newbie

Status: Offline
Posts: 1
Date:
Trouble with custum event : set the environnement variable PATH
Permalink   
 


Hi

I think this is an important issue :

I cannot update the  PATH environment variable
with a custom event (at the start)  like this


-Command to run: cmd
-Arguments: /c set PATH =%Program Files%\dir1;%Program Files%\dir2

The package splits this event in two commands:

cmd /c set path =%Program Files%\dir1
and
%Program Files%\dir2

I also tried

Arguments: /c "set path =% Program Files% \ dir1;% Program Files% \ dir2"
Arguments: "/c set path =% Program Files% \ dir1;% Program Files% \ dir2"
it looks like the semicolon  is an absolute separator...

What is the solution?



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Hello Darlin,

You can use a Custom event to run a batch file that updates PATH the way you want.



__________________
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard