Tuesday, August 20, 2013
Copy latest file in folder
FOR /F %%I IN ('DIR *.bak /B /O:-D') DO COPY %%I \\server\SqlBackup\Foo.bak & EXIT
Subscribe to:
Posts (Atom)
All software and software code is released under the BSD license (http://www.opensource.org/licenses/bsd-license.php), unless otherwise specified or if the code is part of a project governed by another license. All trademarks are owned by their respective companies and/or individuals.