PaigePeople
asked on
Program that will move and rename files
OK, was wondering if anybody knew of a program that would move file from one folder to another and would rename them during the move.. Is there such a program?? My boss had asked me to look for a program that would do this.. Also, couldn't we just write a bat file and put it on a schedule to run every 35 minutes?? Thats the problem though I think, each 35 mins it runs it will overwrite previous files with a bat program.. Any other ideas on how we could do this?? My boss asked me to get hiom a script or program that would do this, so I will try and appease him.. Anybody have anything like this??
Why don't you have the batch file use the current date and time as part of the name, and that way it won't overwrite the previous version?
What are the 'requirements'
1) Move and rename a file from dir1 to dir2
2) Rename according to the following convention...??
3) handle duplicates how ???
This info will help craft a solution.
TOm
1) Move and rename a file from dir1 to dir2
2) Rename according to the following convention...??
3) handle duplicates how ???
This info will help craft a solution.
TOm
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My boss will be back later this week, I emailed him some questions. When I get some answers, I will post them here and we can try a solution... I will definitley run the vbs file by him as well...
Hi
Are u using vb.net then i have solution for you
Use following
Imports Microsoft.VisualBasic.File System
originalFileName = "C:\test.txt"
descFileName = "C:\experts\Yahoo.txt"
Rename(originalFileName, descFileName)
This will do
Are u using vb.net then i have solution for you
Use following
Imports Microsoft.VisualBasic.File
originalFileName = "C:\test.txt"
descFileName = "C:\experts\Yahoo.txt"
Rename(originalFileName, descFileName)
This will do
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK, he wants to move the files from one folder (lets call it folder A) to another (folder B)... He will have no control over the names of the files coming into Folder A.. Once these files are moved into Folder B.. He needs to send them using EDI.. Is there a way to make a bat file or anything like that to move these files from folder A to folder B and then send them using EDI??
ASKER
Eeek... This process is going to be a lot more difficult... I will post when i get more info... disregard my last post... THere are like 4 more steps i was missing...
Try File Renamer 2000 Ultra at www.filerenamer.com, that may do the trick for you. If not, let me know what it doesn't do for you and I can see about changing the program, I wrote it.
What is EDI?
-ScooterX
What is EDI?
-ScooterX
EDI (in this context) is (i assume) Electronic Data Interchange.
Webopedia :
Short for Electronic Data Interchange, the transfer of data between different companies using networks, such as the Internet. As more and more companies get connected to the Internet, EDI is becoming increasingly important as an easy mechanism for companies to buy, sell, and trade information. ANSI has approved a set of EDI standards known as the X12 standards
Webopedia :
Short for Electronic Data Interchange, the transfer of data between different companies using networks, such as the Internet. As more and more companies get connected to the Internet, EDI is becoming increasingly important as an easy mechanism for companies to buy, sell, and trade information. ANSI has approved a set of EDI standards known as the X12 standards