The title says it all, for the reference this discussion on LAVA that explains how to do it using .NET :http://lavag.org/topic/9216-deletion-of-folders-and-files/
Please give us a native way to do that in LabVIEW.
We have two ears and one mouth so that we can listen twice as much as we speak.
I like the idea but I'm just pointing out that since it is a primative there would probably need to be a way to do it on OS X and Linux as well as Windows. The Windows implementation seems to be already done but it would be up to the developer of the feature to figure out the best way for the other OSes. Any ideas on ways to do this on OS X or Linux anyone?
Well that's one of the big issues with the solution posted above : it is Windows only ; and I expect NI to not only add this option but also to make it multiplatform.
Along with this, I still want the ability to delete absolutely even if the OS has a recycling bin. Temp files created during a run should be able to be deleted directly, not sitting in a recycling bin waiting for restoration.
It is necessary to be able to do both.
What about an entirely new prim called recycle? That way you don't have to touch the existing delete and regression test it.
That would be just fine for me.. since I'm not the one in charge to deal with compatibility issue when down/up-converting from a Lv version to another :p.
Oh yes, down and up converting. I had not considered that and see how it could be difficult with a new prim.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.