OVH Cloud OVH Cloud

Script directories with French accent characters..

3 réponses
Avatar
dtong101
I have unsuccessfully use regular dos batch files to create directories with
french accent characters. They come out anything but French like. The
batch file worked well when the directories are in English only. Can anyone
suggest a technique or a tool to "md" many french directories in a script?

md "\SomeDirWithFrenchAccentCharacter\subdir\subdir".

Thanks much.
DT

3 réponses

Avatar
FE-FR
You mean something like : é è â où ...

My OS is in English and I have no problem to create some ... check this :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:>MD éàèê

C:>cd éàèê

C:éàèê>

Can you give us more details ?

Thanks

fe
"dtong101" wrote in message
news:
I have unsuccessfully use regular dos batch files to create directories
with

french accent characters. They come out anything but French like. The
batch file worked well when the directories are in English only. Can
anyone

suggest a technique or a tool to "md" many french directories in a script?

md "SomeDirWithFrenchAccentCharactersubdirsubdir".

Thanks much.
DT



Avatar
dtong101
It works on my Win2K computer too when the command is pasted into a dos
prompt. But the same command in a DOS batch file will create the accented e
as an accented upper U instead. Some accented characters even got translated
as a totally different symbol.

md "Aluminerie de Bécancour Inc.2004" This gives me the upper U in place
of the accented e.

md "École des Hautes Études Commer2004" I got nowhere near the accented
upper E.

Run the two commands in a dos batch file and see if it works for you.

Thank you and much appreciated.
DT

"FE-FR" wrote:

You mean something like : é è â où ...

My OS is in English and I have no problem to create some ... check this :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:>MD éàèê

C:>cd éàèê

C:éàèê>

Can you give us more details ?

Thanks

fe
"dtong101" wrote in message
news:
I have unsuccessfully use regular dos batch files to create directories
with

french accent characters. They come out anything but French like. The
batch file worked well when the directories are in English only. Can
anyone

suggest a technique or a tool to "md" many french directories in a script?

md "SomeDirWithFrenchAccentCharactersubdirsubdir".

Thanks much.
DT








Avatar
Jean
Hi,

"dtong101" a écrit dans le message de
news:
It works on my Win2K computer too when the command is pasted into a dos
prompt. But the same command in a DOS batch file will create the accented e
as an accented upper U instead. Some accented characters even got translated
as a totally different symbol.



You need to use an ascii editor like EDIT.COM to create a batch file containing extended characters not an ansi editor like
NOTEPAD.EXE.

Regards,

Jean - JMST
Belgium