Created
July 11, 2014 16:52
-
-
Save chikuchikugonzalez/f55a14cc782eb03e3fab to your computer and use it in GitHub Desktop.
Windows 8でヴァンガードプリンセスがなぜか起動しないので、その対策用バッチファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
:: | |
:: ヴァンガードプリンセス 起動用ファイル. | |
:: | |
:: Windows 8だとなぜかダブルクリックで起動しないので、 | |
:: バッチファイルから作業ディレクトリを移動して、起動を試みます. | |
:: | |
:: USAGE: 起動.bat [バージョン] | |
:: | |
:: [バージョン] | |
:: v1.08 とかの形式で指定します. | |
:: ぶっちゃけフォルダ名の一部なので、環境次第ですが. | |
:: | |
set VPversion=v1.08 | |
set VPname=ヴァンガードプリンセス | |
set VPfile=%VPname%.exe | |
set VProot=%~dp0 | |
if not "%1" == "" ( | |
set VPversion=%1 | |
) | |
set VPhome="%VProot%\%VPname% %VPversion%\%VPname%\" | |
:RUN | |
echo "%VPname% %VPversion% を起動します" | |
pushd "%VPhome%" | |
%VPfile% | |
popd | |
:EOF | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment