Changing a source file's path
Previous  Top  Next

MacroHTML stores its component file paths in a project (which is just an 'ini' format file with the '.mhj' extension). The paths are absolute and not relative - they take the form 'c:\our_projects\project\file.html' rather than 'project\file.html' .

There are times when you need to change a source file's path in the project. for example if you have moved the project or renamed its directory. You can either do this the manual way, by directly editing the project file with a text editor, or by using the source file list's pop-up menu 'change path' option:
source_files_popup

If you select this, and you have selected a source file first, you'll see a dialog like this:

change_path_dlg

In the 'To' field, select the new path for this file. Select the 'Just for xxx' radio button and press the doit button. You will notice that your file reference has changed in the project. If you selected the 'For all files in this location' radio button. obviously all files references in the project would have been changed.