Jump to content

Command line switch to delete files


Recommended Posts

 Hey All,

I need command line switch to delete files, or not,

For example I would like to run a job like this:

java -Xms25......... --contect=windows --deletetmpfiles=true

When deletetmpfiles is set to true I want to delete theses file, if set to false I want to keep them.

See my image, I do have a component ok attached to the FileDelete_4?

My idea is to read the switch using using some java and put that into a context,

but I am not 100% sure how I can read that context and execute tFileDelete_4 or not..

Anybody got a good plan of attac for this?




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...