Deleting files on Vista

J. Landman Gay jacque at hyperactivesw.com
Fri Jun 29 13:03:32 EDT 2007


Shari wrote:
>> Hiya,
>>
>> What about writing a little test app for the user to install and run.
>> After installing, the test app sends the 'cd ..' and 'dir' commands to 
>> the shell. Grab that output, should tell you the directory it's in.
>> Haven't tried this btw...
>>
>> Cheers,
>>
>> Luis.
> 
> Luis,
> 
> I don't know how to write shell() commands.  I only know Transcript, 
> which supports shell but doesn't tell you how to write them :-)
> 
> I know how to search the list and copy shell commands I find posted, but 
> that's the extent of it.

You don't need shell in this case, I don't think. Just have your program 
get "the address". That will tell you where it is installed. 
Alternately, have it get the filename of the mainstack, which will give 
you the same info.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list