What I would need to check on is if the values still line up or not...by Pete (Login The-Universe)
Someone posted not too long ago that they don't and I tested that and found it to be true:
x$ = ENVIRON$("CMDLINE")
DO UNTIL INSTR(x$, "\") = 0
x$ = MID$(x$, INSTR(x$, "\") + 1)
x$ = MID$(x$, 1, INSTR(LCASE$(x$), ".exe") + 4)
That returns the name of the current running exe in 98, but returns nothing in XP.
Sometime I need to check the order of the return and see if it is just a difference in the STRING associated with environ4 between the two systems or if it is the order of output generated, or both.
I live in California, so I'm "Standin' on Shakey Ground."
|Response Title||Author and Date|
|* Print ENVIRON$(n) in a loop until the return = ""||on Nov 20|
|Why didn't I think of that?.. Oh wait, I did...||Pete on Nov 20|
|Don't expect much on the 98, but...||on Nov 20|
|* Really? I just go to the directory tree, open it, and count the rings for that. :)||Pete on Nov 20|
|* And here I was counting the branches....||on Nov 20|
|Stick around, tomorrow I'm teaching how too much watering can hurt your root drive.||on Nov 20|
|My hard drive is fine cause I use Levitra!||on Nov 21|