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
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
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\
To: <[EMAIL PROTECTED]>; "How to use Revolution"
<[EMAIL PROTECTED]>
Sent: Friday, February 13, 2004 10:44 AM
Subject: Re: Short Names/Dos Names/8.3
> Hi Stu,
>
> > get shell("attrib -r C:\Program Files\Science Suite\*.* /S /D") doesn't
>
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED] ; How to use Revolution
Sent: Friday, February 13, 2004 10:53 AM
Subject: Re: Short Names/Dos Names/8.3
Stu,
get shell("attrib -r" && quote & "C:\Program Files\Science Suite\
Hi Stu,
Thanks Klaus but that didn't work.
get shell("attrib -r" && "C:\Program Files\Science Suite\*.*" && "/S
/D")
fails but when I shorten it to
get shell("attrib -r" && "C:\Progra~1\Scienc~1\*.*" && "/S /D")
it works.
I could take a chance and just change the long file names in rev but
>> 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: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revol
ROTECTED] 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?
>
>