View Single Post
Old 22 May 2015, 20:21   #5
BigFan
Registered User

BigFan's Avatar
 
Join Date: Feb 2014
Location: Germany
Posts: 261
As already mentioned, you can't add a local setting globally. Your path is correctly added, then thrown away, when closing current shell.

If you really want to enhance your actual shell, then add your path to a specific shell-startup, name it what you like , run a new shell with 'from' keyword and your newly created shell-start as input.

e.g.
echo >ram:t/pathvar path Dummydrive: add
newshell from ram:t/pathvar

now your shell has got the new path (Dummydrive: here) as set by your script

Cheers
BigFan is offline  
 
Page generated in 0.04059 seconds with 11 queries