Close! Have a look at the SpecialFolder() function call in the Language Reference.
George Henne NS BASIC Corporation http://www.nsbasic.com >Hi, > >I would like to put my SQLite database in a standard folder. >"Application Data" for example, or the "My Documents" folder. The thing >is that I'm thinking that the actual name of the folder might change >depending on the device's OS language. For example, "My Documents" in >spanish will probably be "Mis Documentos", etc... > >I was wondering thus if it was possible to specify the filepath using an >environment variable. > >For examle: > > myDB = "%PROGRAMFILES%\myDB.db" > >or (probably better) > > myDB = "%APPDATA%\myDB.db" > >Would something like this work? > >Best regards, >Edgard > > > > >------------------------------------ > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
