Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create XP compressed folder in VFP
Message
De
24/02/2004 17:50:27
 
 
À
24/02/2004 17:46:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00880426
Message ID:
00880526
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform