Code Select (dolist (x (directory path))
(rename-file x (trim x))
)I tried debugging by using (trace true) with the following code:
Code Select (dolist (x (directory path))
(file? x))
)The "." and ".." files in the directory are files, but the other files return "nil". Does the trailing space prevent newLISP from recognizing the file as a file? Is there something else that may be causing the error (e.g. bad code on my part)? Thanks!