another option is using Shell Xtra. On windows you can use it like:
tPath = shell_cmd("echo %ProgramFiles%", EMPTY)
tPath = shell_cmd("echo %SystemRoot%", EMPTY)
tPath = shell_cmd("echo %TMP%", EMPTY)
for a list of all available system-variables do a
put shell_cmd("SET", RETURN)
and here some code to put all available variables into a prop list:
vars = [:]
tmp = shell_cmd_list("SET")
the itemdelimiter = "="
cnt = tmp.count
repeat with i = 1 to cnt
vars[tmp[i].item[1]] = tmp[i].item[2]
end repeat
put vars
Cheers,
Valentin
julian weaver wrote:
you can also do this with filextra 4.
julian
There are some variabe to find path for desktop, system HD, user
Directory, ... ???
I think you can do this with Buddy API by supplying different IDs.
Somebody once posted a list of these that they recieved from Gary
Smith.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]