Skip to content

Instantly share code, notes, and snippets.

@ma34s
Last active December 11, 2015 10:08
Show Gist options
  • Save ma34s/4584657 to your computer and use it in GitHub Desktop.
Save ma34s/4584657 to your computer and use it in GitHub Desktop.
32bitと64bitで処理分けるバッチ
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto x64
:x32
cd %~dp0_x32
SET XCOPY_EXE=XXXXX
goto process
:x64
cd %~dp0_x64
SET XCOPY_EXE=XXXXX
goto process
:process
%XCOPY_EXE% xxxx yyyy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment