Is'nt this the same as selecting File/Properties in explorer and
removing the checkmark from system attribute checkbox?
>>How to make temporary file folder back to non-system folder on NT server ?
>
>Assuming Trey is right, here's some VFP code which uses the Windows Scripting Host (from an article by George Tasker) that you could run to change the System flag on the C:\TEMP folder. I'm not sure of the ramifications of changing the System flag on the C:\TEMP folder, so use the following at your own risk:
>
>Scott
>
>
>#DEFINE READONLY 1
>#DEFINE HIDDEN 2
>#DEFINE SYSTEM 4
>#DEFINE DIRECTORY 16
>
>oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>oFolder = oFSO.GetFolder("C:\TEMP")
>*** Toggle SYSTEM Flag ***
>oFolder.Attributes = BITXOR(oFolder.Attributes, SYSTEM)
>
Andrus