You can create a batch file, such as nmfe74_cleanup.bat (or whatever name you wish), with contents such as
call nmfe74.bat %*
which will run the original nonmem script (and all arguments are passed with %*), and when done, go on to delete whichever files you wish.
Robert J. Bauer, Ph.D.
ICON Early Phase
820 W. Diamond Avenue
Gaithersburg, MD 20878
Office: (215) 616-6428
Mobile: (925) 286-0769
From: owner-nmusers_at_globomaxnm.com [mailto:owner-nmusers_at_globomaxnm.com] On Behalf Of Bill Denney
Sent: Friday, June 08, 2018 1:49 PM
To: Mark Tepeck
Subject: RE: [NMusers] Cleaning Up After NONMEM
To totally avoid them, not that I know of (others may know an option that can help there). With PsN, you can use -clean=4, and I think it will remove everything. If you have a run with a problem, you may end up with no information to troubleshoot it, though.
From: Mark Tepeck <mark.tepeck_at_gmail.com<mailto:mark.tepeck_at_gmail.com>>
Sent: Friday, June 8, 2018 4:36 PM
To: Bill Denney <wdenney_at_humanpredictions.com<mailto:wdenney_at_humanpredictions.com>>
Subject: Re: [NMusers] Cleaning Up After NONMEM
Thank you for the tip. Is there anyway to avoid those sub-directories? For example, let NONMEM clean it up automatically? let NONMEM run those temporary files in another cache space invisible to end-users. Those sub-directories increasingly eats a lot of my disk space.
On Fri, Jun 8, 2018 at 3:56 PM, Bill Denney <wdenney_at_humanpredictions.com<mailto:wdenney_at_humanpredictions.com>> wrote:
The simplest answer that I know of is to use PsN (https://uupharmacometrics.github.io/PsN/
>). It runs NONMEM in a subdirectory and will only bring the most useful files back into the main directory.
From: owner-nmusers_at_globomaxnm.com<mailto:owner-nmusers_at_globomaxnm.com> <owner-nmusers_at_globomaxnm.com<mailto:owner-nmusers_at_globomaxnm.com>> On Behalf Of Mark Tepeck
Sent: Friday, June 8, 2018 3:43 PM
Subject: Re: [NMusers] FW: testing nmusers number 12001. Please ignore
Is there any native way for NONMEM to opt out of generating running file/folders. Right now, I use some tools to post clean the NONMEM run directory. However, it will be fantastic to have such a NONMEM built-in option to run "cleanly". Those temporary files and folders create heavy burdens on storing and sharing the results.
<br /><br />
ICON plc made the following annotations.
This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you
are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If
you have received this e-mail transmission in error, please reply to the sender, so that ICON plc can arrange for proper delivery, and then please delete the message.
South County Business Park
Registered number: 145835
Received on Fri Jun 08 2018 - 17:13:27 EDT