PC Review


Reply
Thread Tools Rate Thread

CMD.exe and French Language Charictors

 
 
DFO Tech
Guest
Posts: n/a
 
      23rd Sep 2008
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?
 
Reply With Quote
 
 
 
 
JF
Guest
Posts: n/a
 
      24th Sep 2008
*Bonjour DFO Tech * !
<news:4846FC2B-0672-436A-87C5-(E-Mail Removed)>

> 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/module...cat.php?cid=40

--
Regards, Jean-François


 
Reply With Quote
 
Joseph Morales
Guest
Posts: n/a
 
      7th May 2009
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.
--
Joseph
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Language change from French into English in French XP home edn Paulfrenchnc10 Windows XP Help 3 12th Nov 2009 12:45 AM
French Language =?Utf-8?B?S2l6?= Microsoft Word Document Management 2 11th Aug 2007 06:38 AM
French Language =?Utf-8?B?Q3JhaWdI?= Microsoft Word Document Management 5 24th Apr 2006 04:36 PM
french language addin =?Utf-8?B?U2hlcmlmIEdhYWZhcg==?= Microsoft Word Document Management 1 11th Oct 2004 09:51 PM
French language John Dunn Windows XP Help 1 2nd Oct 2004 02:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:00 PM.