Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Split PATH into parts?

May
12,957
172
This has been discussed before. And it can be done easily with a replacement command like sed or TPIPE. But is there anything built-in that will do it more simply?

The ability to specify the separators for DO str IN /L would help. Is that worth suggesting?
 
I quite like that! And I didn't even think of looking at the PATH command. Thanks!
 
I didn't realize that was there either! Thanks Rex,

Vince, while too little too late, here is my alias that shows my path, but now I'll probably never use it again :smile:

Code:
echo   - %@UnQuote[%@replace[;,^r^n  - ,%PATH]]
 
The above works quite well, but you probably should have mentioned that it requires Cygwin or something similar. "tr" is not a standard part of Windows, it is a unix (gnu) command.
 

Similar threads

Back
Top