S shaomwang Registered User. Local time Today, 01:28 Joined Apr 22, 2000 Messages 14 Apr 23, 2000 #1 Every day I need to rename one file which downloaded from mainframe and give it name as today's day and month. For example, 0422.txt, 0423.txt, so on. How can I write a function or procedure to do it?
Every day I need to rename one file which downloaded from mainframe and give it name as today's day and month. For example, 0422.txt, 0423.txt, so on. How can I write a function or procedure to do it?
S shaomwang Registered User. Local time Today, 01:28 Joined Apr 22, 2000 Messages 14 May 1, 2000 #2 I found answer myself. You can use build in command filecopy to do it.
K KMAN New member Local time Today, 01:28 Joined May 2, 2000 Messages 8 May 2, 2000 #3 You could use the 'Name' function. Name currentFilename As newFilename