Page 1 of 1

Illegal Character (Trailing Space)

Posted: 2020 Apr 21, 05:53
by Uzer99
Hello,

Can you provide precise instructions how to rename multiple folders/files that contain a trailing space? On Windows machine it is making it an invalid 0 byte file. I have tried to individually rename them (The source and destination file names are the same) and mass rename ($B) some folders that have a trailing space but only receive error messages or no action/change. I've also tried using Find with the parameter "* " and folders checked but this doesnt work either.

The folder/files were ftp from a server. In this case, the files are ok but the parent folder has the trailing space and cant be changed. Can x2 accomplish this?

Re: Illegal Character (Trailing Space)

Posted: 2020 Apr 21, 08:43
by nikos
you could do a "search and replace" rename, to remove all spaces, if you don't mind removing any other spaces that may be there

Re: Illegal Character (Trailing Space)

Posted: 2020 Apr 21, 11:34
by Uzer99
What is the syntax and where is this located? Through the mass rename function or through F2 function or Find? More information would be helpful.

Re: Illegal Character (Trailing Space)

Posted: 2020 Apr 21, 13:53
by nikos
e.g the documentation? www.zabkat.com/x2h_3.htm#ma_renwiz