I have a directory on my website the has two trailing spaces (automatically created) and now I need to rename it to the same name with out the spaces.
For example: ren "BON N ALL " "BON N ALL"
But I keep getting;
ftp> ren "BON N ALL " "BON N ALL"
550 BON N ALL : The system cannot find the file specified.
I've tried using wildcards like;
ftp> ren "BON N ALL??" "BON N ALL"
550 BON N ALL??: The filename, directory name, or volume label syntax is incorrect.
ftp> ren "BON N ALL" "BON N ALL"
550 BON N ALL: The system cannot find the file specified.
ftp> ren "BON N ALL*" "BON N ALL"
550 BON N ALL*: The filename, directory name, or volume label syntax is incorrect.
This is on a windows system with IIS. Any help would be appreciated.