How to copy files to correct program files folder using batch? -


how create simple batch file copies file 1 directory program files\my folder?

if os windows 64-bit want copy c:\program files (x86)\my folder or windows 32-bit c:\program files\my folder.

use %programfiles%, , let operating system figure out files need go.

copy c:\myfiles\*.* "%programfiles%\my folder\" 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -