CMD.exe and French Language Charictors

  • Thread starter Thread starter DFO Tech
  • Start date Start date
D

DFO Tech

Here is my problem. I am trying to run these commands:

NET localgroup "Administrateurs" "XXX" /ADD
NET localgroup "Utilisateurs du Bureau à distance" "XXX" /ADD
NET localgroup "HelpServicesGroup" "XXX" /ADD
NET localgroup "Opérateurs de configuration réseau" "XXX" /ADD
NET localgroup "Utilisateurs avec pouvoir" "XXX" /ADD

This is a batch file called from a VBS script. The script is running on a
system using Windows XP Pro French with the French Canadian Language. The
problem is that when this batch file is called the special charictors with
the accents are replaced by something else. I know it has something to do
with the ANSI charictors but I am not sure how to fix it. Any ideas?
 
*Bonjour DFO Tech * !
Here is my problem. I am trying to run these commands:
NET localgroup "Administrateurs" "XXX" /ADD
NET localgroup "Utilisateurs du Bureau à distance" "XXX" /ADD
NET localgroup "HelpServicesGroup" "XXX" /ADD
NET localgroup "Opérateurs de configuration réseau" "XXX" /ADD
NET localgroup "Utilisateurs avec pouvoir" "XXX" /ADD
This is a batch file called from a VBS script. The script is running on a
system using Windows XP Pro French with the French Canadian Language. The
problem is that when this batch file is called the special charictors with
the accents are replaced by something else. I know it has something to do
with the ANSI charictors but I am not sure how to fix it. Any ideas?

Edit the batch with edit.com (system32).

You can also use freewares like Metapad
http://www.liquidninja.com/metapad/
and more
http://www.gratilog.net/xoops/modules/mydownloads/viewcat.php?cid=40
 
When you're on an English system, editing a file for later use on a French
OS, use Wordpad. When you save the file, do File / Save As. Save .bat or .cmd
files as type Text Document - MS-DOS format. Save .vbs files as type Unicode
Text Document. By default, Wordpad saves the file with a .txt extension, so
change the extension back to .bat, .cmd, or .vbs as necessary.

When you're doing your editing on a French OS, run Wordpad. Choose Ficher /
Enregistrer Sous. Save .bat or .cmd files as type Document Texte - MS-DOS.
Save .vbs files as type Document Texte - Unicode. Fix the file extension if
necessary.
 
Back
Top