By manually running it on the commandline I can open the. I dug around in RegEdit and found the Compressed Folder handler. you rock! Now I've got two techniques to play with. a void in my life that can only be filled by those sweet, sweet tags. Edited Jby SimucalĮDIT 2: OHHHH how I miss the AutoIt tags already!! I've barely had 1week+ and I feel an emptyness. If or not IsObj($oDest ) Then Return SetError(6)ĮDIT 2: OHHHH how I miss the AutoIt tags already!! I've barely had 1week+ and I feel an emptyness. If DirCreate($sDest) 1 Then Return SetError(7) If or not IsObj($oItems) Then Return SetError(5) Local or not IsObj($oFolder) Then Return SetError(4) Local $oFolder = $oShell.NameSpace($sZip) If or not IsObj($oShell) Then Return SetError(3) Local $oShell = ObjCreate('Shell.Application') If not FileExists($sZip) Then Return SetError(2) If not StringLen(Chr(0)) Then Return SetError(1) Why dont you use the WinXP Com object to extract your zip files rather than automate a gui program? they both also say "This method is currently not implemented by WMI." So maybe that's no help at all. Update: A little Googling found a couple of methods in MSDN for a "CIM_LogicalFile" class with "Uncompress" and "UncompressEx" listed, BUT. and that's it.ĭoes anybody know of a good way to determine that the extraction started, and then that it completed, when it goes by so fast?Īs a possible alternative, can the native file extraction that was added to XP/2003 and up be called directly by Run(), COM object, or DLL? The green status light flickers for only a fraction of a second. The "Extracting." window doesn't come up (or flashes to fast to be seen). The problem is when the zip file is very small, there is almost no indication at all that the extraction was completed. I have the source *.zip files and their destination folders in an array, where I read them out and send them to a function that automates WinZip32.exe's GUI. I am scripting the unpacking of a long list of files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |