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]] On 
Behalf Of James Rankin
Sent: Thursday, March 6, 2014 7:13 AM
To: [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

Reply via email to