RSRC LVINLBVW$ $l% * *  0)  t* d) < ) ,( P`* 8) neDelete Folder.vi* \* Br@# a ُ B~}ϘxA l` LVINDelete Folder.vi h   6@P @!status @code@0source Error Out@2dupFolder to Delete@@P @!status @code@0sourceError In (no error)B@@@2Path(Protected Folders (C:\WinNT; C:\Windows)@2Folder to Delete ("") @ @P`$P"@P@flg@oRt@eofudfBP@@2Path(Protected Folders (C:\WinNT; C:\Windows)p@2dfdP@2exdP@2txdP@2old> P@@@@2PathtP"@P@flg@oRt@eofudfP2dupFolder to Delete p2dfd P2exd P2txd P2oldP"@P@flg@oRt@eofudf6PP @!status @code@0source Error OutpP!0dfdPP!0exdPP!0txdPP!0old` PvP"@P@flg@oRt@eofudfP2Folder to Delete ("") p2dfd P2exd P2txd P2oldP"@P@flg@oRt@eofudf@PP @!status @code@0sourceError In (no error)pP!0dfdPP!0exdPP!0txdPP!0old` PV P$@P@0P @@2 appended pathF P@@@@2 appended path @@2 appended pathF P@@@@2 appended pathV P$@P@0P`0message !``y`D@@P @!status @code@0sourceError In (no error)"@2Folder to Delete ("") @!true`@0button name ("OK")06@P @!status @code@0sourceerror IO`0 !!6@P @!status @code@0sourceerror in`2`6@P @!status @code@0sourceerror in` @@2 appended path(@@2Folder to Delete ("")!` @@2 appended path`8@2 appended path0`@2Folder to Delete ("")`6@P @!status @code@0sourceerror in`@@0 file names @@2 appended path@2 appended path`0`"@@0directory names@0pattern!!@! directory` @!status@!!` @2Path`FB@@@2Path(Protected Folders (C:\WinNT; C:\Windows)6@P @!status @code@0sourceerror in`@last mod @size0`````````````````````````````` `  `% ` ` `% ` ` `% ` ` `% ` ` `% ` ` ```1PTH0 CWinNTPTH0CWindowsPTH0PTH0PTH0PTH0PTH0#Unable to delete specified path %s.d:\automated\lv51\lvsource\gencode.cGenRangeCheckd:\automated\lv51\lvsource\gencode.cGenCopyProcs1d:\automated\lv51\lvsource\gencode.cGenCopyProcs2$d:\automated\lv51\lvsource\gencode.cGenCopyProcs3nd:\automated\lv51\lvsource\gencode.cGenDefaultProc bt T`l$0< VIDSDelete Folder.vi%5.1Oldest compatible LabVIEW. *d *X *T *Pp PPP@@P @!status @code@0sourceError In (no error)@2Folder to Delete ("")6@P @!status @code@0source Error Out@2dupFolder to DeleteB@@@2Path(Protected Folders (C:\WinNT; C:\Windows) This VI recursively deletes all files and sub-folders in the specified folder, including the specified folder. Be very careful in specifying the Path to Delete! The folder will not be deleted if it is not a valid folder, if an error is passed into this VI, if the specified folder is a protected folder (such as Windows or WinNT), or if the specified folder is less than four characters (preventing a root folder from being deleted). 2001 Bloomy Controls, Inc. All Rights Reserved.Array of File Paths Default: C:\WinNT; C:\Windows Enter directory paths to protect from deletion. Nothing will be deleted if any of the protected directories match the specified directory to delete.TPFile Path Indicator This is the duplicate of the specified directory to delete.The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.File Path Control Default: Empty Path Specify a valid directory to delete. Use caution in specifying the directory to delete as the entire hierarchy of the specified directory will be deleted. The directory will not be deleted if it is not a valid directory, if an error is passed into this VI, if the specified directory is a protected directory (such as Windows or WinNT), or if the specified directory is less than four characters (preventing a root directory from being deleted).The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. t:ID*Id:ID*Iw+i ?$HHH(@@ ,DTHPD* 88 $ +~t@2pathF6@P @!status @code@0sourceerror in@! directory"@2dup path @size@last modF6@P @!status @code@0source error out!L@@P @!status @code@0sourceError In (no error).@2Folder to Delete ("")4(@@2Folder to Delete ("").@@0 file names0"@2 base path(@2dup directory path&@2 appended path2"@@0directory names@0pattern$@2directory path, @@2 appended path @!status8,P @!status @code@0sourceF6@P @!status @code@0source Error Out(@2dupFolder to Delete @code@0source"@22@2Path@yRB@@@2Path(Protected Folders (C:\WinNT; C:\Windows)@! @!true(@0button name ("OK")@0messageF6@P @!status @code@0sourceerror IO<Xx\DXh\\T\T\D\h\\XD(\D\88TTTDh\\8h(h00\\( D$<<RFor instructions on the use of this VI, select Show VI Info from the Windows menu.pM},pN},(Protected Folders (C:\WinNT; C:\Windows)M6I7I0PsPgsQgPathTZ[C:\WinNT_D;hH;iH dupFolder to DeleteMLrYZLsYZUDij Error OutRDm(n(sourceM-sS-t:PD$codeM0RD$mnstatusH$( v}w}yD;-H;.HFolder to Delete ("")ML7YL8YwD./Error In (no error)RD2(S3(SsourceM-8S-9:PD$nocodeM`a0RD$2Q3QstatusH$p* ;B<BHDCheck that there are no errors and that the specified folder is valid and the path size is greater than three characters to prevent deleting whole drives (as a safety measure) and that C:\Windows folder wasn't specified because it shouldn't be deleted ^DWX> Path to Delete >mD89!Valid path and no error passed inDghXXXDelete all now empty sub- folders to the specified folder including the specified folderDKKKDelete files in all sub-folders, including the root of the specified folderNDfmgm MD?R@R0YDYZ appended pathMDbiciNDfmgm MD?R@R0YDYZ appended pathMDbiciD444Comment out dialog because this app runs unattended.SDstmessageMD - -""RE_` True DUULLZInvalid path or error passed in or a drive was specified or protected folder was specified^DVW> Path to Delete >]D{[{\> Error Cluster >SEysyt False HDl( z;z;HD( ;;HD4( { N{!NHD)  !MD$$yMD'4'44HD) sk;sl; 4 $   LLLLLLff33̙ff33ff33ff ff!ff"ffff#ff33$ff%33&33'33(33ff)3333*33+,-ff.33/012ff3334567̙8ff933:;̙<̙=̙>̙ff?̙33@̙AffBffCffDffffEff33FffG33H33I33J33ffK3333L33MNOPffQ33RSTUVffW33XYZ[̙\ff]33^_`abffc33defffffgffhffffiff33jffk33l33m33n33ffo3333p33qrstffu33vwffxffyffzffff{ff33|ff}ff~ffff̙ffffff33ffffffffffffff33ffffffffffffffffffffffff33ffffff33ff33ff33ff33ffff3333ff33ffffffffffff33ff33333333ff333333333333̙33ff33333333333333ff33333333ff33ff33ff33ffff33ff3333ff3333333333333333ff333333333333333333ff333333ff33̙ff33ff33ffffffffffff33ff33333333ff333333ff33 """"""))))))UUUUUUMMMMMMBBBBBB999999||PPPP񭭩6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666 4 $   LLLLLLff33̙ff33ff33ff ff!ff"ffff#ff33$ff%33&33'33(33ff)3333*33+,-ff.33/012ff3334567̙8ff933:;̙<̙=̙>̙ff?̙33@̙AffBffCffDffffEff33FffG33H33I33J33ffK3333L33MNOPffQ33RSTUVffW33XYZ[̙\ff]33^_`abffc33defffffgffhffffiff33jffk33l33m33n33ffo3333p33qrstffu33vwffxffyffzffff{ff33|ff}ff~ffff̙ffffff33ffffffffffffff33ffffffffffffffffffffffff33ffffff33ff33ff33ff33ffff3333ff33ffffffffffff33ff33333333ff333333333333̙33ff33333333333333ff33333333ff33ff33ff33ffff33ff3333ff3333333333333333ff333333333333333333ff333333ff33̙ff33ff33ffffffffffff33ff33333333ff333333ff33 """"""))))))UUUUUUMMMMMMBBBBBB999999||PPPP񭭩6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666 4 $   LLLLLLff33̙ff33ff33ff ff!ff"ffff#ff33$ff%33&33'33(33ff)3333*33+,-ff.33/012ff3334567̙8ff933:;̙<̙=̙>̙ff?̙33@̙AffBffCffDffffEff33FffG33H33I33J33ffK3333L33MNOPffQ33RSTUVffW33XYZ[̙\ff]33^_`abffc33defffffgffhffffiff33jffk33l33m33n33ffo3333p33qrstffu33vwffxffyffzffff{ff33|ff}ff~ffff̙ffffff33ffffffffffffff33ffffffffffffffffffffffff33ffffff33ff33ff33ff33ffff3333ff33ffffffffffff33ff33333333ff333333333333̙33ff33333333333333ff33333333ff33ff33ff33ffff33ff3333ff3333333333333333ff333333333333333333ff333333ff33̙ff33ff33ffffffffffff33ff33333333ff333333ff33 """"""))))))UUUUUUMMMMMMBBBBBB999999||PPPP񭭩6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666P 4 $   LLLLLLff33̙ff33ff33ff ff!ff"ffff#ff33$ff%33&33'33(33ff)3333*33+,-ff.33/012ff3334567̙8ff933:;̙<̙=̙>̙ff?̙33@̙AffBffCffDffffEff33FffG33H33I33J33ffK3333L33MNOPffQ33RSTUVffW33XYZ[̙\ff]33^_`abffc33defffffgffhffffiff33jffk33l33m33n33ffo3333p33qrstffu33vwffxffyffzffff{ff33|ff}ff~ffff̙ffffff33ffffffffffffff33ffffffffffffffffffffffff33ffffff33ff33ff33ff33ffff3333ff33ffffffffffff33ff33333333ff333333333333̙33ff33333333333333ff33333333ff33ff33ff33ffff33ff3333ff3333333333333333ff333333333333333333ff333333ff33̙ff33ff33ffffffffffff33ff33333333ff333333ff33 """"""))))))UUUUUUMMMMMMBBBBBB999999||PPPP񭭩66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666663 FPHPDelete Folder.viFPHPD* 88~* I* * v_<` XL,X ,( |, |(4  0$|HRo,-D) pD$h@4 F oL~- @P rB4.JA 0p4  r 5J @ 2 @.5ppl@ 2 .5ook0 _ 5J0 W ,L0 s O0 U L'4[Oz,84 Jp rOh 4 2p Y p 2p+  QW QW QW 0 p O0:T|4[:g\]P( 9,|T4 F :gI 4 2 KqZ[@ p 2+  MiWo MiWo MiWo 0  Ig\]0 8t |<< S`g[@  T4 F hD 0 7 lV0  g[  $ X  X $4 QlV $( <,  P (4 F l) 4 2 ,rT p 4+ ,nTp,nTp,nTp0  *lV@P ( >@P, , l 4 F X  4 2 X  @ : X @ppl@ : X ookH 2 X 00/.-#0  X 4Ol X,) ? t 4 G $l < j $u~ L#   $rrrrr0 B b|4[ |:,\" ) =, T4 F  :,I  4 2 K6Z $ p 2 +  M.W4 M.W4 M.W4 0  I,\"0XAl|t<S`(,[DXt(4 Fl -< 0 7l 1V0 l ,[4Ql1V) C,$X4 F 1)TT 4 2 ,7T p 4+ ,3T5,3T5,3T50  *1V@PlP8L( ;@,d L4 F m 4 2 _ @! 2 @PWppl@! 2 PWookH! 2 Y_00/.-#0!  W4!Ol1RT) 7"H4" G1R <# j:C4 h* % 7G7G&7G'7G&7G''7'       (  |' ' BDHPDelete Folder.viBDHPD* 88'~* *X) * &e7vu <X ,'\'\x l8<t4'/pv' '\`44'0\xt' '\\04'0\dt'T' ^z_{xt ,'8X '@xt ' @xu ' @xXr, ' @x\P'P','xx '4'/$pNm'@ ' `4'0uvm'@ ' 4'0vm' ' 04'0dwv{m''0','Tx0 '@|0'$x@' 't0'&x^znf'T '" u4'"`xvz~}z{0','#@\' '" r,4'" xz}{'x8,'#'x8 '" P4'"` x|'0X,'#@P|'0X'  4' 8!' '@04' 42' {'x4' 02' {z{@z''4'/ @8Wr' \ , ' | 4'0 3(r' \ ' sX4'0 (3-r' ' L$4'0 ~(#r' ,4' 8 <(l Tu$PP,(0\ (@ P 0(m Tud (0 (@ `40(m .T\X( (@  0(m H/\d`( (@ |,0(m dlh(\ (@ (0(m ltp(,(|(4(/3( (l$4(0l }+"( (l@@4(0lt|+"( 4(/k25(< (@4(0({{("( (X\r,4(0yo({"u(<4(/'G((X (,4(0DE/@7( ($x,4(0/@7(X4(/Cjc,( X( (@4(0t[c_( (4(0S[W( (\4(0DKSO( (xr,4(0CKG(X ($,4(0CzcS~( (H4(0|Sjcz[r(( (Xr,4(0CjSzKr(D(c<idy$t(T (@tq4(b1idytql(T (@(4(b2itxp((X(,x~\k$,(< (@@8k (@@8Xl<r, (@@8lq (@@8uxq (@@8 mr,,(l<luxm(\,(8k(u<( q\m` 8lp'8(Tj8(:DNJWj$|(\ (@ x|0(; rNZWjRb(\ (@ yH0(; qNJVZRR((4( V 4) 7̤ 4* f̨ 8+: YyTH+( +@|H$0+;xNiyq+( +@yH0+;MYia+ +@|4$0+;@LYia++T+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RR)a,4ll44|{lP4{8y4l)444||h2H4|4a44)T44}H}2H4|q4('44~D}P4}dF F40uX44@~P4~`=4),48&,4H(\44 \ X5,\@mgh5\| 5@@cT 5@@H55X,5 D(55 05P5l 5B dd05.Q]W5l\ 5B H05-(FNJ5|5,5 )5<5X2O\p(5h0 5$j05T2>85 5f`052>85h 5(f052>85 5Pg(05>FB50 5g(05>FB5 5ct05HFNJ55$5$P45/X0P<5L 5h45080P@5 5liD450@PH5L 5(f4500@855805Xh5 5B8j| 5@8j,58:545Q/85T45 J r 46 2 . 07  / 7B8H7(47X\0AH7(88747X2@7JJ747X0?7&E8@&7<7$1P 4^  48 \V 49 \U 4: \zZ ;0;\,;(H0Pp ;Bk ;Bl<r, ;@hn,;J;H4;OhP^;@; 6P^))* ;Blq ;Buxq ;Bmr,;4;\!=;WW;H\4;\2<;JJ;(p|4;\P>;;0P<;$18P 4xr  << l x\ 80<H,<t<0<@(qy=]M4< Bty< 0=@X |r,=]M4= B< 0>@qzl4> B<zO 0?@ r,4? B  @@$sX,@PdV@@@P$%6@,@84@ Jd % 4A  2d &5 HB :d '300/.-#0B 3d %60B@ur=]zM4B Brj< LC`\X$ 4C@! C`X@XC4C<! C\CX4C2LCX M KrKe e"e"u {e,C<84C82Cz{zMC4C4! C7hh@7C\4C0!C``(@(C \4Ct,HC--C 4CpC#"@"C ,4C0HC""C 4CX! C$7~S~7CX4CT2C C<4CP!HCppC4C! CddC04CPC@MMqllCtT4CPCC<LCTCBACL>|HPDdt` xbHf g GregBThe previous version of this VI will not delete a hierarchy that is more than one level deep. Since the For Loop to build the array of paths to go out to the shift register for the next iteration to delete was outside the "List" For Loop, it would only build a list of paths from the last path processed. This has been moved inside the For Loop to buidt an array of the paths to pass to the next iteration. Now it deletes the entire hierarchy(|b}+ + x      TahomaTahomaTahoma00RSRC LVINLBVW$ $len 4RSIDTLVINhBDPW|LIviCPTMDSTMDFDSLIdsversDLDRFPTDCPMp0STRG DICON icl4 icl84DTHPHTRec2\CPSTXDSIMLIfpFPHPLIbdBDHP HBIN HBUF4HISTHFTAB\* * *  * 0* P* * * * * <) T) lD( \h) 0(+  8+ 8D+ P+ h+ x+ L+ "+ ( D8( H\( #LP) ,|( - l* -+ . + .X$+  .,+  /0+  /h4+  /<+ 0@+ 0pH+ 0L+ 1T+ 1p\+ 1l+ 2 + =>x, >>, ??, @?\ , A?, B?, C@P, @X+ $@+ @`+ Id+ &S$+ '\\+ e* e+ |* |, ! , !$, #(, #,, Delete Folder.vi