UPPERCASE always from other units

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.
 
B

BD

"MEB" <meb@not here@hotmail.com> wrote in message
news:u%23WIW6BFIHA.1208@TK2MSFTNGP03.phx.gbl...
>
>
> "BD" <JustMe@nothome.net> wrote in message
> news:OuwDwhAFIHA.4752@TK2MSFTNGP04.phx.gbl...
> |
> | "MEB" <meb@not here@hotmail.com> wrote in message
> | news:egLoJeAFIHA.4748@TK2MSFTNGP06.phx.gbl...
> | > Continuing the thought process:
> | >
> | > Is an older version of the autocompiler available? One which was used
> | > either during the *cross-over* time period {9X to XP} or before.
> | >
> | > --
> | > MEB
> | > http://peoplescounsel.orgfree.com
> | > ________
> | Yes. The big problem there is a few changes in syntax and I may have to
> | re-write some of the code. I think if I just restore the last version
> that
> | did not have Unicode support it will work. A lot of code was broken
> when
> | Unicode was added. I'm expecting the patched version within a day or
> so.
> | BD
> |
> |
>
> Okay, thanks for the update, seems *a* is getting a little antsy . . .
>
> --
> MEB
> http://peoplescounsel.orgfree.com
> ________
>

Try this one. I just recompiled with the new version of the ANSI compiler.
http://dundats.mvps.org/Beta/File_LowerCaseA.zip

BD
 
P

PCR

Franc Zabkar wrote:
| 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 ...

Ah-- alright, then. Uhuh, some irradiation damage has occurred-- but not
as much as I at first thought!

Speaking of Win98... I think you have proven DOS will display whatever
case exists in the SFN. Explorer probably goes for the LFN first. If no
LFN exists, Explorer will be happy to show the SFN in whatever case it
actually holds. (This is certainly true with the FAT12 of the floppy you
tested with. There is no reason for me think FAT32 would be any
different.) Neither DOS nor Explorer will actually put lower-case into
the SFN. You had to do that with Debug.

|>|>| 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.

Yea. But it's a good find! It is XP that actually bears the full fault &
responsibility for this problem, where I had thought Win98 bore some. If
XP only would have put lower-case letters into the SFN-- all would have
been well! Alternatively, if it would have built a LFN in all cases--
still all would have been well. Instead -- weirdly -- as you discovered,
XP will put only upper-case letters into the SFN & sometimes use bits to
say they are lower-case!

|>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.

Yep. And now I'm actually sure Win98 never will actually put lower-case
letters into SFN. If it did, DOS would show them-- but it doesn't! So,
the ones that my Win98's Explorer show to be lower or mixed-case letters
are being shown to me from the LFN.

|>|>| 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.

Oops! That's right-- you are using DOS! Let me see...



| 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.

--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
Should things get worse after this,
PCR
pcrrcp@netzero.net
 
P

PCR

Franc Zabkar wrote:
| 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 ...

OK. That's a lot less XP-irradiation damage, then, than I began to
suspect!

|>|>| 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.

Yea. I guess the XP-writers forgot or never knew Win98 (DOS & Explorer)
would be fine to display whatever letter case existed in the SFN (as you
proved). Win98's Explorer first would look to display whatever was in
the LFN, if that existed. So, XP had a second chance to get it right by
just creating one in all situations when the case of letters is
important. But, you showed, XP won't do that when a name with ALL
lower-case letters is otherwise a SFN. It does do so for mixed-case
SFNs, though. Sheesh!

|>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.

Yea. And I'm sure now Win98 will never put lower-case letters into the
SFN, despite it would display them fine...

C:\>echo hhh > HHH.TXT

C:\>dir HHH.TXT
Directory of C:\
HHH TXT 6 10-27-07 6:14p HHH.TXT

That file shows up in Explorer in all capitals. From your earlier
experiments, it has no LFN. So, what DOS shows on the right is made-up,
but anyhow would have upper-case letters.

C:\>ren HHH.TXT *.txt

C:\>dir HHH.TXT
Directory of C:\
HHH TXT 6 10-27-07 6:14p HHH.txt

Now, it shows up in Explorer as mixed-case. Explorer MUST be getting it
from the LFN-- which is real now. Windows DOS must have seen the need to
create one when the REN was issued. If the mixed-case letters were in
the SFN (you showed using Debug)-- it would have shown up in DOS too (on
the left hand side)!

C:\>echo hhh.txt > hhh.TXT

C:\>dir hhh.*
Directory of C:\
HHH TXT 10 10-27-07 6:35p hhh.TXT

In that last case, Windows DOS created the LFN with the ECHO command. It
had to, to get the case right. I suppose this would all be different in
Real DOS!

|>|>| 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.

Oooops! I see the problem. Right-- you don't want him to have to rename
each one individually. OK.

| 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.

Right. OK, then. Too bad they couldn't XP right in the first place!

| - Franc Zabkar
| --
| Please remove one 'i' from my address when replying by email.

--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
Should things get worse after this,
PCR
pcrrcp@netzero.net
 
P

PCR

Ooops! I thought this one was lost-- & I rewrote it!


"PCR" <pcrrcp@netzero.net> wrote in message
news:ew8h9POGIHA.4808@TK2MSFTNGP05.phx.gbl...

....snip
--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
Should things get worse after this,
pcrrcp@netzero.net
PCR
 
B

BD

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:ghrkh3tpm2uj6mbii1s0v9m1f5he111us7@4ax.com...
> On Sat, 20 Oct 2007 14:00:43 +0200, a <a@libero.it> put finger to
> keyboard and composed:
>
>>So there is way to have the filename correctly displayed in W98
>>other than renaming them (manually or by an utility)?

>
> The filename *is* correctly displayed in W98, it's just that XP
> *saves* it as uppercase (but confuses you by *displaying* it as
> lowercase) whenever it is in 8.3 format.
>
> I suggest that you first add the "DontPrettyPath=1" setting to your
> Win XP registry as described elsewhere. This will force Explorer to
> display filenames with their actual capitalisation. Then here's one
> possible way to tackle your problem from the XP end.
>
> Let's say your files are .htm files. On the XP system try saving them
> as .html files. This should force XP to create corresponding lowercase
> LFNs for each of your 8.3 SFNs.
>
> Now on your Win98SE system rename them like this ...
>
> ren *.html *.htm
>
> This should retain the LFNs and preserve their (lower)case.
>
> If this workaround is unacceptable, let us know and I'll post a
> question to the gurus at alt.msdos.batch.
>
> Another possible solution involves 4DOS.com and this single command
> line:
>
> FOR %fn IN (*.txt) REN "%fn" %@REPLACE[ ,_,%@LOWER[" ",%fn]]
>
> Let me know if you want to try this.
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.


I just uploaded another copy of the rename script.
http://dundats.mvps.org/Beta/File_LowerCaseA.zip

What does Debug report when using it to change the file names in 98?

BD
 
F

Franc Zabkar

On Tue, 30 Oct 2007 15:12:29 -0700, "BD" <JustMe@nothom.net> put
finger to keyboard and composed:

>I just uploaded another copy of the rename script.
>http://dundats.mvps.org/Beta/File_LowerCaseA.zip
>
>What does Debug report when using it to change the file names in 98?


C:\WIN98SE\TEMP>format a: /u

C:\WIN98SE\TEMP>copy dummy a:\FILENAME.TXT

(or echo blah > a:\FILENAME.TXT)

C:\WIN98SE\TEMP>dir a:\

FILENAME TXT 7 10-30-07 7:54a FILENAME.TXT

C:\WIN98SE>start d:\temp\software\File_LowerCaseA

C:\WIN98SE\TEMP>dir a:\

FILENAME TXT 7 10-30-07 7:54a filename.txt

C:\WIN98SE\TEMP>debug
-L 100 0 13 1
-D 100
100 E5 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B .ILENAMETXT ...[
110 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
120 41 66 00 69 00 6C 00 65-00 6E 00 0F 00 3A 61 00 Af.i.l.e.n...:a.
130 6D 00 65 00 2E 00 74 00-78 00 00 00 74 00 00 00 m.e...t.x...t...
140 46 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B FILENAMETXT ...[
150 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
-Q

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
B

BD

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:6gkfi3p40csjnr6pl5m79tjufju84igart@4ax.com...
> On Tue, 30 Oct 2007 15:12:29 -0700, "BD" <JustMe@nothom.net> put
> finger to keyboard and composed:
>
>>I just uploaded another copy of the rename script.
>>http://dundats.mvps.org/Beta/File_LowerCaseA.zip
>>
>>What does Debug report when using it to change the file names in 98?

>
> C:\WIN98SE\TEMP>format a: /u
>
> C:\WIN98SE\TEMP>copy dummy a:\FILENAME.TXT
>
> (or echo blah > a:\FILENAME.TXT)
>
> C:\WIN98SE\TEMP>dir a:\
>
> FILENAME TXT 7 10-30-07 7:54a FILENAME.TXT
>
> C:\WIN98SE>start d:\temp\software\File_LowerCaseA
>
> C:\WIN98SE\TEMP>dir a:\
>
> FILENAME TXT 7 10-30-07 7:54a filename.txt
>
> C:\WIN98SE\TEMP>debug
> -L 100 0 13 1
> -D 100
> 100 E5 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B .ILENAMETXT ...[
> 110 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
> 120 41 66 00 69 00 6C 00 65-00 6E 00 0F 00 3A 61 00 Af.i.l.e.n...:a.
> 130 6D 00 65 00 2E 00 74 00-78 00 00 00 74 00 00 00 m.e...t.x...t...
> 140 46 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B FILENAMETXT ...[
> 150 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
> -Q
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.


I could have it rename the files to Filename.Txt and then rename again to
filename.txt. (2 more lines of code).
According to your previous results that should solve the issue.

BD
 
F

Franc Zabkar

On Wed, 31 Oct 2007 09:58:59 -0700, "BD" <JustMe@nothom.net> put
finger to keyboard and composed:

>
>"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
>news:6gkfi3p40csjnr6pl5m79tjufju84igart@4ax.com...
>> On Tue, 30 Oct 2007 15:12:29 -0700, "BD" <JustMe@nothom.net> put
>> finger to keyboard and composed:
>>
>>>I just uploaded another copy of the rename script.
>>>http://dundats.mvps.org/Beta/File_LowerCaseA.zip
>>>
>>>What does Debug report when using it to change the file names in 98?

>>
>> C:\WIN98SE\TEMP>format a: /u
>>
>> C:\WIN98SE\TEMP>copy dummy a:\FILENAME.TXT
>>
>> (or echo blah > a:\FILENAME.TXT)
>>
>> C:\WIN98SE\TEMP>dir a:\
>>
>> FILENAME TXT 7 10-30-07 7:54a FILENAME.TXT
>>
>> C:\WIN98SE>start d:\temp\software\File_LowerCaseA
>>
>> C:\WIN98SE\TEMP>dir a:\
>>
>> FILENAME TXT 7 10-30-07 7:54a filename.txt
>>
>> C:\WIN98SE\TEMP>debug
>> -L 100 0 13 1
>> -D 100
>> 100 E5 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B .ILENAMETXT ...[
>> 110 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
>> 120 41 66 00 69 00 6C 00 65-00 6E 00 0F 00 3A 61 00 Af.i.l.e.n...:a.
>> 130 6D 00 65 00 2E 00 74 00-78 00 00 00 74 00 00 00 m.e...t.x...t...
>> 140 46 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B FILENAMETXT ...[
>> 150 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
>> -Q
>>
>> - Franc Zabkar
>> --
>> Please remove one 'i' from my address when replying by email.

>
>I could have it rename the files to Filename.Txt and then rename again to
>filename.txt. (2 more lines of code).
>According to your previous results that should solve the issue.
>
>BD


AFAICS, no more work needs to be done. ???

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
B

BD

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:8iqhi3h7vp0e24qujeosig9c9a7ucs1f92@4ax.com...
> On Wed, 31 Oct 2007 09:58:59 -0700, "BD" <JustMe@nothom.net> put
> finger to keyboard and composed:
>
>>
>>"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
>>news:6gkfi3p40csjnr6pl5m79tjufju84igart@4ax.com...
>>> On Tue, 30 Oct 2007 15:12:29 -0700, "BD" <JustMe@nothom.net> put
>>> finger to keyboard and composed:
>>>
>>>>I just uploaded another copy of the rename script.
>>>>http://dundats.mvps.org/Beta/File_LowerCaseA.zip
>>>>
>>>>What does Debug report when using it to change the file names in 98?
>>>
>>> C:\WIN98SE\TEMP>format a: /u
>>>
>>> C:\WIN98SE\TEMP>copy dummy a:\FILENAME.TXT
>>>
>>> (or echo blah > a:\FILENAME.TXT)
>>>
>>> C:\WIN98SE\TEMP>dir a:\
>>>
>>> FILENAME TXT 7 10-30-07 7:54a FILENAME.TXT
>>>
>>> C:\WIN98SE>start d:\temp\software\File_LowerCaseA
>>>
>>> C:\WIN98SE\TEMP>dir a:\
>>>
>>> FILENAME TXT 7 10-30-07 7:54a filename.txt
>>>
>>> C:\WIN98SE\TEMP>debug
>>> -L 100 0 13 1
>>> -D 100
>>> 100 E5 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B .ILENAMETXT ...[
>>> 110 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
>>> 120 41 66 00 69 00 6C 00 65-00 6E 00 0F 00 3A 61 00 Af.i.l.e.n...:a.
>>> 130 6D 00 65 00 2E 00 74 00-78 00 00 00 74 00 00 00 m.e...t.x...t...
>>> 140 46 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B FILENAMETXT ...[
>>> 150 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
>>> -Q
>>>
>>> - Franc Zabkar
>>> --
>>> Please remove one 'i' from my address when replying by email.

>>
>>I could have it rename the files to Filename.Txt and then rename again to
>>filename.txt. (2 more lines of code).
>>According to your previous results that should solve the issue.
>>
>>BD

>
> AFAICS, no more work needs to be done. ???
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.

FYI: If the OP is using Front Page to create the FilesI have discovered
another issue. Front Page will not recognize name changes unless they are
made in Front Page. Reopening a file that was previously saved and then
changed to lower case will revert th the case used during the original save.

BD
 
M

MEB

"BD" <JustMe@nothom.net> wrote in message
news:OdXkcsFIIHA.6068@TK2MSFTNGP05.phx.gbl...
| "Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
| news:8iqhi3h7vp0e24qujeosig9c9a7ucs1f92@4ax.com...
| > On Wed, 31 Oct 2007 09:58:59 -0700, "BD" <JustMe@nothom.net> put
| > finger to keyboard and composed:
| >
| >>
| >>"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
| >>news:6gkfi3p40csjnr6pl5m79tjufju84igart@4ax.com...
| >>> On Tue, 30 Oct 2007 15:12:29 -0700, "BD" <JustMe@nothom.net> put
| >>> finger to keyboard and composed:
| >>>
| >>>>I just uploaded another copy of the rename script.
| >>>>http://dundats.mvps.org/Beta/File_LowerCaseA.zip
| >>>>
| >>>>What does Debug report when using it to change the file names in 98?
| >>>
| >>> C:\WIN98SE\TEMP>format a: /u
| >>>
| >>> C:\WIN98SE\TEMP>copy dummy a:\FILENAME.TXT
| >>>
| >>> (or echo blah > a:\FILENAME.TXT)
| >>>
| >>> C:\WIN98SE\TEMP>dir a:\
| >>>
| >>> FILENAME TXT 7 10-30-07 7:54a FILENAME.TXT
| >>>
| >>> C:\WIN98SE>start d:\temp\software\File_LowerCaseA
| >>>
| >>> C:\WIN98SE\TEMP>dir a:\
| >>>
| >>> FILENAME TXT 7 10-30-07 7:54a filename.txt
| >>>
| >>> C:\WIN98SE\TEMP>debug
| >>> -L 100 0 13 1
| >>> -D 100
| >>> 100 E5 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B .ILENAMETXT ...[
| >>> 110 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
| >>> 120 41 66 00 69 00 6C 00 65-00 6E 00 0F 00 3A 61 00 Af.i.l.e.n...:a.
| >>> 130 6D 00 65 00 2E 00 74 00-78 00 00 00 74 00 00 00 m.e...t.x...t...
| >>> 140 46 49 4C 45 4E 41 4D 45-54 58 54 20 00 C3 8D 5B FILENAMETXT ...[
| >>> 150 5F 37 5F 37 00 00 C8 3E-5E 37 02 00 07 00 00 00 _7_7...>^7......
| >>> -Q
| >>>
| >>> - Franc Zabkar
| >>> --
| >>> Please remove one 'i' from my address when replying by email.
| >>
| >>I could have it rename the files to Filename.Txt and then rename again
to
| >>filename.txt. (2 more lines of code).
| >>According to your previous results that should solve the issue.
| >>
| >>BD
| >
| > AFAICS, no more work needs to be done. ???
| >
| > - Franc Zabkar
| > --
| > Please remove one 'i' from my address when replying by email.
| FYI: If the OP is using Front Page to create the FilesI have discovered
| another issue. Front Page will not recognize name changes unless they are
| made in Front Page. Reopening a file that was previously saved and then
| changed to lower case will revert th the case used during the original
save.
|
| BD
|
|

Yeah, I was also thinking some other registry keys might have been useful
[beyond DontPrettyPath].


NT/XP/2000

System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Name: NtfsDisable8dot3NameCreation
Type: REG_DWORD Value: (0=disable, 1=enable)


System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Name: Win95TruncatedExtensions
Type: REG_DWORD Value: (0 = disable , 1 = enable)


System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem]
Name: NtfsAllowExtendedCharacterIn8dot3Name
Type: REG_DWORD Value: (0 = disabled, 1 = enabled)


9X

System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem]
Name: PreserveLongNames
Type: REG_BINARY Value: (00 00 00 00 = disabled, ff ff ff ff = enabled)


9X/NT/XP/2000

System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem]
Name: Win31FileSystem
Type: REG_DWORD Value: (0 = long file names, 1 = 8.3 filenames)

System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Name: NameNumericTail
Type: REG_DWORD (DWORD Value)
Value: (0=disable,1=enable)
Articles Q179370 and Q148594 have details on some possible side-effects of
this tweak.


--
MEB
http://peoplescounsel.orgfree.com
________
 

Similar threads

L
Replies
0
Views
30
Lee_3.14159265358979323846264338327950288419716939
L
A
Replies
0
Views
45
Amanda Langowski
A
Back
Top Bottom