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 -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -