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
Post a Comment