Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: 255 characters 256 characters 111:Execution Error Line too long(>255 characters)
Run("notepad.exe","Selected file name")
fn="c:\yourfilename" fs=FileSize(fn) bb=BinaryAlloc(fs) BinaryRead(bb,fn) DaFile=BinaryPeekStr(bb,0,fs) BinaryFree(bb) DaFile=StrReplace(DaFile,@CRLF,@TAB)Then use DaFile as your ItemListBox variable.
Should work OK for files up to about 1000 bytes.
You can display a larger file size, but if you use a larger file size, for example, 20K, you won't be able to do much else in the program.
Article ID: W13215
Filename: Display Text Greater than 255 Chars.txt
File Created: 1999:04:15:16:52:32
Last Updated: 1999:04:15:16:52:32