put path in unnamed register