Sammy,
> Can you show me a sample non-english directory listing?
Below is a listing of the same directory in 4 languages.
For your current Sanity1 macro consider the following points.
I guestimate that most of us foreigners use code page 850, while you
probably use code page 437.
The listed languages only represent limited differences, because they all
use a 1-byte character set.
The below list was created on Windows 10: Other Windows versions might have
different "dir" output.
And, as we are finding out again, users might use other command line
processors.
For other macros that process "dir" output consider the following
additional point.
In the below list I only changed the language itself, not its date and time
formats, and not its decimal and digit-grouping characters.
Carlo
English (American :-)
D:\LinkTest>dir
Volume in drive D is Data
Volume Serial Number is AC67-D8CB
Directory of D:\LinkTest
2024-02-23 10:03 <DIR> .
2024-02-23 10:03 <DIR> ..
2024-02-21 13:27 <JUNCTION> Application Data
[d:\LinkTest\ProgramData]
2024-02-23 09:57 <SYMLINKD> BaseLayer [ProgramData\BaseLayer]
2024-02-21 13:55 <DIR> BITS
2024-02-23 09:54 <SYMLINK> bitsctr.h [BITS\bitsctr.h]
2024-02-21 13:49 <DIR> ProgramData
2024-02-21 13:22 <DIR> Users
2018-10-22 20:36 756,030 winnt.h
2 File(s) 756,030 bytes
7 Dir(s) 729,255,055,360 bytes free
D:\LinkTest>
Español (Spanish)
D:\LinkTest>dir
El volumen de la unidad D es Data
El número de serie del volumen es: AC67-D8CB
Directorio de D:\LinkTest
2024-02-23 10:03 <DIR> .
2024-02-23 10:03 <DIR> ..
2024-02-21 13:27 <JUNCTION> Application Data
[d:\LinkTest\ProgramData]
2024-02-23 09:57 <SYMLINKD> BaseLayer [ProgramData\BaseLayer]
2024-02-21 13:55 <DIR> BITS
2024-02-23 09:54 <SYMLINK> bitsctr.h [BITS\bitsctr.h]
2024-02-21 13:49 <DIR> ProgramData
2024-02-21 13:22 <DIR> Users
2018-10-22 20:36 756,030 winnt.h
2 archivos 756,030 bytes
7 dirs 729,255,051,264 bytes libres
D:\LinkTest>
Français (French)
D:\LinkTest>dir
Le volume dans le lecteur D s’appelle Data
Le numéro de série du volume est AC67-D8CB
Répertoire de D:\LinkTest
2024-02-23 10:03 <DIR> .
2024-02-23 10:03 <DIR> ..
2024-02-21 13:27 <JUNCTION> Application Data
[d:\LinkTest\ProgramData]
2024-02-23 09:57 <SYMLINKD> BaseLayer [ProgramData\BaseLayer]
2024-02-21 13:55 <DIR> BITS
2024-02-23 09:54 <SYMLINK> bitsctr.h [BITS\bitsctr.h]
2024-02-21 13:49 <DIR> ProgramData
2024-02-21 13:22 <DIR> Users
2018-10-22 20:36 756,030 winnt.h
2 fichier(s) 756,030 octets
7 Rép(s) 729,255,051,264 octets libres
D:\LinkTest>
Deutsch (German)
D:\LinkTest>dir
Datenträger in Laufwerk D: ist Data
Volumeseriennummer: AC67-D8CB
Verzeichnis von D:\LinkTest
2024-02-23 10:03 <DIR> .
2024-02-23 10:03 <DIR> ..
2024-02-21 13:27 <JUNCTION> Application Data
[d:\LinkTest\ProgramData]
2024-02-23 09:57 <SYMLINKD> BaseLayer [ProgramData\BaseLayer]
2024-02-21 13:55 <DIR> BITS
2024-02-23 09:54 <SYMLINK> bitsctr.h [BITS\bitsctr.h]
2024-02-21 13:49 <DIR> ProgramData
2024-02-21 13:22 <DIR> Users
2018-10-22 20:36 756,030 winnt.h
2 Datei(en), 756,030 Bytes
7 Verzeichnis(se), 729,255,051,264 Bytes frei
D:\LinkTest>