Page 1 of 1

What is the correct process to delete &PH& files

Posted: Mon Sep 24, 2007 10:02 am
by poorna_76
What is the correct process to delete &PH& files from a project.

Windows delete command or delete.file &PH&

Posted: Mon Sep 24, 2007 10:32 am
by chulett
:shock: No, you mean CLEAR.FILE rather than delete.

Clearing the directory is fine as long as you know no jobs are running at the time. None. Otherwise delete from the O/S any files that are over a certain amount of time old, say a day or two. Do that daily.

Posted: Mon Sep 24, 2007 10:49 am
by poorna_76
You are correct, I intended to say CLEAR.FILE.
I will do a batch job from Windows to delete.

Thnak you for your quick response.

Posted: Mon Sep 24, 2007 1:55 pm
by ray.wurlod
CLEAR.FILE can not readily be executed from a BAT file or from an operating system shell. It must be executed from an operating system shell. However, what you can do from a BAT file is delete the files from within the &PH& directory. Be very careful with the ampersands.