cancel
Showing results for 
Search instead for 
Did you mean: 

Comm Channel Command Line... Deleting files

Former Member
0 Kudos

Using "Run Operating System Command After Message Processing" command line I can delete a specific file (ex. rm test.txt) but I cannot delete multiple files using a wildcard (ex. rm *.txt).

Any suggestions?

Accepted Solutions (1)

Accepted Solutions (1)

former_member206604
Active Contributor
0 Kudos

Hi,

Try putting it in a batch file and call the batch file from CC.

Thanks,

Prakash

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

can you use similar approach to this one:

/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching

to log the error ?

Regards,

michal

former_member206604
Active Contributor
0 Kudos

Hi Michal,

I think you are asking me..

Yes Michal you can very well use the simillar approach to log errors as mentioned in your blog.

BTW I never spotted this particular blog before thanks for sending the link

Thanks,

Prakash

Former Member
0 Kudos

The log file was a good idea, but I couldn't get it to create. I'm not a unix expert, but i think I got the syntax correct. No file created.

rm temp.rdy >zerror.log

I'm trying to avoid calling a script in unix.

Any other suggestions?

Thanks.