Anyone know if a wildcard can be used with the Delete File () command? I tried *, ? and % but none appear to work. Just curious if there could be another way (besides using Delete Directory() )? thx... dj
I do not know of wildcards being supported in the Delete File function. I would suspect this is a safety issue ... deleting files by mistake from JMP.
However, you could create your own function that would accept wildcards using JMP's PatMatch function with the PatArb function. Grab the files in your target directory using the files in directory function and then pattern match them, flagging them for use with the Delete File function.
Of course, be careful. I personally do not use such a function in my scripts because of the risk.