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!

load txt file in standalone from users c:/ dir

Status
Not open for further replies.

mee

Programmer
Nov 12, 2001
1
AU
I have a standalone application that runs from a CD. I have worked out how to use loadvariablenum to load and use variables in a text file using a relative path eg
Code:
loadVariablesNum ("testtext.txt", 0);
but need to know how I can specify an exact path (so it can look for the file on the users hard drive) eg
Code:
loadVariablesNum ("c:\\testtext.txt", 0);
this doesn't work can anyone tell me if there is a way to do it?

The reason for doing this is that we need to know what operating system a user is using as this alters what is installed from the CD - we have a program that detect the op system writes a text file to the users drive that I am then trying to read with Flash - If there is some way to detect the op system with a standalone flash system I would love to hear about it.
Many thanks
me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top