hi,
i want to know how to get a text file situated anywhere in my drive and to read it.

Recommended Answers

All 2 Replies

uh, did you try this?

C:\> copy file.txt C:\path\to\new\place\
C:\> cd C:\path\to\new\place
C:\path\to\new\place> type file.txt

Copy the file where ever you want, as jephthah suggests.
In the code, use the full path to the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.