Are spaces in filenames a problem?

April 12, 2019 at 11:31:41
Specs: several
Should I bother to remove or replace spaces in filenames
with some other character? I'm pretty sure I have always
done so when putting a file on the Internet. But is it worth
doing it with files just for my own use?

(I'd post this in "general operating systems" if there were
such a category.)

-- Jeff, in Minneapolis


See More: Are spaces in filenames a problem?

Reply ↓  Report •

#1
April 12, 2019 at 12:18:39
It used to be the case that spaces should be avoided within filenames as they could cause issues with older software but these days such software is (hopefully) in the past so issues should not occur. Some of my older acquaintances say better to be safe than sorry but I've yet to encounter any problems with using spaces.

"I've always been mad, I know I've been mad, like the most of us..." Pink Floyd


Reply ↓  Report •

#2
April 12, 2019 at 23:14:45
Depends on the OS. Windows programs generally don't have an issue with it. Linux programs tend to.

How To Ask Questions The Smart Way


Reply ↓  Report •

#3
April 13, 2019 at 05:32:46
So, for your own use in Windows there is no point or advantage in removing spaces.

Always pop back and let us know the outcome - thanks


Reply ↓  Report •

Related Solutions

#4
April 13, 2019 at 06:26:38
If Linux programs "tend to" have a problem with spaces, that
may be enough for me to more aggressively avoid using spaces
than I have in recent years. I sometimes use an Ubuntu disk to
look in folders or alter files that Win 10 won't let me fool with.

-- Jeff, in Minneapolis


Reply ↓  Report •

#5
April 15, 2019 at 02:56:52
Spaces are really only a problem (more an inconvenience) when using command line tools. Personally I avoid them as I use the command line quite a lot, and it's hardly difficult to use an underscore rather than a space.

Filenames with spaces are likely to cause annoyance in Linux either at the command line or in scripts and configuration files.


Reply ↓  Report •

Ask Question