The edit command is no longer available in Windows 8 64 bit. You could use the "notepad" command instead.
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....?
Windows for home | Previous Windows versions | Files, folders, and storage
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
15 answers
Sort by: Most helpful
-
Anonymous
2013-01-28T06:48:05+00:00 -
Anonymous
2013-01-28T04:50:23+00:00 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
-
Anonymous
2014-01-16T14:55:15+00:00 @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?
-
Anonymous
2013-08-22T07:16:55+00:00 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.
- Download jdk 1.7.0_25 x64 bit(for x64 bit windows only)
- Install jdk
- 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
- 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
- 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****************
- Type "notepad" without quotes.
- 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)
- 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***
- 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".
-
Anonymous
2013-01-28T10:14:10+00:00 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.
- 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?