Gonzalomsanchez Absent Member.
Absent Member.
248 views

When Write to File object is used estrange characters are in the file

When I wrote a text in a file, it is created OK in the windows with a flow, I checked the file with the notepad in the target server and it looks fine, but when I "type" the file through command line this strange characters appear at the beginning of the file and it corrupt the following operations:

 

C:\Program Files\HPOM\Data\bin\instrumentation>type C:\sqlcfg.txt
SYNTAX_VERSION 4
MSSQL

 

If I write the file from zero with the notepad, it looks OK, and if I opened the corrupted file created with Word and save it again, it is saved OK.

Gonzalo Sanchez | Automation Lead | AEQC | Global Infrastructure Services | IT Services
Labels (1)
Tags (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.