Short Names/Dos Names/8.3
revolution at duncansoftware.com
Fri Feb 13 10:11:20 CST 2004
That got it.
get shell("attrib -r" && quote & "C:\Program Files\Science Suite\*.*" & quote && "/S /D") works as hoped for.
That takes care of WinXP, now on to all of those other nasty Windows versions.
Thanks for your help.
----- Original Message -----
From: xbury.cs at clearstream.com
To: revolution at duncansoftware.com ; How to use Revolution
Sent: Friday, February 13, 2004 10:53 AM
Subject: Re: Short Names/Dos Names/8.3
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
>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?
>use-revolution mailing list
>use-revolution at lists.runrev.com
Visit us at http://www.clearstream.com
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