solved the problem
private Sub Command1_Click()
Dim strInputString As String
Dim strFilterText As String
Dim astrSplitItems() As String
Dim astrFilteredItems() As String
Dim strFilteredString As String
Dim intX As Integer
' Get a free file number
nFileNum = FreeFile
' Open a text file for input. inputbox returns the path to read the file
Open "C:\1.bat" For Input As nFileNum
lLineCount = 1
' Read the contents of the file
Do While Not EOF(nFileNum)
Line Input #nFileNum, sNextLine
'do something with it
'add line numbers to it, in this case!
sNextLine = sNextLine & vbCrLf
sText = sText & sNextLine
Loop
strInputString = sText
astrSplitItems = Split(strInputString, ";")
For intX = 0 To UBound(astrSplitItems)
Text1.Text = astrSplitItems(1)
Text2.Text = astrSplitItems(2)
Text3.Text = astrSplitItems(3)
Text4.Text = astrSplitItems(4)
Next
Close the file
Close nFileNum