VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/win/load.cmd@ 69498

Last change on this file since 69498 was 69498, checked in by vboxsync, 7 years ago

backed out r118835 as it incorrectly updated the 'This file is based on' file headers.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1@echo off
2rem $Id: load.cmd 69498 2017-10-28 15:07:25Z vboxsync $
3rem rem @file
4rem Windows NT batch script for launching load.sh
5rem
6
7rem
8rem Copyright (C) 2009-2015 Oracle Corporation
9rem
10rem This file is part of VirtualBox Open Source Edition (OSE), as
11rem available from http://www.virtualbox.org. This file is free software;
12rem you can redistribute it and/or modify it under the terms of the GNU
13rem General Public License (GPL) as published by the Free Software
14rem Foundation, in version 2 as it comes in the "COPYING" file of the
15rem VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16rem hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17rem
18rem The contents of this file may alternatively be used under the terms
19rem of the Common Development and Distribution License Version 1.0
20rem (CDDL) only, as it comes in the "COPYING.CDDL" file of the
21rem VirtualBox OSE distribution, in which case the provisions of the
22rem CDDL are applicable instead of those of the GPL.
23rem
24rem You may elect to license modified versions of this file under the
25rem terms and conditions of either the GPL or the CDDL or both.
26rem
27
28
29setlocal ENABLEEXTENSIONS
30setlocal
31
32rem
33rem loadall.sh should be in the same directory as this script.
34rem
35set MY_SCRIPT=%~dp0load.sh
36if exist "%MY_SCRIPT%" goto found
37echo load.cmd: failed to find load.sh in "%~dp0".
38goto end
39
40rem
41rem Found it, convert slashes and tell kmk_ash to interpret it.
42rem
43:found
44set MY_SCRIPT=%MY_SCRIPT:\=/%
45set MY_ARGS=%*
46if ".%MY_ARGS%." NEQ ".." set MY_ARGS=%MY_ARGS:\=/%
47kmk_ash %MY_SCRIPT% %MY_ARGS%
48
49:end
50endlocal
51endlocal
52
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette