Code: Select all
(dolist (x (directory path))
(rename-file x (trim x))
)
Code: Select all
(dolist (x (directory path))
(file? x))
)
Code: Select all
(dolist (x (directory path))
(rename-file x (trim x))
)
Code: Select all
(dolist (x (directory path))
(file? x))
)
D'oh! You're completely correct. I forgot to move Terminal from my "newlisp" directory to where it should have been. Thank you :)ralph.ronnquist wrote:Maybe you overlook that directory only returns file base names, without the path prefix?