Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create XP compressed folder in VFP
Message
From
24/02/2004 17:59:21
 
 
To
24/02/2004 17:57:37
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00880426
Message ID:
00880529
Views:
27
Yes, that is an NTFS compressed folder. No problem there. It's the zipped "folders" that it can't copy to.


>well...
>i did the following successfully from the vfp6 command window
>copy file c:\test.txt to c:\windows\$NtServicePackUninstall$\test.txt
>
>"$NtServicePackUninstall$" is 1 of those compressed folders i was talking about.
>
>
>>These are 2 very different animals. Try opening a folder (or on your desktop) right-clicking and choosing New and then at the bottom you should see "Compressed (zipped) folder". The problem seems to be that only the GUI knows its not really a folder, but just a special file type and deals with it accordingly. The COPY commands, etc., don't know what to do with it.
>>
>>
>>>but i don't think that the "XP compressed folder" you refer to is a zipped folder. maybe i am missunderstanding you, but on my xp box in the windows folder there are a bunch of compressed folders, which are not zipped. because of the way i have setup my explorer they apear in blue. when i go to propperties on those folders, in the advanced attribute section, there are options for compress and encryped.
>>>
>>>again, maybe i am missunderstanding you.
>>>
>>>
>>>
>>>>Hi Gunnar,
>>>>
>>>>I looked at that, but that applies to a different compression than a zipped folder. That's NTFS file compression, not zip compression
>>>>
>>>>Thanks anyways.
>>>>
>>>>>hello Fred
>>>>>
>>>>>look in the msdn help at:
>>>>>
>>>>>DeviceIoControl (kernel32.dll)
>>>>>- FSCTL_SET_COMPRESSION
>>>>>
>>>>>and
>>>>>
>>>>>"Compact: Compresses and Uncompresses NTFS Files and Folders"
>>>>>
>>>>>(i have vfp 6, so i don't know if those helps are the same in vfp8)
>>>>>
>>>>>hope that helps.
>>>>>
>>>>>
>>>>>
>>>>>>Can anybody tell me how you would create an XP compressed folder from within VFP?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform