VirtualBox

source: vbox/trunk/tools/bin/gen-vscode-workspace.cmd@ 100264

Last change on this file since 100264 was 98103, checked in by vboxsync, 2 years ago

Copyright year updates by scm.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1@echo off
2rem $Id: gen-vscode-workspace.cmd 98103 2023-01-17 14:15:46Z vboxsync $
3rem rem @file
4rem Windows NT batch script for launching gen-vscode-workspace.sh
5rem
6
7rem
8rem Copyright (C) 2022-2023 Oracle and/or its affiliates.
9rem
10rem This file is part of VirtualBox base platform packages, as
11rem available from https://www.virtualbox.org.
12rem
13rem This program is free software; you can redistribute it and/or
14rem modify it under the terms of the GNU General Public License
15rem as published by the Free Software Foundation, in version 3 of the
16rem License.
17rem
18rem This program is distributed in the hope that it will be useful, but
19rem WITHOUT ANY WARRANTY; without even the implied warranty of
20rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21rem General Public License for more details.
22rem
23rem You should have received a copy of the GNU General Public License
24rem along with this program; if not, see <https://www.gnu.org/licenses>.
25rem
26rem SPDX-License-Identifier: GPL-3.0-only
27rem
28
29
30setlocal ENABLEEXTENSIONS
31setlocal
32
33rem
34rem gen-vscode-workspace.sh should be in the same directory as this script.
35rem
36set MY_SCRIPT=%~dp0gen-vscode-workspace.sh
37if exist "%MY_SCRIPT%" goto found
38echo gen-vscode-workspace.cmd: failed to find gen-vscode-workspace.sh in "%~dp0".
39goto end
40
41rem
42rem Found it, convert slashes and tell kmk_ash to interpret it.
43rem
44:found
45set MY_SCRIPT=%MY_SCRIPT:\=/%
46set MY_ARGS=%*
47if ".%MY_ARGS%." NEQ ".." set MY_ARGS=%MY_ARGS:\=/%
48kmk_ash %MY_SCRIPT% --windows-host %MY_ARGS%
49
50:end
51endlocal
52endlocal
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