def get_path():
    ret = __salt__['reg.read_value']('HKEY_LOCAL_MACHINE',
                                   'SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment',
                                   'PATH')['vdata'].split(';')

    # Trim ending backslash
    return list(map(_normalize_dir, ret))
reduce the number of sockets pooled on the specified address to size
dataset/ETHPy150Open saltstack/salt/salt/modules/win_path.py/get_path--crossover with--dataset/ETHPy150Open paypal/support/support/socket_pool.py/SocketPool.reduce_addr_size