Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: itembox askfiletext file text
fname="c:\temp\example.txt" ; your file fsize=FileSize(fname) bb=BinaryAlloc(fsize) BinaryRead(bb,fname) filetext=BinaryPeekStr(bb,0,fsize) BinaryFree(bb)Now use the filetext variable in your Dialog ItemBox.
Article ID: W12839
Filename: Displaying Contents of a File in ItemBox.txt
File Created: 2001:12:06:12:21:44
Last Updated: 2001:12:06:12:21:44