Windows 8-'edit' is not recognized as an internal or external command,operable program or batch file

Hello,  my friend recently upgraded to windows 8 pro version 64 bit operating system. The problem is in cmd(command prompt) when we use 'edit' command to edit a file. it shows an error " 'edit' is not recognized as an internal or external command, operable program or batch file"... Can anybody help me how to make this edit command to work in windows 8 64 bit OS please....? 
|

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Hi Padmahas,

 

Thank you for posting your query in Microsoft Community Forums.

 

The issue description seems a bit unclear and I would like to have a better understanding before we start working on it. I would really appreciate if you can help me with the following information.

 

1.      What exactly are you trying to do on the computer?

2.      Which file are you trying to edit?

 

You can refer the help article and check.

 

Command-Line Reference

http://technet.microsoft.com/en-us/library/cc754340.aspx

 

 

Please refer to the mentioned link prior to posting a question so that you may provide all the relevant information, for us to help you:

Suggestions for asking a question on help forums: http://support.microsoft.com/kb/555375

 

Regards,
Anil

8 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

The edit command is no longer available in Windows 8 64 bit. You could use the "notepad" command instead.
I am just another user, not connected with Microsoft in any way

10 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Padmahas,

 

Thank you for posting your query in Microsoft Community Forums.

 

The issue description seems a bit unclear and I would like to have a better understanding before we start working on it. I would really appreciate if you can help me with the following information.

 

1.      What exactly are you trying to do on the computer?

2.      Which file are you trying to edit?



Hello sir, Thank you for your suggestion. I referred the Command line reference link


"http://technet.microsoft.com/en-us/library/cc754173.aspx#BKMK_examples".


There it has mentioned the usage of this command also applies to windows 8. So I'm answering your 2 questions.

1. I have a practice of writing java programs by using the command "edit programname.java" which will takes us to ms-dos editor that i found very easy for writing program in a systematic manner than notepad. I was using this command in windows 7 32 bit also, later i heard that it is not available in 64 bit windows 7 too. So i got this question that is there any problem with 64 bit windows OS.


Another answer i found is to paste edit.exe and supporting files from another system to "C:\Windows" path. But when i tried, it told me that it is not compatible with 64 bit OS the element I'm trying to paste is of 32 bit. So where can i get 64 bit edit.exe and supporting files?

4 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

MS-Dos editor(edit.exe) is not present in Modern 64 bit windows. The only option is notepad.
So I did this in the following way.
1. Download jdk 1.7.0_25 x64 bit(for x64 bit windows only)

2. Install jdk

3. Right click on My Computer ->Click properties ->Advance System settings ->Environment  
    Variables ->System Variables ->New ->Variable name: write "Path" without quotes 
    Variable value: write "C:\Program Files\Java\jdk1.7.0_25\bin" wihout quotes -> Click OK ->OK   
**Note:-check your jdk version before writing the variable value...If you have other version of jdk  
   the Variable value should be changed.....
   
4.Goto C:\Windows->Right click on System 32 folder->Click Properties->Security->Advance->Click   
   on "Change" option (writen in blue color) ->Click Advance->Find Now->Select The user you  
   currently logged in(*if you have more than one user you should logged on to the 
   administrator first, to check which one is administrator go to "User Accounts")
   ->Click Ok->Apply->Ok->Ok

5. Press Windows key+R -> type cmd and hit enter ->in thr taskbar right click on the Command  
    prompt icon ->Click pin to task bar ->close commant prompt
    Now again Right click on the Command prompt icon(you have recently pinned) 
    ->Right Click on Command Prompt -> Click Properties->In Shortcut tab write  
     "%windir%\system32\" (without quotes) in the Start in box-> Click ok

6. Open Command Prompt from Task bar(you have recent pinned command prompt icon in Task 
     bar)

***********To View Command prompt(CMD) in full sreen Start CMD -> Right Click on Name Bar of CMD->Click Layout -> Increase Window Buffer Size width and height****************

7. Type "notepad" without quotes.
 
8. write your java program and save as < Class name.java> (class name refers to the name of the class which you've used in your program)    
    Example:-
        class hello
        {
           public static void main(String args[])
              {  
                  System.out.println("Hello world");
               }
         }
       
 You MUST have to save the above program As: hello.java in "C:\Windows\System32" folder.
       ** You can create A shortcut to the "System 32" folder in the Desktop for quick access
       **To create a shortcut of "System32" goto  "C:\Windows" -> Right click on System32  and select Send to->Desktop(create shortcut)

9.    Type "javac<space><program name.java>" without quotes (To compile hello.java type   javac hello.java )
       ***if no errors displayed then go to step 10 oterwise type notepad and edit your program again***

10.  Type "java<space><program name>" without quotes( As to run hello.java type  java hello)

You have successfully Write, Compile and Run a Java Program on " x64 bit Windows using COMMAND PROMPT".
DEBASHIS DAS
***INDIA

5 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hello,

I also had the same problem typing in edit into the Command Prompt and got the same message as Padmahas and it also said the same thing: 

'edit' is not recognized as an internal or external command,operable program or batch file
However, I am in a Programming Fundamentals class at Ventura College. I am being taught the basics of how to write source code. I have read everyone's responses and everything that was said. So since there is no way of getting the edit command to work on Windows 8, there should be a way for me to return my computer because I spent over $1,000 on my Samsung Laptop at Best Buy. I bought it in March 2013, however the receipt I have says they only give returns within 15 days. I also called to check, and I was told the same thing by a manager. 

So how would I be able to get my money back, and an older computer so I can do my homework for school?

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

@Microsoft: Once again, I am deeply disappointed. I wonder why it should be necessary to remove edit.com from Win8 x64? For me, converting text files from LF=10 (Linux) to CR, LF=13,10 (Windows) was quickly and simply done with edit. But I guess nobody thought of that, again. Any suggestion on an alternative that is just as simple?

5 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Why in the he11 would MS do this? And not tell anyone? Sometimes the stupidity is monumental.

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

not able to save directly to system32 folder error Access denied , only can copy paste the file to system32 folder.

and program cant be executed, shows same error ....  please help from step 4 

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Any 64bit OS does not support dos...only 32bit supports dos.

Running Dos app on WIN8 Pro 32bit

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

not able to save directly to system32 folder error Access denied , only can copy paste the file to system32 folder.

and program cant be executed, shows same error ....  please help from step 4 

Hi!

I know this post is really old, I just got the error. Have you already tried to use cmd as an admin? Did or does it work, or you found any other solution? I would appreciate it. Thank You!

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

 
 

Question Info


Last updated June 1, 2021 Views 17,042 Applies to: