Path Replace

Top  Previous  Next

Menu "Project" - "Path Replace"

Wave files, AVI files and other external files (setup files etc..) are not part of the MBD file (they could be very big) and they will stay separate.

It is very important they have paths relative to the player on the users system, not fixed paths.

(See comments about relative paths in External Commands and Page Actions)

This tool allows you to change all paths in the project at once for Commands, Wave files Objects and Script.

Click on an item to get more information:

Search string

The string that will be replaced. Search for common strings, for example C:\WAVES.

Replace with

Replace strings with this for example <SrcDrive>\WAVES

Replace whole path

Whole path to the file will be replaced. Great if you don’t have sources with some part of the path common. (If you use sound files from all disks on your computer but on distribution disk have to put them on one directory)

Example:

In project you use Wave files

C:\Windows\sound.wav

D:\MSOffice\Ppoint\beep.wav

We put Replace With string: <SrcDir>\WAVE

Check the Replace whole path and press Replace All

The result will be:

<SrcDir>\WAVE\sound.wav

<SrcDir>\WAVE\beep.wav

Now you have to copy all wave files to your distribution into the directory WAVE.

Replace all

This is the actual button to make the replace action. You cannot cancel this operation, so it is a good idea to save the project before.

Note: The commands, waves and video files are separate files because it is good idea to put them separately on the distribution disk. See

Example:

Separate Files Example

All external files (Setup, etc.) will be put in directory <SrcDir>\BIN

All wave files we will copied to <SrcDir>\Waves

And all videos we will copied to <SrcDir>\AVI

The <SrcDir> will be replaced at runtime with the actual directory of the player.