[AccessD] Rename All Files In A Folder

jwcolby jwcolby at colbyconsulting.com
Thu Apr 17 08:43:51 CDT 2008


 > Please ignore email about renaming, blonde moment came to an end......

 >  Please share the answer. . . .

Brown hair coloring?

;-)

Edward S Zuris wrote:
>  Please share the answer. . . .
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of
> paul.hartland at fsmail.net
> Sent: Thursday, April 17, 2008 4:26 AM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Rename All Files In A Folder
> Importance: High
> 
> 
> Please ignore email about renaming, blonde moment came to an end......
> 
> 
> Message Received: Apr 17 2008, 12:23 PM
> From: paul.hartland at fsmail.net
> To: "accessd"
> Cc:
> Subject: [AccessD] Rename All Files In A Folder
> 
> To all,
> 
> Sorry about the post, I am sure that I have done this before and is simple
> but having a blonde day today (no offence to any blondes out there).....I
> want a function so that I can pass a folder location and two strings to,
> then the function to rename all the files that contain stringA in them to
> stringB. For example say I have a folder called staff, and inside that
> folder contained a file called 999999_ThisIsAnExample. I want to pass Staff,
> 999999, 999998 to the function so that 999999_ThisIsAnExample would become
> 999998_ThisIsAnExample and do the same with any other file in that folder
> that had a 999999 in the filename.
> 
> Thanks in advance for any help on this.
> 
> 
> Paul Hartland
> paul.hartland at fsmail.net
> 07730 523179
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> 
> 
> 
> 
> Paul Hartland
> paul.hartland at fsmail.net
> 07730 523179
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 

-- 
John W. Colby
www.ColbyConsulting.com



More information about the AccessD mailing list