× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The Rename Object (REN) command supports wildcards, provided that only one match exists. You'll need some way to trigger the command.

HTH

-----Original Message-----
From: Danner, Duane [mailto:ddanner@xxxxxxxxxxxx]
Sent: Friday, February 07, 2020 4:45 PM
To: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
Subject: renaming file on IFS

I retrieve a file of cleared checks from the bank and put it in a folder on the IFS. Then I have to go in and rename the file manually. This is the name that is retrieved.
%BMOCOM-SEND%ADW35311-DCS-REC-A%SFTP%ACCEPTED%58gcnn00e007rnsn002uhb7h
17KB
2020-02-06 08:13:46.09
2020-02-06 08:13:45.96
I rename it CLRBMO.TXT

Is there a way to have a cl check the folder and if there is a file that starts with %BMOCOM then rename it to CLRBMO.TXT

Thanks

Duane Danner
Avery Weigh-tronix


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.