![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 10619 Date : 2005-02-25 Author : Garry Deane Subject : Re: Problem with xxcopy file listing comma in french Size(KB) : 2
--- In xxcopy@yahoogroups.com, kelias@c... wrote: > I make VERY frequent use of a command like the following to > list my files with xxcopy: >=20 > xxcopy /ldtz /E /H /zs *.* > filelist >=20 > My problem is that I work for the government of quebec which > requires me to use a french version of windows. On an english > system the output looks like this: >=20 > 2002-11-30 21:02:28 8,500 C:\SUHDLOG.DAT > 2002-12-29 16:45:04 70,350 C:\BOOTLOG.PRV > 2002-11-30 21:05:24 1,012 C:\FRUNLOG.TXT > 1999-04-23 22:22:00 93,890 C:\COMMAND.COM > 2002-12-30 01:16:22 70,574 C:\BOOTLOG.TXT > 2004-12-29 16:01:46 75,603 C:\DETLOG.TXT >=20 > But on the french system it looks like: >=20 > 2002-11-30 21:02:28 8=A0500 C:\SUHDLOG.DAT > 2002-12-29 16:45:04 70=A0350 C:\BOOTLOG.PRV > 2002-11-30 21:05:24 1=A0012 C:\FRUNLOG.TXT > 1999-04-23 22:22:00 93=A0890 C:\COMMAND.COM > 2002-12-30 01:16:22 70=A0574 C:\BOOTLOG.TXT > 2004-12-29 16:01:46 75=A0603 C:\DETLOG.TXT >=20 >=20 > That is the comma (ascii 44) is replace by ascii 160. > On my windows98 system I eventually found a way around the > problem. Unfortunately I forget exactly what - something to > do with the codepage or something like that. >=20 > Unfortunately, despite long and loud protests I have been > required to "upgrade" to WindowsXP. I wasted a couple of > hours today trying to solve the problem in that environment, > but without success. Too many commands are simply no longer > available. >=20 > Help will be greatly appreciated. >=20 > Cordially; I can't help directly but 2 places where you might be able to experiment are: Control Panel->Regional Settings->Numbers->Digit Grouping Symbol and in a Cmd window MODE CON CP /status MODE CON CP SELECT=3D437 Code Page 437 in my case is the MS-DOS Latin US character set for an English Language Locale. You might have to experiment to find the right code page for a French Language locale. If worst comes to worst, you could use a program like SED to translate the output for you. Something like the following which substitutes ascii 160 (0x0A) with ascii 44 (0x2C): xxcopy /ldtz /E /H /zs * | sed 's/\xA0/\x2C/g' > filelist Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.