Jump to content
Sign in to follow this  
HuggyBear

Environment "Path" Variable

Recommended Posts

HuggyBear

I am a total NEWBIE in AutoIT but am loving what I see. I hope someone can assist me with a portion for a script I am writing.

What I am trying to do is pull the "PATH" environment variable from the PC (Windows 2000/XP) and DELETE 1 specific string from that variable.

example:

PATH = %SystemRoot%...;C:\SomeFolder\SomeSubFolder;C:\Program File...

Any suggestions?

Thanks!

Share this post


Link to post
Share on other sites
HuggyBear

Larry,

Thanks for your quick post. The value in the registry is exactly what I was looking for.

Although, could you or someone else assist me in EDITING this key as to remove the value in the middle of the PATH statement?

Thanks!

Share this post


Link to post
Share on other sites
Beastmaster

Larry wrote:

are you set on using AutoIt v2

If yes, you should Google for StringSplit. Hi Larry :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×