This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Does anyone know how to delete a .bat file from the Server's staging location using Run Command? Long story short, we have dynamically created a .bat file to identify a user's home directory using Run Command. We are using the temp/staging file location to prevent conflict if two users run the workflow at the same time. The issue is that the dynamically created .bat file appears in the Servers output results, and it is always the first result presented meaning we can't show workflow summary results using a pcxml output first.
The .bat does not appear in the output interface options to deselect.
We were thinking of using a second Run Command with a static .bat file to delete the dynamic .bat in the temp location but have not got this to work. Does anyone know how to reference a file in the temp location or is there another way to suppress the dynamic .bat from appearing in the Server results.
Have you tried using the directory tool pointed at that temp directory (maybe 1 or 2 levels up)? then filter the results to anything that ends with .bat? Not sure if I am correctly understanding your issue but maybe that works!