Hi all,
The reason the below worked is the Archive command can only move a file to a 
specified sub directory of the directory where the file currently exists, if 
the subdirectory doesn't exist it will create it (provided any specified sub 
directories before do exist)

Regards,
Thom

Thom C. Blackwell,  VP Technical Services
Boston Software Systems, Inc.
Phone: 866.653.5105 x807
Mobile: 508.423.8463
Fax: 508.319.3015
www.bostonsoftwaresystems.com<http://www.bostonsoftwaresystems.com/>

Healthcare Automation - Revolutionizing How You Work.

The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.

From: [email protected] [mailto:[email protected]]
Sent: Thursday, January 23, 2014 3:01 PM
To: Talk
Subject: RE:[talkbws] Archive Command

I got it to work by removing the source folder of the data station file:

D.Archive " \Processed"
D.Close_

Thanks,
Orlando Maldonado
Systems Financial Analyst
Central Accounting Office
Methodist Healthcare System
Tel: 210.575.0293
Fax: 210.510.6444
Mail: [email protected]<mailto:[email protected]>

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Thursday, January 23, 2014 1:12 PM
To: [email protected]<mailto:[email protected]>
Subject: RE:[talkbws] Archive Command

I would imagine you would need to close the file before moving it.

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Thursday, January 23, 2014 1:51 PM
To: [email protected]<mailto:[email protected]>
Subject: [talkbws] Archive Command

I am trying to use D.Archive to move data station file to a "Processed" folder 
by using the following rule but it's not working.

D.Archive "C:\je files\Processed"
D.Close_

What is the correct syntax for this approach? Or should I be using FileCopy 
instead?

Thanks,

Orlando Maldonado
Systems Financial Analyst
Central Accounting Office
Methodist Healthcare System
Tel: 210.575.0293
Fax: 210.510.6444
Mail: [email protected]<mailto:[email protected]>






---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in the 
customer center on our website: 
http://www.bostonsoftwaresystems.com/Customers/ListServe.aspx



---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    
Unsubscribe in the customer center on our website: 
http://www.bostonsoftwaresystems.com/Customers/ListServe.aspx



---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in 
the customer center on our website: 
http://www.bostonsoftwaresystems.com/Customers/ListServe.aspx

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonsoftwaresystems.com/Customers/ListServe.aspx

Reply via email to