This PowerShell one-line generates a reasonably secure password from the characters in the system’s Path. Here I am replacing the space character with the tilde ~ for additional complexity. Get-Enumerator returns each character of the path individually. You can set the password length as the value for the count parameter.
$pw = [array](($env:Path).Replace(' ','~').getenumerator() | get-random -count 15) -join ''
An example password when the count is set to 15, as above is: hiat;Sed82glWo~