sykes Posted April 6, 2004 Share Posted April 6, 2004 Ok ... I'm sure this is because of a format issue here, but when I try to use FileRead or FileReadLine on a *.reg file it gives me one line of gibberish followed by line after line of blank lines. I can open the *.reg in notepad, copy all of the text from this file, save it in a standard *txt file and I can then read it. I say there has to be a formatting problem due to the difference in filesize (*.reg = 23 kbs - *.txt = 11 kbs with same visible contents). I was able work around this by scripting the opening of the reg file in notepad, selecting the text, copying it to a txt file then running the FileReadLine command on the resulting file. I was just wondering if this is something anyone else has run into? :iamstupid: We have enough youth. How about a fountain of SMART? Link to comment Share on other sites More sharing options...
jpm Posted April 6, 2004 Share Posted April 6, 2004 Ok ... I'm sure this is because of a format issue here, but when I try to use FileRead or FileReadLine on a *.reg file it gives me one line of gibberish followed by line after line of blank lines. I can open the *.reg in notepad, copy all of the text from this file, save it in a standard *txt file and I can then read it. I say there has to be a formatting problem due to the difference in filesize (*.reg = 23 kbs - *.txt = 11 kbs with same visible contents). I was able work around this by scripting the opening of the reg file in notepad, selecting the text, copying it to a txt file then running the FileReadLine command on the resulting file. I was just wondering if this is something anyone else has run into? :iamstupid:The reason is that the export file is created with Unicode characters (2 bytes for one symbol) You need to export in the Win9x/NT4 type format. THe output is stil a .reg but one symbol = one byte.Perhaps at a time we shoud add an option to read Unicode files. That's a question for JON Link to comment Share on other sites More sharing options...
sykes Posted April 6, 2004 Author Share Posted April 6, 2004 Thnaks Jp Nice to know i'm not just losin it lol We have enough youth. How about a fountain of SMART? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now