"edit" is not a valid command in cmd.exe?

I am trying to create a .cfg file for the bcc32 compiler and I am following the instructions. I correctly installed and installed the path to the environment as indicated, but when I type "edit bcc32.cfg" at the command line, it says that editing is not a valid command? What should I do?

+5
source share
5 answers

You can also create a .bat file, edit.bat , to replace the 16-bit editing program (removed because x64 windows flavors does not start it), which will launch your favorite editor.

@echo off
notepad %1
@echo on

This is what I did, making it as a simple patch so that I can continue the path that I have always had for the most part. Just enter:

edit myfile.ext

, .

: - , .

2: @echo off @echo on . , @ , .

@notepad %1
+10

( ) :

 C:\Borland\BCC55\bin> notepad bcc32.cfg

. , , .

+4

, 64- . cmd, ... "filename", , !

type "filename"

( ), cmd. , , , , - .

+3

, Windows 7 ( edit.exe edlin.exe ): powershell.exe cmd - edit .

: http://en.wikipedia.org/wiki/Windows_PowerShell

+1

simple answer .... if you are using an old version of Windows (xp etc ..), you can use the edit but since you are using a new version of Windows, Microsoft has updated and deleted commands that they think are not relevant, for example. (msg, edit) depending on whether bit bit bit 64 or bit82 ...

-1
source

All Articles