See... I told you there was a complicating factor you didn't share. :) From: [email protected] [mailto:[email protected]] On Behalf Of James Rankin Sent: Thursday, March 6, 2014 7:27 AM To: [email protected] Subject: Re: [NTSysADM] Easiest way to do this....
Unfortunately I don't know the name of the source file, just a part of it. So I guess I am going to have to parse out the existing filename to a variable and do it from there. On 6 March 2014 12:21, James Rankin <[email protected]<mailto:[email protected]>> wrote: Is it that simple? Let me try..... I'm trying to automate the replacement of the Windows 8/8.1 logon screen images, and they have a different default filename dependent on the resolution of the machine (or so it appears) On 6 March 2014 12:18, Michael B. Smith <[email protected]<mailto:[email protected]>> wrote: cp a.txt qwerty.txt ??? Add pathnames as necessary. I think you've left out a detail or two as to why this is complicated. :) From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of James Rankin Sent: Thursday, March 6, 2014 7:13 AM To: [email protected]<mailto:[email protected]> Subject: [NTSysADM] Easiest way to do this.... I have a file in a specific folder that has a name which differs from system to system. I need to take a file from a different folder and replace the original file, but preserve the unique filename. Is there a command or util which can do this easily, or will I need to pull out the existing filename, store it, and then do a delete + copy + rename? Google-fu appears weak today.... -- James Rankin --------------------- RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization Practice Analyst - Desktop Virtualization http://appsensebigot.blogspot.co.uk -- James Rankin --------------------- RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization Practice Analyst - Desktop Virtualization http://appsensebigot.blogspot.co.uk -- James Rankin --------------------- RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization Practice Analyst - Desktop Virtualization http://appsensebigot.blogspot.co.uk

