Jump to content

Environment Variables


Steve2106
 Share

Recommended Posts

Hi Guys,

Can you help me please?

The Environment Path Variable can only contain paths of a certain length

How do I setup an alias to a long path I.E. clabin = C:\stevesstuff\clarion\bin

Then in the Environment Path Variable I can just have C:\WinNT\System32;clabin;etc . . .

Thanks for your help,

Steve.

Link to comment
Share on other sites

The Environment Path Variable can only contain paths of a certain length

I don't think that environment vartiable have a limit on their length... here is the value of my environment variable

PATH = C:\PROGRA~2\Borland\CBUILD~1\Bin;C:\PROGRA~2\Borland\CBUILD~1\Projects\Bpl;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\backburner 2\;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Internet\Opera;C:\Programming\Dev-Cpp\bin;C:\Program Files\Java\jdk1.5.0_04\bin;D:\Project\XML Parser\xerces\xerces-c\bin;

as you can see, it quite long but it's works fine...

How do I setup an alias to a long path I.E. clabin = C:\stevesstuff\clarion\bin

Then in the Environment Path Variable I can just have C:\WinNT\System32;clabin;etc . . .

to do this, create an environment variable called clabin, then in the Path variable add %CLABIN%

Link to comment
Share on other sites

The Environment Path Variable can only contain paths of a certain length

I don't think that environment vartiable have a limit on their length... here is the value of my environment variable

PATH = C:\PROGRA~2\Borland\CBUILD~1\Bin;C:\PROGRA~2\Borland\CBUILD~1\Projects\Bpl;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\backburner 2\;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Internet\Opera;C:\Programming\Dev-Cpp\bin;C:\Program Files\Java\jdk1.5.0_04\bin;D:\Project\XML Parser\xerces\xerces-c\bin;

as you can see, it quite long but it's works fine...

How do I setup an alias to a long path I.E. clabin = C:\stevesstuff\clarion\bin

Then in the Environment Path Variable I can just have C:\WinNT\System32;clabin;etc . . .

to do this, create an environment variable called clabin, then in the Path variable add %CLABIN%

That's perfect.

Thankyou.

Best Regards,

Steve.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy