I stumbled upon what I think is a neat way to enumerate the directories that are currently in your path. Have you ever wanted to look at your current path in Windows and typed "SET PATH" only to see a mongo list of concatenated paths containing spaces in their names nailed together with semicolons that hypnotize you if you stare at it too long? Well, sure you could pipe the output of SET PATH to your favorite text parser (sed, awk, perl, csript anyone?) if you felt particularly masochistic, but here's another way using a default built-in command
read more »
Be the first to post a Comment!