XEDIT

<< Click to Display Table of Contents >>

Navigation:  Gekko commands >

XEDIT

Previous pageReturn to chapter overviewNext page

The XEDIT command uses the open-source XML Notepad xml editor to open up the designated file. The command is practical for editing plot files (.gpt), or table files (.gtb). In general, a xml editor is much easier to use for editing xml files than a text editor.

 

Tip: use 'View' --> 'Expand All' to unfold all XML nodes for better overview. Use Ctrl+D to duplicate a xml node (including its children nodes). The nodes are easy to copy, delete and move areound in XML Notepad.

 


 

Syntax

 

XEDIT filename ;

 

filename

Filenames may be contain an absolute path like c:\projects\gekko\myfile, a relative path like \gekko\myfile.gbk, or be stated without a path. Filenames containing blanks and special characters should be put inside quotes. See more on filenames here.

The extension .gpt is automatically added, if it is missing. If the filename is set to '*', you will be asked to choose the file in Windows Explorer.

 

 

 


 

Examples

 

You may use this to open up the file p.gpt from the working folder:

 

XEDIT p;

 

The .gpt extension is automatically inserted. You may select .gpt files like this:

 

XEDIT *;

 

This will open up a file dialog with .gpt files to choose from (you can choose other extensions, too).

 

To edit a table file called t1.gtb, you may use:

 

XEDIT t1.gtb;

 

 


 

Related commands

 

SYS, EDIT, PLOT, TABLE