b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem rem @file
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem Windows NT batch script for launching load.sh
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem Copyright (C) 2009-2012 Oracle Corporation
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem This file is part of VirtualBox Open Source Edition (OSE), as
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem available from http://www.virtualbox.org. This file is free software;
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem you can redistribute it and/or modify it under the terms of the GNU
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem General Public License (GPL) as published by the Free Software
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem Foundation, in version 2 as it comes in the "COPYING" file of the
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncsetlocal ENABLEEXTENSIONS
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem loadall.sh should be in the same directory as this script.
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncset MY_SCRIPT=%~dp0load.sh
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncif exist "%MY_SCRIPT%" goto found
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncrem Found it, convert slashes and tell kmk_ash to interpret it.
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncset MY_SCRIPT=%MY_SCRIPT:\=/%
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncset MY_ARGS=%*
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsyncif ".%MY_ARGS%." NEQ ".." set MY_ARGS=%MY_ARGS:\=/%
b25776a1be1bbdd64ae01753a09ff57b99b6e9dbvboxsynckmk_ash %MY_SCRIPT% %MY_ARGS%