Short Names/Dos Names/8.3

MisterX b.xavier at internet.lu
Fri Feb 13 13:40:51 EST 2004


do you mean the %path% environment variable
where all the executable's are located?

get shell("path")

which is the same as 

get $path

--

And for the faq of it...

answer shell("help")

or

repeat for each line x of shell("help")
  get it & cr & cr & shell("help" && word 1 of x)
end repeat

answer it

;) untested naturally

and if you like 8.3 names, 

  put shell("dir /X")

--
http://monsieurx.com
New dreambox story waiting 4 ya!


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Scott Rossi
> Sent: Friday, February 13, 2004 18:19
> To: How to use Revolution
> Subject: Re: Short Names/Dos Names/8.3
> 
> 
> >> How do I get the short names for Windows paths from within Rev?
> 
> Is the shortFilePath function usable?
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Development & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list