cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
smchau
Level 2

Convert Backslash to Forwardslash

Hi All,

I created my project file using ISMP11.5 in windows. When I build my project in Unix machine, I got the errors. The reason is that it cannot find the image file that I used in the project.

When I looked at my project file, I saw that the path to the image has backward slash:
$A(IS_HOME)\images\Backgrounds\classic.gif

If I manually change from backslash to forwardslash, it works fine. Everytime I edit my project file in windows machine, it changes from forwardslash to backslash.

Is there away that I can make ISMP stop changing fowardslash to backslash? Or is there a way that I can make ISMP to build in Unix so it can ignore that it is a forwardslash?

Thanks for your help in advance.
Labels (1)
0 Kudos
(1) Reply
pomalese
Level 3

smchau wrote:
Hi All,

I created my project file using ISMP11.5 in windows. When I build my project in Unix machine, I got the errors. The reason is that it cannot find the image file that I used in the project.

When I looked at my project file, I saw that the path to the image has backward slash:
$A(IS_HOME)\images\Backgrounds\classic.gif

If I manually change from backslash to forwardslash, it works fine. Everytime I edit my project file in windows machine, it changes from forwardslash to backslash.

Is there away that I can make ISMP stop changing fowardslash to backslash? Or is there a way that I can make ISMP to build in Unix so it can ignore that it is a forwardslash?

Thanks for your help in advance.


Use $PATH($A(IS_HOME),images\Backgrounds\classic.gif)

That should generate the correct slashes for you.
0 Kudos