Short Names/Dos Names/8.3

xbury.cs at clearstream.com xbury.cs at clearstream.com
Fri Feb 13 10:53:12 EST 2004


Stu,

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

should work. A space or ampersand char* in the path requires the path to 
be in quotes...


On 13/02/2004 04:31:15 PM use-revolution-bounces wrote:
>get shell("attrib -r C:\Program Files\Science Suite\*.* /S /D") doesn't
>work.
>get shell("attrib -r C:\Progra~1\Scienc~1\*.* /S /D") does work
>
>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?
>
>Stu
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution

Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER


More information about the use-livecode mailing list