× 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.



to
interpret the command string and call some program, (API), under the
covers seems like a waste of CPU cycles. Our system is lacking there
being the first generation Power5 processor @ 1.5Ghz. I expect this
job
to run for days in the background.

I'm not in a position to test this now (I wish I were - I love this
stuff) but if the API truly emulates Unix, then Qp0lRenameUnlink
*should* do the move for you. I'll try this tonight if you don't get to
it first.

* Rename file (overwrite if exists)
D c_renameforce PR 10I 0 ExtProc('Qp0lRenameUnlink')
D old * Value Options(*String)
D new * Value Options(*String)

Occurs to me that I should be more obvious. Usually I'm about as subtle as
a sledgehammer. An example would be:
rc = c_renameforce('/my/old/dir/file11': '/other/new/dir/file11') ;
if (rc = 0) ;
// good job...
else ;
// look at errno here.
Endif

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"They couldn't hit an elephant at this dist---"
-- last words of Union army commander John Sedwick as he addressed
his troops during a (US) Civil War battle


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.