Is there a way to Delete files from within the JSL scripting? Looking for a DELETE command or something like that.
myfiles = Files In Directory("pathname") => provides a list of all files in the pathname, and I would like to delete one or more of those files in the list.
Anybody know how to do this? Thanks,
- Mark -
Go to Solution
If you're using an earlier release than jmp10 (for windows), you can in your script create a .bat file and also call this .bat to delete files.
/* Create a .bat file command with delete instruction */
Save Text File("C:\deletemyfile.bat","del C:\myfolder\myfile.txt");
/* Execute the .bat file in order to delete the file */
View solution in original post
from the JMP 10.01 /Help, Scripting Index, Utility functions:
Thank you, gbu. Since I'm running JMP v9, that's exactly what I did. It's working GREAT.
There are no labels assigned to this post.