Please enable JavaScript to view this site.

Take Command / TCC Help v. 29


V is not an editor. If while you are viewing a file, you decide you want to edit it, you must do so with a separate editor. Most people will have an editor of choice on their system. If you don't, you can always use notepad.exe which should be in your WINDOWS system directory.


The Editor options tell V what editor to use to edit the file. To launch the file in your editor of choice, you need to select the File->Edit command. There are 2 options you can specify - just click on the corresponding button to set them.



The full path name of your editor (usually an EXE file)


The options you want passed to your editor (if any)


The above path and options will be used to construct a command that Windows will execute. The command will look as follows:


         Path + Options + FileName


For example,


         \bin\editor.exe /v file.cpp


Where more than one file has been selected, the file names will be appended onto the end of the command, separated by spaces.


Advanced Options


You can pass further options (like the current line number) by using option specifiers (like %L). An explanation of the available options specifiers is given in the User Commands section.



Hex Editor


If you want a different editor to be called while you are viewing a file in hex mode, simply define a second editor in the "Hex Editor" section.



Passing the MSDOS File Name


Enable the Use MSDOS file name option in each of the above cases in order to pass the MSDOS (8.3) file name to the command. This may be necessary if the specified executable is a 16-bit program which does not support long file names.


Command Processor


You can use a different Command Processor (to TCC.EXE) to launch a Command Prompt by enabling "Use the following Command Processor" and clicking on the Path button to select its path.




If you want to use more than one editor, you can define it as a User Command.


By default, you can use Ctrl+E to launch the editor and Ctrl+Shift+E to launch the hex editor.