Short Names/Dos Names/8.3

Klaus Major klaus at major-k.de
Fri Feb 13 10:44:26 EST 2004


Hi Stu,

> get shell("attrib -r C:\Program Files\Science Suite\*.* /S /D") doesn't
> work.

i am not sure but try:

get shell("attrib -r" && "C:\Program Files\Science Suite\*.*" &&  "/S 
/D")

It's the space in the path, that causes problems...

> get shell("attrib -r C:\Progra~1\Scienc~1\*.* /S /D") does work

Yeah, but i could never get used to this... ;-)

> I presume that it is the long file names (with spaces) that are the 
> problem.
> In my program the path is actually a variable. How do I get the short 
> names
> for Windows paths from within Rev?

Sorry, no idea...

> Stu

Hope that helps...


Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list