- Thread starter
- #101
F
Franc Zabkar
On Wed, 24 Oct 2007 20:11:11 -0400, "PCR" <pcrrcp@netzero.net> put
finger to keyboard and composed:
>Franc Zabkar wrote:
>| On Tue, 23 Oct 2007 21:59:10 -0400, "PCR" <pcrrcp@netzero.net> put
>| finger to keyboard and composed:
>|
>|>---- Original Message ----
>|>From: "Franc Zabkar" <fzabkar@iinternode.on.net>
>|>In your earlier
>|>doings, it seemed Win98 (Explorer & DOS) was able to pick up
>|>lower-case names from the SFN itself-- but, in that case, there was
>|>no LFN to choose from.
>|
>| I don't think I ever wrote that, nor do my data, or Microsoft's
>| documentation, support it.
>
>?!HUH!? DIDN'T you use Debug to put lower-case letters into a SFN &
>state Win98's Explorer showed it correctly...!?!...
>
>news:ku5jh31224rn6tcjchv405t811n97dg091@4ax.com
>news:4g7lh3ht28cte6ji7srbu4g3ar43hfpjbn@4ax.com
>
>Oh, my God! I SAID you shouldn't do more that 16 iterations on that
>XP-machine! Looks like XP-irradiation induced memory loss & dementia to
>me!
Oops, I misread your statement. I don't know why, but I got the
incorrect impression that you were saying that Win98 could write
lowercase characters to the SFN. Must be the radiation or maybe just
too many bits and bytes ...
>|>| Additional experimentation reveals that the "special"
>|>| byte is coded as follows:
>|>|
>|>| 0x00 --> FILENAME.EXT
>|>| 0x18 --> filename.ext
>|>| 0x10 --> FILENAME.ext
>|>| 0x08 --> filename.EXT
>|>
>|>Yow! Why?? There was never any such thing even in DOS-- that the name
>|>could be a different case than the extension!
>|
>| My Seagate SeaTools diskette has a file which displays in XP as
>| RMA.txt and in W98 as RMA.TXT.
>
>Right. SO... what on earth is XP trying to be compatible with, by doing
>this nutty bit thing separately on the name & on the extension?
I have no idea.
>Although
>you seem to have forgotten your own momentous discovery-- I'm still
>fairly certain you did discover that both DOS & Win98's Explorer were
>fine (at least for display purposes) with actual lower-case letters in
>the SFN in the first place! (I still think Win98 won't actually itself
>put lower-case letters into a SFN.)
Yes, I believe that's correct.
>|>| If the OP is watching, then a workaround for his/her problem would
>|>| be to rename the files on the XP system as follows ...
>|>|
>|>| ren *.htm *.Htm
>|>| ren *.txt *.Txt
>|>| ren *.gif *.Gif
>|>|
>|>| ... and then on the W98 system restore their original names ...
>|>|
>|>| ren *.Htm *.htm
>|>| ren *.Txt *.txt
>|>| ren *.Gif *.gif
>|>
>|>Is it necessary to rename them first in XP? And why are you renaming
>|>just the extensions? I'd have though just renaming upper to lower-case
>|>in 98 would create the LFN. And didn't a say all was well after doing
>|>that?
>|
>| See my response to the OP. My workaround avoids having to manually
>| rename each and every file. I can't think of any other way to automate
>| the process without resorting to a third party tool such as 4DOS.
>
>I saw. Still-- you are renaming them in XP & then in 98. Wouldn't it be
>sufficient to just rename them in 98 to get a LFN generated & with the
>proper lower-case letters in it?
If you type ...
ren *.HTM *.htm
.... in Win98, then you will get filenames such as FILENAME.htm, not
filename.htm.
The OP has stated that "I develop web site on xp (many and many
pages)", so manual renaming of each file does not seem to be a viable
option.
- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
finger to keyboard and composed:
>Franc Zabkar wrote:
>| On Tue, 23 Oct 2007 21:59:10 -0400, "PCR" <pcrrcp@netzero.net> put
>| finger to keyboard and composed:
>|
>|>---- Original Message ----
>|>From: "Franc Zabkar" <fzabkar@iinternode.on.net>
>|>In your earlier
>|>doings, it seemed Win98 (Explorer & DOS) was able to pick up
>|>lower-case names from the SFN itself-- but, in that case, there was
>|>no LFN to choose from.
>|
>| I don't think I ever wrote that, nor do my data, or Microsoft's
>| documentation, support it.
>
>?!HUH!? DIDN'T you use Debug to put lower-case letters into a SFN &
>state Win98's Explorer showed it correctly...!?!...
>
>news:ku5jh31224rn6tcjchv405t811n97dg091@4ax.com
>news:4g7lh3ht28cte6ji7srbu4g3ar43hfpjbn@4ax.com
>
>Oh, my God! I SAID you shouldn't do more that 16 iterations on that
>XP-machine! Looks like XP-irradiation induced memory loss & dementia to
>me!
Oops, I misread your statement. I don't know why, but I got the
incorrect impression that you were saying that Win98 could write
lowercase characters to the SFN. Must be the radiation or maybe just
too many bits and bytes ...
>|>| Additional experimentation reveals that the "special"
>|>| byte is coded as follows:
>|>|
>|>| 0x00 --> FILENAME.EXT
>|>| 0x18 --> filename.ext
>|>| 0x10 --> FILENAME.ext
>|>| 0x08 --> filename.EXT
>|>
>|>Yow! Why?? There was never any such thing even in DOS-- that the name
>|>could be a different case than the extension!
>|
>| My Seagate SeaTools diskette has a file which displays in XP as
>| RMA.txt and in W98 as RMA.TXT.
>
>Right. SO... what on earth is XP trying to be compatible with, by doing
>this nutty bit thing separately on the name & on the extension?
I have no idea.
>Although
>you seem to have forgotten your own momentous discovery-- I'm still
>fairly certain you did discover that both DOS & Win98's Explorer were
>fine (at least for display purposes) with actual lower-case letters in
>the SFN in the first place! (I still think Win98 won't actually itself
>put lower-case letters into a SFN.)
Yes, I believe that's correct.
>|>| If the OP is watching, then a workaround for his/her problem would
>|>| be to rename the files on the XP system as follows ...
>|>|
>|>| ren *.htm *.Htm
>|>| ren *.txt *.Txt
>|>| ren *.gif *.Gif
>|>|
>|>| ... and then on the W98 system restore their original names ...
>|>|
>|>| ren *.Htm *.htm
>|>| ren *.Txt *.txt
>|>| ren *.Gif *.gif
>|>
>|>Is it necessary to rename them first in XP? And why are you renaming
>|>just the extensions? I'd have though just renaming upper to lower-case
>|>in 98 would create the LFN. And didn't a say all was well after doing
>|>that?
>|
>| See my response to the OP. My workaround avoids having to manually
>| rename each and every file. I can't think of any other way to automate
>| the process without resorting to a third party tool such as 4DOS.
>
>I saw. Still-- you are renaming them in XP & then in 98. Wouldn't it be
>sufficient to just rename them in 98 to get a LFN generated & with the
>proper lower-case letters in it?
If you type ...
ren *.HTM *.htm
.... in Win98, then you will get filenames such as FILENAME.htm, not
filename.htm.
The OP has stated that "I develop web site on xp (many and many
pages)", so manual renaming of each file does not seem to be a viable
option.
- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.