Why not just Prepend with...
set PATH=C:\New\Directory\Here;%PATH%
and Append with...
set PATH=%PATH%;C:\New\Directory\Here
I've done it that way since MS-DOS 4.01.
Edit: I think the discussion (or my interpretation of it) went sideways halfway through the thread and I answered the wrong...
I use it to run other people's scripts (awstats, sendEmail, ack) and as a SED replacement.
Edit: I don't know if that's a good enough reason to keep 620MB of files on my hard drive, but it comes in handy when I need it.
This returns the "actual value of it".
perl -p -e 's/.*FullPath":"(.*?)".*/\1/;' -e 's/\\\\/\\/g;' ApplicationPrivateSettings.xml
Edit:
Here it is again if you're running it from Windows command line (CMD/TCC) instead of from Cygwin.
perl -p -e "s/.*FullPath\":\"(.*?)\".*/\1/;" -e...
Well that's just bass ackwards.
That would put TCMD at version... hmm... lemme think...
28.02.18 - third column = 18
28.02.18 - second column = 02
28.02.18 - first column = 28
So that's 18.02.28... Hey! We're back in 2015!
Little endianness kinda works for memory management; not much else...
@rconn
Please update documentation for tpipe /sort to indicate that if the Length parameter is zero, then it continues to EOL.
e.g. Length - The length of comparison; if 0 compare to end of line
Got what you're looking for.
You need to sort from minor to major to keep the correct orders.
Also expand your "length of comparison" otherwise you're only sorting a local value and tpipe has no point of reference for the rest of the line.
EDIT: Looks like if you set the "length" of comparison...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.