Maybe I should post this to the regular newsgroup, but the problem
surfaced while porting some code doing beta testing. How do I delete a directory? File class provides the facilities for deleting files, but the WinAPI RemoveDirectory call doesn't seem to be there. Since all other dialects I can think of have this functionality, wouldn't it be nice to have it too? Cheers -- Joseph Pelrine [ | ] MetaProg GmbH Email: [hidden email] Web: http://www.metaprog.com "Inheritance was invented at 2 AM between January 5th and 6th, 1967" - Krysten Nygaard |
Joseph,
> How do I delete a directory? I'm not sure if that was a rhetorical question, but if not then there is a thread in the archive starting 8/1/2002 that gives two methods - extending File and using the Windows scripting control. Regards Ian |
It definitely wasn't rhetorical. I've had to stop my work until I get an
answer. I even tried implementing the call on KernelLibrary, and surfacing it in File, but kept getting errors indicating that the directory couldn't be deleted because somebody in Dolphin still had a handle on it. I just looked at the thread, and I think I'll try using the script control, because there are some bulk operations I need to do. Thanks for the pointer, Ian. Cheers Joseph Ian Bartholomew wrote: > Joseph, > > > How do I delete a directory? > > I'm not sure if that was a rhetorical question, but if not then there is a > thread in the archive starting 8/1/2002 that gives two methods - extending > File and using the Windows scripting control. > > Regards > Ian -- Joseph Pelrine [ | ] MetaProg GmbH Email: [hidden email] Web: http://www.metaprog.com "Inheritance was invented at 2 AM between January 5th and 6th, 1967" - Krysten Nygaard |
Joseph,
> the thread, and I think I'll try using the script control, because there are > some bulk operations I need to do. In case it helps I've attached the *very rough* package I use in my image. I tend to add methods as needed so #deleteFolder:force: is not implemented but it is easy enough to add it. You need to be a bit careful if you deploy using this package as funny things happen if you don't take care to make sure that major parts of it are not stripped. The initialisation also need to be duplicated in the deployed app. Ian begin 666 FileSystem.pac M(D5V86QU871E(@T*?"!P86-K86=E('P-"G!A8VMA9V4@.CT@4&%C:V%G92!N M86UE.B G1FEL95-Y<W1E;2<N#0IP86-K86=E('!A>%9E<G-I;VXZ(# [#0H) M8F%S:6-#;VUM96YT.B G06-T:79E6"!&:6QE4WES=&5M(&EN=&5R9F%C90T* M5F5R<VEO;B U82 M($9E8G)U87)Y(#(P,#(-"D9O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&YA;65S(@T*<&%C:V%G92!S M9710<F5R97%U:7-I=&5S.B H261E;G1I='E3970@;F5W#0H)861D.B G1&]L M<&AI;B<[#0H)>6]U<G-E;&8I+@T*#0IP86-K86=E(0T*#0HB0VQA<W,@1&5F M:6YI=&EO;G,B(0T*#0I/8FIE8W0@<W5B8VQA<W,Z("-&:6QE4WES=&5M#0H) M:6YS=&%N8V5687)I86)L94YA;65S.B G:49I;&53>7-T96TG#0H)8VQA<W-6 M87)I86)L94YA;65S.B G1&5F875L="<-"@EP;V]L1&EC=&EO;F%R:65S.B G M)PT*"6-L87-S26YS=&%N8V5687)I86)L94YA;65S.B G)R$-"@T*(D=L;V)A M;"!!;&EA<V5S(B$-"@T*#0HB3&]O<V4@365T:&]D<R(A#0H-"B)%;F0@;V8@ M<&%C:V%G92!D969I;FET:6]N(B$-"@T*(E-O=7)C92!';&]B86QS(B$-"@T* M(D-L87-S97,B(0T*#0I&:6QE4WES=&5M(&=U:60Z("A'54E$(&9R;VU3=')I M;F<Z("=[-C(Q,$-#0T0M1#8P-RTT1D5%+4)!,C@M.# U.3,R,4(T03@Y?2<I M(0T*1FEL95-Y<W1E;2!C;VUM96YT.B G)R$-"B%&:6QE4WES=&5M(&-A=&5G M;W)I97-&;W)#;&%S<R%)1$(@1V]O9&EE<R$@(0T*(49I;&53>7-T96T@;65T M:&]D<T9O<B$-"@T*8G5I;&10871H.B!P871H(&YA;64Z(&YA;64-"@E>:49I M;&53>7-T96T@8G5I;&10871H.B!P871H(&YA;64Z(&YA;64A#0H-"F-O<'E& M:6QE.B!S;W5R8V4@9&5S=&EN871I;VXZ(&1E<W1I;F%T:6]N(&]V97)7<FET M949I;&5S.B!O=F5R5W)I=&5&:6QE<PT*"5YI1FEL95-Y<W1E;2!C;W!Y1FEL M93H@<V]U<F-E(&1E<W1I;F%T:6]N.B!D97-T:6YA=&EO;B!O=F5R5W)I=&5& M:6QE<SH@;W9E<E=R:71E1FEL97,A#0H-"F-R96%T949O;&1E<CH@85-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:65S1F]R.B C:6YI=&EA M;&EZ92%P=6)L:6,A("$-"@T*(49I;&53>7-T96T@8VQA<W,@;65T:&]D<T9O M<B$-"@T*9&5F875L= T*#0H)1&5F875L="!I<TYI;"!I9E1R=64Z(%M$969A M=6QT(#H]('-U<&5R(&YE=R!I;FET:6%L:7IE72X-"@E>1&5F875L="$-"@T* M;VY3=&%R='5P#0H)(B @4V5S<VEO;DUA;F%G97(@8W5R<F5N="!W:&5N.B C M<V5S<VEO;E-T87)T960@<V5N9#H@(V]N4W1A<G1U<"!T;SH@1FEL95-Y<W1E M;2 @(@T*#0H)1&5F875L=" Z/2!N:6PA("$-"B%&:6QE4WES=&5M(&-L87-S M(&-A=&5G;W)I97-&;W(Z("-D969A=6QT(7!U8FQI8R$@(0T*(49I;&53>7-T M96T@8VQA<W,@8V%T96=O<FEE<T9O<CH@(V]N4W1A<G1U<"%P=6)L:6,A("$- H"@T*(D)I;F%R>2!';&]B86QS(B$-"@T*(E)E<V]U<F-E<R(A#0H-"@`` ` end |
In reply to this post by Joseph Pelrine-3
Joseph,
> the thread, and I think I'll try using the script control, because there are > some bulk operations I need to do. In case it helps I've attached the *very rough* package I use in my image. I tend to add methods as needed so #deleteFolder:force: is not implemented but it is easy enough to add it. You need to be a bit careful if you deploy using this package as funny things happen if you don't take care to make sure that major parts of it are not stripped. The initialisation also need to be duplicated in the deployed app. Ian begin 666 FileSystem.pac M(D5V86QU871E(@T*?"!P86-K86=E('P-"G!A8VMA9V4@.CT@4&%C:V%G92!N M86UE.B G1FEL95-Y<W1E;2<N#0IP86-K86=E('!A>%9E<G-I;VXZ(# [#0H) M8F%S:6-#;VUM96YT.B G06-T:79E6"!&:6QE4WES=&5M(&EN=&5R9F%C90T* M5F5R<VEO;B U82 M($9E8G)U87)Y(#(P,#(-"D9O<B!697)S:6]N(#(@;V8@ M1&]L<&AI;B!3;6%L;'1A;&L-"@T**$,I(#(P,#$@+2 R,# R($EA;B!"87)T M:&]L;VUE=PT*:6%N0&EA;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*#0IP86-K86=E(0T*#0HB0VQA<W,@1&5F M:6YI=&EO;G,B(0T*#0I/8FIE8W0@<W5B8VQA<W,Z("-&:6QE4WES=&5M#0H) M:6YS=&%N8V5687)I86)L94YA;65S.B G:49I;&53>7-T96TG#0H)8VQA<W-6 M87)I86)L94YA;65S.B G1&5F875L="<-"@EP;V]L1&EC=&EO;F%R:65S.B G M)PT*"6-L87-S26YS=&%N8V5687)I86)L94YA;65S.B G)R$-"@T*(D=L;V)A M;"!!;&EA<V5S(B$-"@T*#0HB3&]O<V4@365T:&]D<R(A#0H-"B)%;F0@;V8@ M<&%C:V%G92!D969I;FET:6]N(B$-"@T*(E-O=7)C92!';&]B86QS(B$-"@T* M(D-L87-S97,B(0T*#0I&:6QE4WES=&5M(&=U:60Z("A'54E$(&9R;VU3=')I M;F<Z("=[-C(Q,$-#0T0M1#8P-RTT1D5%+4)!,C@M.# U.3,R,4(T03@Y?2<I M(0T*1FEL95-Y<W1E;2!C;VUM96YT.B G)R$-"B%&:6QE4WES=&5M(&-A=&5G M;W)I97-&;W)#;&%S<R%)1$(@1V]O9&EE<R$@(0T*(49I;&53>7-T96T@;65T M:&]D<T9O<B$-"@T*8G5I;&10871H.B!P871H(&YA;64Z(&YA;64-"@E>:49I M;&53>7-T96T@8G5I;&10871H.B!P871H(&YA;64Z(&YA;64A#0H-"F-O<'E& M:6QE.B!S;W5R8V4@9&5S=&EN871I;VXZ(&1E<W1I;F%T:6]N(&]V97)7<FET M949I;&5S.B!O=F5R5W)I=&5&:6QE<PT*"5YI1FEL95-Y<W1E;2!C;W!Y1FEL M93H@<V]U<F-E(&1E<W1I;F%T:6]N.B!D97-T:6YA=&EO;B!O=F5R5W)I=&5& M:6QE<SH@;W9E<E=R:71E1FEL97,A#0H-"F-R96%T949O;&1E<CH@85-T<FEN M9PT*"6E&:6QE4WES=&5M(&-R96%T949O;&1E<CH@85-T<FEN9PT*"2$-"@T* M9FEL945X:7-T<SH@85-T<FEN9PT*"5YI1FEL95-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5F875L="!I<TYI;"!I9E1R=64Z(%M$969A M=6QT(#H]('-U<&5R(&YE=R!I;FET:6%L:7IE72X-"@E>1&5F875L="$-"@T* M;VY3=&%R='5P#0H)(B @4V5S<VEO;DUA;F%G97(@8W5R<F5N="!W:&5N.B C M<V5S<VEO;E-T87)T960@<V5N9#H@(V]N4W1A<G1U<"!T;SH@1FEL95-Y<W1E M;2 @(@T*#0H)1&5F875L=" Z/2!N:6PA("$-"B%&:6QE4WES=&5M(&-L87-S M(&-A=&5G;W)I97-&;W(Z("-D969A=6QT(7!U8FQI8R$@(0T*(49I;&53>7-T M96T@8VQA<W,@8V%T96=O<FEE<T9O<CH@(V]N4W1A<G1U<"%P=6)L:6,A("$- H"@T*(D)I;F%R>2!';&]B86QS(B$-"@T*(E)E<V]U<F-E<R(A#0H-"@`` ` end |
In reply to this post by Joseph Pelrine-3
"Joseph Pelrine" <[hidden email]> wrote in message
news:[hidden email]... > Maybe I should post this to the regular newsgroup, but the problem > surfaced while porting some code doing beta testing. > > How do I delete a directory? File class provides the facilities for > deleting files, but the WinAPI RemoveDirectory call doesn't seem to be > there. Since all other dialects I can think of have this functionality, > wouldn't it be nice to have it too? #667 will add File class>>removeDirectory: Thanks Blair |
Free forum by Nabble | Edit this page |