Cleaning up stuff -

Richard Kreiss rkreiss at verizon.net
Wed Oct 28 06:42:25 PDT 2009



> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
[mailto:filepro-
> list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Nancy
> Palmquist
> Sent: Tuesday, October 27, 2009 6:06 PM
> To: filePro List
> Subject: Cleaning up stuff -
> 
> I have a process on a WINDOWS system, using filePro 5.0 that creates a
> folder, writes many pcl documents in the folder, translates all the
> documents to .tif (that is written to another folder).
> 
> Once the files are translated, I want to clear the files in the folder,
> which I can do.  But I am unable to remove the empty folder at the end.
> 
> P:\PCL\20091027  would be the folder name sample.  My tiff translator
> does not like more than 64 files per folder, so I just continue and make
> folders with A-Z appended to the name.
> 
> I can clean out the files but
> system "rmdir P:\PCL\20091027" will not work.
> 
> Anyone got a solution to this one?
> 
> Nancy
> 
> --
> Nancy Palmquist 		MOS & filePro Training Available
> Virtual Software Systems	Web Based Training and Consulting
> PHONE: (412) 835-9417		   Web site:  http://www.vss3.com

Nancy,

Try moving the command to a batch file and use system to execute the batch
file.

Might I also suggest a short sleep before executing the batch file.


Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  






More information about the Filepro-list mailing list