Question

Attribute Manager changing \\ to /


Badge +1

I have used an Attribute Manager to create a new attribute for a file path.

The path is for example c:\\FME\\data\\myworspace\\sourcefile.html

The output from the Attribute Manager is c:\\FME\\data/myworkspace\\sourcefile.html

 

It is outputting a random / in the middle of the path rather than \\.

This results in the path failing to work.

 

I can use a string replacer after to correct it but it is not working correctly.

Any ideas on why it does this would be great.


2 replies

Userlevel 1
Badge +21

Are you creating the file path from an existing attribute?

Badge +1

Are you creating the file path from an existing attribute?

Partially yes. I am basically doing this

c:\\FME\\data\\myworkspace\\@Value(User) sourcefile.html

Reply