Hacker News new | ask | show | jobs
by willis936 1614 days ago

  %CSIDL_MYPICTURES%
  %USERPROFILE%\Pictures
https://docs.microsoft.com/en-us/windows/deployment/usmt/usm...

You can also add your own environment variables.

  setx pix "%SYSTEMROOT%\Pictures"
1 comments

It works great but you won't escape the merriad of system folders in Documents or Pictures that way. Apps, games and the OS itself flooding these folders is the main problem why file management on Windows sucks.
That even happens on Linux. Apps dump a thousand little files in ~.

Distros and package managers putting binaries in completely different spots. Is it /bin, /usr/bin, /usr/sbin? Who knows!

> /bin, /usr/bin, /usr/sbin? Who knows!

If anyone is curious:

Historically /bin and /sbin contained the binaries that were necessary to bring up the system (especially to mount the /usr partition, which was "best practice" to have separately from the root and /boot partitions). Nowadays most distros just symlink them to /usr/(s)bin

/usr/sbin is for utilites that only root should use, whereas /usr/bin is for regular applications managed by your system (i.e.: your distro's default package manager).