public function toAbsolute()
    {
        if (!$this->hasDrive()) {
            throw new InvalidPathStateException(
                'Cannot convert relative Windows path to absolute without a ' .
                    'drive specifier.'
            );
        }

        return $this->createPathFromDriveAndAtoms(
            $this->atoms(),
            $this->drive(),
            true,
            false,
            false
        );
    }