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