Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I import a file into a script?

Status
Not open for further replies.

Torcedor

Technical User
Jun 23, 2005
7
BR
Hi,

I need to know how to import a text file into a script so I can use put all the file content in a variable.

for example: if my C:\example.txt contains "73001;73002"...

dim_logid = (here I need to put the function that gets the text file plus the path "C:\example.txt")

msgbox dim_logid

(after that it should show a msgbox containing "73001;73002")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top