PC Review


Reply
Thread Tools Rate Thread

"edit" function in cmd Windows XP SP3

 
 
Oni
Guest
Posts: n/a
 
      22nd Dec 2008
When I type "edit /?" in command prompt, I get the following message.

One or more CON code pages invalid for given keyboard code

MS-DOS Editor Version 2.0.026 Copyright (c) Microsoft Corp 1995.

EDIT [/B] [/H] [/R] [/S] [/<nnn>] [/?] [file(s)]

/B - Forces monochrome mode.
/H - Displays the maximum number of lines possible for your hardware.
/R - Load file(s) in read-only mode.
/S - Forces the use of short filenames.
/<nnn> - Load binary file(s), wrapping lines to <nnn> characters wide.
/? - Displays this help screen.
[file] - Specifies initial files(s) to load. Wildcards and multiple
filespecs can be given.

The below link provides the following explanation on the subject:
http://technet.microsoft.com/en-us/l.../cc750871.aspx

One or more CON code pages invalid for given keyboard code

The KEYB command examined all prepared code pages, and has found that at
least one code page is incompatible for your screen console device (CON).
This is only information to let you know that your keyboard and screen
console are working with different code pages.

PROBLEM:
When trying to edit text using the "edit" command all text is coming out as
garbled or as special characters.

If anyone knows a fix or can shed some light on this I would be grateful.

If more info is required please let me know and i'll provide it.

Thanks in advance.
--
Regards
Oni
 
Reply With Quote
 
 
 
 
thecreator
Guest
Posts: n/a
 
      22nd Dec 2008
Hi Oni,

What file are you editing that can't be done from Notepad or Wordpad?


--
thecreator

"Oni" <(E-Mail Removed)> wrote in message
news:AD6DC3B3-B326-42E0-8438-(E-Mail Removed)...
> When I type "edit /?" in command prompt, I get the following message.
>
> One or more CON code pages invalid for given keyboard code
>
> MS-DOS Editor Version 2.0.026 Copyright (c) Microsoft Corp 1995.
>
> EDIT [/B] [/H] [/R] [/S] [/<nnn>] [/?] [file(s)]
>
> /B - Forces monochrome mode.
> /H - Displays the maximum number of lines possible for your
> hardware.
> /R - Load file(s) in read-only mode.
> /S - Forces the use of short filenames.
> /<nnn> - Load binary file(s), wrapping lines to <nnn> characters wide.
> /? - Displays this help screen.
> [file] - Specifies initial files(s) to load. Wildcards and multiple
> filespecs can be given.
>
> The below link provides the following explanation on the subject:
> http://technet.microsoft.com/en-us/l.../cc750871.aspx
>
> One or more CON code pages invalid for given keyboard code
>
> The KEYB command examined all prepared code pages, and has found that at
> least one code page is incompatible for your screen console device (CON).
> This is only information to let you know that your keyboard and screen
> console are working with different code pages.
>
> PROBLEM:
> When trying to edit text using the "edit" command all text is coming out
> as
> garbled or as special characters.
>
> If anyone knows a fix or can shed some light on this I would be grateful.
>
> If more info is required please let me know and i'll provide it.
>
> Thanks in advance.
> --
> Regards
> Oni



 
Reply With Quote
 
Jeff Johnson
Guest
Posts: n/a
 
      22nd Dec 2008
"Oni" <(E-Mail Removed)> wrote in message
news:AD6DC3B3-B326-42E0-8438-(E-Mail Removed)...

> If more info is required please let me know and i'll provide it.


This might be the most important thing: what is your system locale?


 
Reply With Quote
 
Oni
Guest
Posts: n/a
 
      22nd Dec 2008
Hi again

Thanks for your swift reply.

Could be *.txt, *.bat *cmd, basically all files which can be edited this way.

Reason for asking is that I find it very easy to edit files this way work
alot in cmd.
--
Regards
Oni


"thecreator" wrote:

> Hi Oni,
>
> What file are you editing that can't be done from Notepad or Wordpad?
>
>
> --
> thecreator
>
> "Oni" <(E-Mail Removed)> wrote in message
> news:AD6DC3B3-B326-42E0-8438-(E-Mail Removed)...
> > When I type "edit /?" in command prompt, I get the following message.
> >
> > One or more CON code pages invalid for given keyboard code
> >
> > MS-DOS Editor Version 2.0.026 Copyright (c) Microsoft Corp 1995.
> >
> > EDIT [/B] [/H] [/R] [/S] [/<nnn>] [/?] [file(s)]
> >
> > /B - Forces monochrome mode.
> > /H - Displays the maximum number of lines possible for your
> > hardware.
> > /R - Load file(s) in read-only mode.
> > /S - Forces the use of short filenames.
> > /<nnn> - Load binary file(s), wrapping lines to <nnn> characters wide.
> > /? - Displays this help screen.
> > [file] - Specifies initial files(s) to load. Wildcards and multiple
> > filespecs can be given.
> >
> > The below link provides the following explanation on the subject:
> > http://technet.microsoft.com/en-us/l.../cc750871.aspx
> >
> > One or more CON code pages invalid for given keyboard code
> >
> > The KEYB command examined all prepared code pages, and has found that at
> > least one code page is incompatible for your screen console device (CON).
> > This is only information to let you know that your keyboard and screen
> > console are working with different code pages.
> >
> > PROBLEM:
> > When trying to edit text using the "edit" command all text is coming out
> > as
> > garbled or as special characters.
> >
> > If anyone knows a fix or can shed some light on this I would be grateful.
> >
> > If more info is required please let me know and i'll provide it.
> >
> > Thanks in advance.
> > --
> > Regards
> > Oni

>
>
>

 
Reply With Quote
 
Oni
Guest
Posts: n/a
 
      22nd Dec 2008
Hi Jeff,

Thanks for your quick reply.

Info provided below:

System Locale: en-us;English (United States)
Input Locale: no;Norwegian (Bokmal)
--
Regards
Oni


"Jeff Johnson" wrote:

> "Oni" <(E-Mail Removed)> wrote in message
> news:AD6DC3B3-B326-42E0-8438-(E-Mail Removed)...
>
> > If more info is required please let me know and i'll provide it.

>
> This might be the most important thing: what is your system locale?
>
>
>

 
Reply With Quote
 
thecreator
Guest
Posts: n/a
 
      22nd Dec 2008
Hi Oni,

Have you checked your settings for the Keyboard in Regional and Language
Options found in the Control Panel? Have you Added Support for your Language
in there? If editing a Norwegian Language Bat file, is that Language
Keyboard Active?


--
thecreator

"Oni" <(E-Mail Removed)> wrote in message
news:4AD2504B-46BB-4628-8BEA-(E-Mail Removed)...
> Hi again
>
> Thanks for your swift reply.
>
> Could be *.txt, *.bat *cmd, basically all files which can be edited this
> way.
>
> Reason for asking is that I find it very easy to edit files this way work
> alot in cmd.
> --
> Regards
> Oni
>
>
> "thecreator" wrote:
>
>> Hi Oni,
>>
>> What file are you editing that can't be done from Notepad or Wordpad?
>>
>>
>> --
>> thecreator
>>
>> "Oni" <(E-Mail Removed)> wrote in message
>> news:AD6DC3B3-B326-42E0-8438-(E-Mail Removed)...
>> > When I type "edit /?" in command prompt, I get the following message.
>> >
>> > One or more CON code pages invalid for given keyboard code
>> >
>> > MS-DOS Editor Version 2.0.026 Copyright (c) Microsoft Corp 1995.
>> >
>> > EDIT [/B] [/H] [/R] [/S] [/<nnn>] [/?] [file(s)]
>> >
>> > /B - Forces monochrome mode.
>> > /H - Displays the maximum number of lines possible for your
>> > hardware.
>> > /R - Load file(s) in read-only mode.
>> > /S - Forces the use of short filenames.
>> > /<nnn> - Load binary file(s), wrapping lines to <nnn> characters
>> > wide.
>> > /? - Displays this help screen.
>> > [file] - Specifies initial files(s) to load. Wildcards and multiple
>> > filespecs can be given.
>> >
>> > The below link provides the following explanation on the subject:
>> > http://technet.microsoft.com/en-us/l.../cc750871.aspx
>> >
>> > One or more CON code pages invalid for given keyboard code
>> >
>> > The KEYB command examined all prepared code pages, and has found that
>> > at
>> > least one code page is incompatible for your screen console device
>> > (CON).
>> > This is only information to let you know that your keyboard and screen
>> > console are working with different code pages.
>> >
>> > PROBLEM:
>> > When trying to edit text using the "edit" command all text is coming
>> > out
>> > as
>> > garbled or as special characters.
>> >
>> > If anyone knows a fix or can shed some light on this I would be
>> > grateful.
>> >
>> > If more info is required please let me know and i'll provide it.
>> >
>> > Thanks in advance.
>> > --
>> > Regards
>> > Oni

>>
>>
>>



 
Reply With Quote
 
Oni
Guest
Posts: n/a
 
      22nd Dec 2008
Hi again,

If your refering to "Input Locale", it's posted already, but here it is again.
System Locale: en-us;English (United States)
Input Locale: no;Norwegian (Bokmal)
--
Regards
Oni


"thecreator" wrote:

> Hi Oni,
>
> Have you checked your settings for the Keyboard in Regional and Language
> Options found in the Control Panel? Have you Added Support for your Language
> in there? If editing a Norwegian Language Bat file, is that Language
> Keyboard Active?
>
>
> --
> thecreator


 
Reply With Quote
 
Oni
Guest
Posts: n/a
 
      22nd Dec 2008
Hi again.

Problem has now been fixed, changed system locale to no;Norwegian (Bokmal)
and it was ok.

Thanks for your support ;-)
--
Regards
Oni


"Oni" wrote:

> Hi again,
>
> If your refering to "Input Locale", it's posted already, but here it is again.
> System Locale: en-us;English (United States)
> Input Locale: no;Norwegian (Bokmal)
> --
> Regards
> Oni
>
>
> "thecreator" wrote:
>
> > Hi Oni,
> >
> > Have you checked your settings for the Keyboard in Regional and Language
> > Options found in the Control Panel? Have you Added Support for your Language
> > in there? If editing a Norwegian Language Bat file, is that Language
> > Keyboard Active?
> >
> >
> > --
> > thecreator

>

 
Reply With Quote
 
Oni
Guest
Posts: n/a
 
      22nd Dec 2008
Hi again.

Problem has now been fixed, changed system locale to no;Norwegian (Bokmal)
and it was ok.

Thanks for your support ;-)
--
Regards
Oni


"Oni" wrote:

> Hi Jeff,
>
> Thanks for your quick reply.
>
> Info provided below:
>
> System Locale: en-us;English (United States)
> Input Locale: no;Norwegian (Bokmal)
> --
> Regards
> Oni
>
>
> "Jeff Johnson" wrote:
>
> > "Oni" <(E-Mail Removed)> wrote in message
> > news:AD6DC3B3-B326-42E0-8438-(E-Mail Removed)...
> >
> > > If more info is required please let me know and i'll provide it.

> >
> > This might be the most important thing: what is your system locale?
> >
> >
> >

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      22nd Dec 2008

"Oni" <(E-Mail Removed)> wrote in message
news:4AD2504B-46BB-4628-8BEA-(E-Mail Removed)...
> Hi again
>
> Thanks for your swift reply.
>
> Could be *.txt, *.bat *cmd, basically all files which can be edited this
> way.
>
> Reason for asking is that I find it very easy to edit files this way work
> alot in cmd.
> --
> Regards
> Oni


Edit.com is a 16- bit legacy program. It lacks many features that we take
for granted in Windows, e.g. the ability to paste text into it and out of it
from any other 32-bit application, e.g. from your newsreader or from a web
page. It also locks up the current Command Prompt, preventing you from
opening a second or a third editor (unless you start another Command
Prompt), and it tends to load up the CPU quite a lot. I recommend that you
give notepad.exe a try. This will certainly solve your current problem.


 
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
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP Basics 1 6th Nov 2007 08:48 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP Customization 1 6th Nov 2007 08:48 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP General 1 6th Nov 2007 08:48 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP Help 1 6th Nov 2007 08:48 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP New Users 1 6th Nov 2007 08:48 AM


Features
 

Advertising
 

Newsgroups
 


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