Thread with 15 posts

jump to expanded post

i had to add something to the PATH environment variable on Windows and i got the first few attempts wrong, and in the end had to look up how to do it... my pride... a thing my twenty-years-younger self could do, but not me... all these batch commands lost, like tears in rain...

Open thread at this post

i'm having a bit of a berenstain bears effect with believing that %variable% was surely never how MS-DOS did variable substitution (surely it's some newfangled Windows NT thing?!), but here it is in the MS-DOS 5.0 manual!

https://archive.org/details/bitsavers_microsoftm5.0UsersGuideandReference1991_25077359/page/559/mode/2up

Open thread at this post

one of my whimsical life regrets is that, as a kid, i understood that batch was a programming language, but i couldn't figure out how to write anything useful with it, because i didn't know where to look for documentation. imagine, imagine, i could've been a batch programmer!

Open thread at this post

while you're here, here's a useful tip:

you don't have to modify the global PATH on Windows! the familiar bash export + source trick has an equivalent for batch files: you use set and then run the batch file normally within a cmd session. idk what to do for PowerShell

Open thread at this post