Is putting a space after file name a bad habit?

  • Thread starter Thread starter WM
  • Start date Start date
Yes.

If you create a text file containing simply the name without the
extent, many text-editors, word-processors, spreadsheets,
databases will helpfully drop line- or field-terminal spaces for
you. In your case, any attempt to reconstruct such a full
filename by simply re-adding the extent would fail.

I was thinking of something like this being a problem. So far it
seems not to happen but I can imagine that sometimes that trailing
blank will get "corrected out" while using copy and paste.

Then I will have a file name reference which is incorrect.
 
WM said:
I was thinking of something like this being a problem. So far it
seems not to happen but I can imagine that sometimes that trailing
blank will get "corrected out" while using copy and paste.

Then I will have a file name reference which is incorrect.

I note that "billious" did not offer any examples of such
strange behaviour. Since all mainstream applications deal
properly with embeded and trailing spaces, I suspect he
was thinking of some ancient legacy DOS application
that is now quite irrelevant.
 
I note that "billious" did not offer any examples of such
strange behaviour. Since all mainstream applications deal
properly with embeded and trailing spaces, I suspect he was
thinking of some ancient legacy DOS application that is now
quite irrelevant.

I don't find it's so unusual.

If I have a file called GREEN .TXT and I want to put it into a
folder of the same name then if I copy the file name (with space)
and name a folder by pasting, then the folder name will truncate
the trailing space.

If for some odd reason I later have to reverse the process and
rename a file by copying this folder's name then there will be no
trailing space.

This does not seem to be true for some folders in the START
folder. They can have trailing spaces in their name.

Well, I womdered if this sort of thing might mess up smooth
running if some internal processes started to pick up trailing
spaces from my file names and then use/not use them. That's why I
asked.
 
If I have a file called GREEN .TXT and I want to put it into a
folder of the same name then if I copy the file name (with space)
and name a folder by pasting, then the folder name will truncate
the trailing space.

That's not the fault of DOS (or, as we now say, of the command line).
It's quite well documented that you must quote file names or paths
that contain spaces.
 
I have this non-secret habit of putting spaces wherever I want
them in file names and in
correspondence and in signatures and...zzzzzzzzz.

Humbug. Who cares???????? I f your computer screws up it is URE
fault, if it doesn't...HOORAY.

Doug
====
 
Wed, 01 Feb 2006 20:25:33 GMT from WM


That's not the fault of DOS (or, as we now say, of the command
line). It's quite well documented that you must quote file names
or paths that contain spaces.


DOS? Command line?

Where do they enter into it?
 
I have this non-secret habit of putting spaces wherever I want
them in file names and in
correspondence and in signatures and...zzzzzzzzz.

Humbug. Who cares???????? I f your computer screws up it is URE
fault, if it doesn't...HOORAY.

Doug


Well done, Doug, for spotting the whimsical irony in what I posted
about my so-called "secret".

I think everyone else spotted it too but they were not as driven
as you to point out they had seen it. Nor to offer value
judgements.
 
Most things come down to a command line. There are other ways but 99.9% is done by command line. Double click most files in Explorer and Explorer constructs a command line (basically putting in the full path of the item dbl clicked) and gives it to CreateProcess.
 
As I said, but you ignored, it only works with files with extensions. So it is a stupid thing to do.
 
Your welcome...glad I could help.

Doug
-------
WM said:
Well done, Doug, for spotting the whimsical irony in what I
posted
about my so-called "secret".

I think everyone else spotted it too but they were not as
driven
as you to point out they had seen it. Nor to offer value
judgements.
 
anyone who puts spaces in folder/filenames
is a ****ing _idiot_

when programs or scripts have to automatically parse these directory trees some tools will fail because a bunch of ****ing geriatric noobs put spaces in file names...
you ask if its ok to put extra ones in there?

well they say you should never go full retard, but since you are already being retarded with putting spaces in the file names anyway, why not just do it eh
maybe you should go full retard since your retarded secret habit compels you to anyway

so yep, put spaces in filenames, continue to use hotmail etc
thankyou for making retards so easy to spot

for people who want to convert from noobism
1) lose your hotmail account and switch to gmail
2) use underscores _ instead of spaces in file/folder names
 
Back
Top