Link to home
Start Free TrialLog in
Avatar of ksconn2
ksconn2

asked on

Rename and move a file

I have an application that about 50 people are executing on their PC.   When the user saves in thier application, I need to update information in another application supported by a 3rd party.     To do this, they (the 3rd party) want me to write a file to a common drive on our server so they can pick it up and update their information.    My application doesn't provide a way for me to make the file name unique, so I need some type of executable I can run to move it from the user's harddrive to the server.    does that make sense?  
ASKER CERTIFIED SOLUTION
Avatar of VBRocks
VBRocks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here's VB6:

        Dim fso As Object
        Set fso = CreateObject("Scripting.FileSystemObject")
        fso.MoveFile "sourceFile", "destinationFile"