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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -