Hmmm...I didn't realize that would work for this....figured it was just for the files in the directory where they existed, but sure enough, from the VFP help text:  "If FileName1 and FileName2 are in different directories or folders, FileName1 is moved into the directory or folder of FileName2."

Thanks!
--Mike


On 3/25/2020 3:51 PM, Vince Teachout wrote:
The vfp RENAME command:

    RENAME (currentpath\file)   TO (newpath\file)



On 03/25/20 3:44 PM, MB Software Solutions, LLC wrote:
VFP9SP2 on Win10 Pro clients

We've got a document management system (DMS) we wrote for a client and we need to "archive" some files by moving them to a subfolder from the main one.  The first idea is to use VFP's COPY FILE command and then just delete it once done.  I wanted to ask if anyone had a better idea.



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to