rockysmolin at bchacc.com
rockysmolin at bchacc.com
Thu May 20 09:58:06 CDT 2010
Martin: I recently made a similar inquiry about a client who wanted to move a folder from one location to another. I'm not home (in Yosemite for a few days actually) but it should be in the archive. Turned out to be a one liner - a VBA command I never knew about. If you don't get this solved by the weekend, I'll look it up when I get home. Wait a minute...I have the program here on my laptop. The line reads: Name Me.txtSourceFolder As Me.txtTargetFolder & "\" & strFolderToMove I think that NAME command will work for you. It has the effect of moving an entire folder somewhere but may work for renaming as well. Let me know. Rocky Original Message: ----------------- From: Martin Reid mwp.reid at qub.ac.uk Date: Thu, 20 May 2010 15:05:48 +0100 To: dba-tech at databaseadvisors.com Subject: [dba-Tech] Renaming Windows Folders using code IS it possible to rename a set of windows folders e.g. folder name: mreid new folder name: M Reid There are a number of folders in the directory Martin Martin WP Reid Information Services The McClay Library Queen's University of Belfast 10 College Park Belfast BT7 1LP Tel : 02890976174 Email : mwp.reid at qub.ac.uk Sharepoint Training Portal _ _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com -------------------------------------------------------------------- myhosting.com - Premium Microsoft® Windows® and Linux web and application hosting - http://link.myhosting.com/myhosting