doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
733b03f4-cf70-461b-a8c7-f904e0239963
{ "language": "Batchfile" }
```batchfile SET BIN=%CD%\bin SET PATH=%BIN%;%PATH% del /F /Q windows_app_lifecycle.tgz rmdir /S /Q packages nuget restore || exit /b 1 MSBuild WindowsCircus.sln /t:Rebuild /p:Configuration=Release || exit /b 1 packages\nspec.0.9.68\tools\NSpecRunner.exe Builder.Tests\bin\Release\BuilderTests.dll || exit /b 1 package...
```batchfile SET BIN=%CD%\bin SET PATH=%BIN%;%PATH% :: enable some features SET dism=%WINDIR%\SysNative\dism.exe %dism% /online /Enable-Feature /FeatureName:IIS-WebServer /All /NoRestart %dism% /online /Enable-Feature /FeatureName:IIS-WebSockets /All /NoRestart %dism% /online /Enable-Feature /FeatureName:Application-S...
efbcdbc4-5901-47c8-9e2b-6df2655cbac5
{ "language": "Batchfile" }
```batchfile @echo off setlocal enabledelayedexpansion pushd %1 set attempts=5 set counter=0 :retry set /a counter+=1 echo Attempt %counter% out of %attempts% cmd /c npm install https://github.com/projectkudu/KuduScript/tarball/b3494d6fc023f34cc0dded832110b608635cca40 IF %ERRORLEVEL% NEQ 0 goto error goto end :er...
```batchfile @echo off setlocal enabledelayedexpansion pushd %1 set attempts=5 set counter=0 :retry set /a counter+=1 echo Attempt %counter% out of %attempts% cmd /c npm install https://github.com/projectkudu/KuduScript/tarball/b1c12f132cf357238672dd57cd7213b1f282123a IF %ERRORLEVEL% NEQ 0 goto error goto end :er...
38ff2da8-ac6c-46cb-82f1-12826191789f
{ "language": "Batchfile" }
```batchfile ``` Create bat as sh might not be available
```batchfile call conda create -n %1 python call activate %1 call conda install -c conda-forge gmpy2 call pip install -r requirements.txt call python setup.py %2 call python -m ipykernel install --user```
abeac9f0-92d6-4909-8e23-5b6e5c8c26e6
{ "language": "Batchfile" }
```batchfile # Assume zip install layout. and MYSQL_INSTALL_ROOT environment variable points to the root directory of the installation IF "%MYSQL_INSTALL_ROOT%"=="" set MYSQL_INSTALL_ROOT=C:\mysql\mariadb-5.5.28a-winx64\mariadb-5.5.28a-winx64\ set BINDIR=%MYSQL_INSTALL_ROOT%\bin set CERTDIR=%MYSQL_INSTALL_ROOT%\...
```batchfile REM Assume zip install layout. and MYSQL_INSTALL_ROOT environment variable points to the root directory of the installation IF "%MYSQL_INSTALL_ROOT%"=="" set MYSQL_INSTALL_ROOT=C:\mysql\mariadb-5.5.28a-winx64\mariadb-5.5.28a-winx64\ set BINDIR=%MYSQL_INSTALL_ROOT%\bin set CERTDIR=%MYSQL_INSTALL_ROOT...
b9dfa96a-a41d-435c-aac1-6eaddf533281
{ "language": "Batchfile" }
```batchfile ``` Create a non-portable bat file for compiling the shader files
```batchfile T:/Applications/VulkanSDK/1.0.61.1/Bin/glslangValidator.exe -V -o ../source/core/visualizer/shaders/fullscreen_triangle_vs.spv -S vert ../source/core/visualizer/shaders/fullscreen_triangle_vs.glsl T:/Applications/VulkanSDK/1.0.61.1/Bin/glslangValidator.exe -V -o ../source/core/visualizer/shaders/final_reso...
a8c06eb5-056f-47e8-b816-d9d5c20c524e
{ "language": "Batchfile" }
```batchfile ``` Add VSCode python env switch batch file.
```batchfile @echo off set v_params=%* set v_params=%v_params:\=/% set v_params=%v_params:c:=/mnt/c% set v_params=%v_params:"=\"% bash.exe -c "python3 %v_params%"```
99b20df5-f8b0-41e8-9848-7dd6d2cd3732
{ "language": "Batchfile" }
```batchfile @ECHO OFF IF NOT EXIST virtualenv GOTO DIRNOTEXISTS :DIREXISTS CALL virtualenv\scripts\activate SET PYTHONPATH=%CD%\submodule\s3g;%CD%\src\main\python;%PYTHONPATH% REM EXIT /B 0 easy_install -q submodule\conveyor_bins\python\pyserial-2.7_mb2.1-py2.7.egg easy_install -q submodule\conveyor_bins\python\mo...
```batchfile @ECHO OFF IF NOT EXIST virtualenv GOTO DIRNOTEXISTS :DIREXISTS CALL virtualenv\scripts\activate SET PYTHONPATH=%CD%\submodule\s3g;%CD%\src\main\python;%PYTHONPATH% REM EXIT /B 0 easy_install -q submodule\conveyor_bins\python\pyserial-2.7_mb2.1-py2.7.egg easy_install -q submodule\conveyor_bins\python\mo...
887a86b1-c0c8-4aec-a95a-8fd1380d1213
{ "language": "Batchfile" }
```batchfile @ECHO OFF SETLOCAL SET EL=0 ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SET PLATFORM=x64 SET CONFIGURATION=Release ::SET LOCAL_DEV=1 FOR /F "tokens=*" %%i in ('git rev-parse --abbrev-ref HEAD') do SET APPVEYOR_REPO_BRANCH=%%i ECHO APPVEYOR_REPO_BRANCH^: %APPVEYOR_REPO_BRANCH% ::...
```batchfile @ECHO OFF SETLOCAL SET EL=0 ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SET PLATFORM=x64 SET CONFIGURATION=Release ::SET LOCAL_DEV=1 FOR /F "tokens=*" %%i in ('git rev-parse --abbrev-ref HEAD') do SET APPVEYOR_REPO_BRANCH=%%i ECHO APPVEYOR_REPO_BRANCH^: %APPVEYOR_REPO_BRANCH% SE...
0fba70b1-68fe-404d-aa91-90e93bf2206e
{ "language": "Batchfile" }
```batchfile ``` Add a batch file to automate compiling the Windows Help File (CHM)
```batchfile @echo off REM Setup for running on Neil Mitchell's machine REM To run on other machines, install the appropriate things and REM Change the environment variables at the top REM REQUIRES: REM Internet Connection REM sed REM --------------------------------------------------------------------------...
6916cd68-f25d-47de-867e-3d515b3bbd9d
{ "language": "Batchfile" }
```batchfile @echo off :: Dependencies set PYBLISH_BASE=%~dp0git\pyblish-base set PYBLISH_MAYA=%~dp0git\pyblish-maya set PYBLISH_NUKE=%~dp0git\pyblish-nuke set PYBLISH_QML=%~dp0git\pyblish-qml set PYBLISH_LITE=%~dp0git\pyblish-lite set MINDBENDER_CORE=%~dp0git\mindbender-core set MINDBENDER_LAUNCHER=%~dp0git\mindbende...
```batchfile @echo off :: Dependencies set PYBLISH_BASE=%~dp0git\pyblish-base set PYBLISH_MAYA=%~dp0git\pyblish-maya set PYBLISH_NUKE=%~dp0git\pyblish-nuke set PYBLISH_QML=%~dp0git\pyblish-qml set PYBLISH_LITE=%~dp0git\pyblish-lite set MINDBENDER_CORE=%~dp0git\mindbender-core set MINDBENDER_LAUNCHER=%~dp0git\mindbende...
55d1c3d0-8b36-4a1e-bc75-39f2f76db9d8
{ "language": "Batchfile" }
```batchfile rmdir %~dp0current-release\windows /s mkdir %~dp0current-release\windows cd %~dp0current-release\src\dbtk python setup.py py2exe move dist\dbtk.exe %~dp0current-release\windows rmdir build dist /s ``` Update Windows build script to remove __init__.pyc.
```batchfile rmdir %~dp0current-release\windows /s mkdir %~dp0current-release\windows cd %~dp0current-release\src\dbtk python setup.py py2exe move dist\dbtk.exe %~dp0current-release\windows rmdir build dist /s del __init__.pyc```
97c4cc91-3a58-4ea2-a582-a1bd465cb978
{ "language": "Batchfile" }
```batchfile @echo off setlocal cd "%~dp0" chcp 1252 > nul if exist tools\NUnit.Runners goto :test for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i if "%nuget%"=="" goto :nonuget md tools nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory tools || exit /b 1 move .\tools\NUnit.Runners.2.6.4 .\tools\NUnit....
```batchfile @echo off pushd "%~dp0" call :main %* popd goto :EOF :main setlocal set NUNIT_CONSOLE_PATH=tools\NUnit.Runners\tools\nunit-console.exe if exist %NUNIT_CONSOLE_PATH% goto :test-all for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i if "%nuget%"=="" goto :nonuget nuget.exe install NUnit.Runners -Version 2.6...
26864c89-222d-424e-ae37-7d5370f8ec2f
{ "language": "Batchfile" }
```batchfile ``` Add template for building msbuild projects
```batchfile :: Generic script template for building Visual Studio projects using MSBuild. @echo off setlocal set config=%1 if NOT defined config ( set config=Debug ) set sku=%2 if NOT defined sku ( set sku=pc ) :: Map sku to VS platform config set sku_platform=%sku% if %sku% == pc ( set sku_platform=Win32 ) else...
79817d02-10e4-4ab3-824d-a83a9496508a
{ "language": "Batchfile" }
```batchfile @echo off REM Installs Cygwin with a minimal package requirement for Kickboxer REM Cy Rossignol <cy@rossignols.me> REM Exit codes: SET CYGWIN_INSTALLED=0 SET CYGWIN_NOT_INSTALLED=1 CD %CYGDIR% %CYGWIN_SETUP% --quiet-mode --no-admin --no-shortcuts ^ --site http://mirrors.kernel.org/sourceware/cygwin/ ^ ...
```batchfile @echo off REM Installs Cygwin with a minimal package requirement for Kickboxer REM Cy Rossignol <cy@rossignols.me> REM Exit codes: SET CYGWIN_INSTALLED=0 SET CYGWIN_NOT_INSTALLED=1 CD %CYGDIR% %CYGWIN_SETUP% --quiet-mode --no-admin --no-shortcuts ^ --site http://mirrors.kernel.org/sourceware/cygwin/ ^ ...
8573cbc7-9f4d-4d02-928b-8fedd86007fb
{ "language": "Batchfile" }
```batchfile @echo off Nuget.exe restore "Source\MSBuild.Community.Tasks.sln" NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive Nuget.exe install ILRepack.MSBuild.Task -Version 1.1.1 -Source https://www.myget.org/F/sympa-public/api/v3/index.json -OutputDirectory .\Tools\ -Exclude...
```batchfile @echo off Nuget.exe restore "Source\MSBuild.Community.Tasks.sln" NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive Nuget.exe install ILRepack.MSBuild.Task -Version 1.1.2 -Source https://www.myget.org/F/sympa-public/api/v3/index.json -OutputDirectory .\Tools\ -Exclude...
99980987-3923-473c-bff7-f128804087b8
{ "language": "Batchfile" }
```batchfile @echo off echo. echo --- StartNode---------------------------------------- if "%1" == "" goto usage goto doit :usage echo. echo Start a new Node echo - 1 : the url of the node to create echo. echo ex : startNode rmi://localhost/node1 echo ex : startNode jini://localhost/node2 echo. goto end :do...
```batchfile @echo off echo. echo --- StartNode---------------------------------------- if "%1" == "" goto usage goto doit :usage echo. echo Start a new Node echo - 1 : the url of the node to create echo. echo ex : startNode rmi://localhost/node1 echo ex : startNode jini://localhost/node2 echo. echo Node start...
ec50bda0-e395-4404-939a-0c5a807b4cc8
{ "language": "Batchfile" }
```batchfile @echo off set current_dir=%~dp0\.. cd %current_dir% set _JAVACMD=java.exe if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe set HOST=0.0.0.0 set PORT=8080 set LOGGING_LEVEL=WARN rem set DEBUG=-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n "%_JAVACMD%" %DEBUG%...
```batchfile @echo off set current_dir=%~dp0\.. cd %current_dir% set _JAVACMD=java.exe if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe set HOST=0.0.0.0 set PORT=8080 set LOGGING_LEVEL=WARN rem set DEBUG=-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n "%_JAVACMD%" %DEBUG%...
91b72bec-df33-4178-afa9-8055b5188b17
{ "language": "Batchfile" }
```batchfile ``` Add global variables to file
```batchfile @ECHO OFF :USAGE :START :INITIALIZE SETLOCAL ENABLEDELAYEDEXPANSION SET GLOBALS_FILE=%1 SET VAR_NAME=%2 SET VALUE=%3 :CODE IF NOT EXIST %GLOBALS_FILE% ( COPY /Y NUL %GLOBALS_FILE% > NUL 2>&1 ) ECHO %VAR_NAME% %VALUE% >> %GLOBALS_FILE% :RETURN ENDLOCAL :...
11cfb218-b59d-4a17-803a-409dd3f68df6
{ "language": "Batchfile" }
```batchfile ``` Add script to remove Windows 10 old user account pictures
```batchfile @ECHO OFF SETLOCAL SETLOCAL EnableExtensions EnableDelayedExpansion SET /P name="Enter your Windows username: " ECHO You have entered [%name%] SET /P answer="Do you want to continue (Y/n)? " IF /I {!answer!}=={n} (GOTO :EOF) IF /I {!answer!}=={no} (GOTO :EOF) DEL "C:\Users\%name%\AppData\Roaming\Microso...
ea96ac09-6327-49ae-a98f-41706e2c8b3f
{ "language": "Batchfile" }
```batchfile ``` Add automated Windows build script using msbuild
```batchfile @echo off REM Automated Windows build script for nomlib -- windev.local REM NOTE: This script is intended to be ran from the project's root REM directory, i.e.: %HOME%/Projects/nomlib.git REM virgo.local source repository unison nomlib IF NOT EXIST build mkdir build REM pushd build cd build if errorle...
86e5df7f-ca0f-4120-8cd2-583cc6c3e8e3
{ "language": "Batchfile" }
```batchfile @ECHO OFF TITLE Windows Driver Kit 7.1.0 REM set target=i386 set target=amd64 set DDK=C:\WinDDK\7600.16385.1 set MSVC=%DDK%\bin\x86\%target% set incl=/I"%DDK%\inc\crt" /I"%DDK%\inc\api" set libs=/LIBPATH:"%DDK%\lib\crt\%target%" set C_FLAGS=/c /Wall /O1 /Os /Ob1 /Oi /Oy /GS- /MD /TC /Fa set LINK_FLAGS=%...
```batchfile @ECHO OFF TITLE Windows Driver Kit 7.1.0 set target=amd64 REM set target=i386 set DDK=C:\WinDDK\7600.16385.1 set MSVC=%DDK%\bin\x86\amd64 set incl=/I"%DDK%\inc\crt" /I"%DDK%\inc\api" set libs=/LIBPATH:"%DDK%\lib\crt\%target%" set C_FLAGS=/c /Wall /O1 /Os /Ob1 /Oi /Oy /GS- /MD /TC /Fa set LINK_FLAGS=...
dad3c9cf-8824-4aca-8997-03705683fc2d
{ "language": "Batchfile" }
```batchfile @echo off echo Update environment... echo Update Ruby... call gem update --system echo Update Ruby Sass... call gem update sass echo Update Bourbon... call gem update bourbon call gem update neat call gem update bitters echo Update Grunt... call npm update grunt-cli -g echo Install pr...
```batchfile @echo off echo Update Grunt... call npm update grunt-cli -g echo Install project... call npm install --save-dev pause```
5d3a10fd-ec44-4f43-8cf8-04ef6270e9f0
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM $Id$ REM Bat script building libHDF5 dependency automatically REM Author: Peter Nordin peter.nordin@liu.se REM Date: 2015-07-06 set dirname=hdf5 REM Automatic code starts here echo. echo ====================== echo Building 64-bit version of FMILibrary echo ====================== set OL...
```batchfile @ECHO OFF REM $Id$ REM Bat script building libHDF5 dependency automatically REM Author: Peter Nordin peter.nordin@liu.se REM Date: 2015-07-06 set dirname=hdf5 REM Automatic code starts here echo. echo ====================== echo Building the HDF5 library and tools echo ====================== set OLDP...
ee281066-c2eb-4884-ab85-c4f6bfa23bd4
{ "language": "Batchfile" }
```batchfile mkdir build #mkdir 3rdparty\build Robocopy "./tools/googletest/googlemock" "./tools/protobuf/gmock" /E /MT:2 /R:0 /DCOPY:T Robocopy "./tools/googletest/googletest" "./tools/protobuf/gmock/gtest" /E /MT:2 /R:0 /DCOPY:T #Robocopy "./tools/spdlog/include" "./3rdparty/include" /E /MT:2 /R:0 /DCOPY:T IF %ERRORL...
```batchfile mkdir build REM mkdir 3rdparty\build Robocopy "./tools/googletest/googlemock" "./tools/protobuf/gmock" /E /MT:2 /R:0 /DCOPY:T Robocopy "./tools/googletest/googletest" "./tools/protobuf/gmock/gtest" /E /MT:2 /R:0 /DCOPY:T REM Robocopy "./tools/spdlog/include" "./3rdparty/include" /E /MT:2 /R:0 /DCOPY:T IF %...
e14976c4-5f35-469d-bb79-aca09975dee4
{ "language": "Batchfile" }
```batchfile @ECHO OFF msbuild /v:m /m /nologo dirs.proj /t:Rebuild FOR /F "usebackq" %%A IN (`dir %~dp0*.nuspec /s /b ^| findstr /v /i "CBT.DotNetFx"`) DO ( CALL :Pack "%%A" ) GOTO :EOF :Pack "NuGet.exe" pack "%~1" -OutputDirectory %~dp0 -Properties "BinDir=%~dp0..\bin\Debug\AnyCPU\%~n1"``` Fix issue where CBT.N...
```batchfile @ECHO OFF msbuild /v:m /m /nologo dirs.proj /t:Rebuild FOR /F "usebackq" %%A IN (`dir %~dp0*.nuspec /s /b ^| findstr /v /i "CBT.DotNetFx"`) DO ( CALL :Pack "%%A" "%~dp0.." ) GOTO :EOF :Pack "NuGet.exe" pack "%~1" -OutputDirectory %~dp0 -Properties "BinDir=%~f2\bin\Debug\AnyCPU\%~n1"```
652d8ecd-d96c-4f09-9b4f-65e107c70983
{ "language": "Batchfile" }
```batchfile cd %RECIPE_DIR%\.. %PYTHON% make_version.py %PYTHON% setup.py install --single-version-externally-managed --record=record.txt ``` Remove make_version from windows' recipe
```batchfile cd %RECIPE_DIR%\.. %PYTHON% setup.py install --single-version-externally-managed --record=record.txt ```
316d6124-4098-4d61-a962-d6a4673b08e0
{ "language": "Batchfile" }
```batchfile ``` Add script to launch the test suite with VC++
```batchfile REM Execute the test suite for Microsoft Visual Studio REM REM Load Micosoft Visual Studio environement file. IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" ( call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\...
962e3e59-731d-45e4-bcec-e35f4e18f658
{ "language": "Batchfile" }
```batchfile @ECHO off IF NOT "x%1" == "x" GOTO :%1 GOTO :tiny :large ECHO "Building large" cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild GOTO :build :tiny ECHO "Building tiny" cmake -H. -Bbuild GOTO :build :build cmake --build build --config Release -- /maxcpucount ...
```batchfile @ECHO off IF NOT "x%1" == "x" GOTO :%1 GOTO :tiny :large ECHO "Building large" cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild -G"Visual Studio 12 2013 Win64" GOTO :build :tiny ECHO "Building tiny" cmake -H. -Bbuild -G"Visual Studio 12 2013 Win64" GOTO :bui...
34c9dc7e-efa4-413f-aaab-9089f53db7ed
{ "language": "Batchfile" }
```batchfile @echo Off set config=%1 if "%config%" == "" ( set config=Release ) set version=1.0 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=nuget ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\paymentwall.sln /p:Configuration="%config%" /m /v...
```batchfile @echo Off set config=%1 if "%config%" == "" ( set config=Release ) set version=1.0 if not "%PackageVersion%" == "" ( set version=%PackageVersion% ) set nuget= if "%nuget%" == "" ( set nuget=nuget ) %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\paymentwall.sln /p:Configuration="%config%" /m /v...
f0cdf61b-c349-400a-8180-a6d0a0f83644
{ "language": "Batchfile" }
```batchfile md assets\Data xcopy ..\Bin\Data\*.* assets\Data /S /E /C /Y md assets\CoreData xcopy ..\Bin\CoreData\*.* assets\CoreData /S /E /C /Y ``` Delete HLSL directory when copying Android assets.
```batchfile md assets\Data xcopy ..\Bin\Data\*.* assets\Data /S /E /C /Y md assets\CoreData xcopy ..\Bin\CoreData\*.* assets\CoreData /S /E /C /Y rd /S /Q assets\CoreData\Shaders\HLSL ```
eda8df37-1a22-4bb2-98d9-81d72dfc8e61
{ "language": "Batchfile" }
```batchfile ``` Add windows build batch file
```batchfile :: Packs and installs the extension, nodejs extension rebuild is done automatically :: on jupyterlab startup, when the new extension is detected or was removed CALL "%PREFIX%\Scripts\jupyter-labextension" install . --no-build || EXIT /B 1 :: Shared file not to be included. del /Q "%PREFIX%\share\jupyter\l...
a3b72551-6470-454f-a276-16be2b4e1757
{ "language": "Batchfile" }
```batchfile @echo off @set "CONDA_DEFAULT_ENV=@CONDA_ENV_DIR@" @endlocal & ( @set PATH="%CONDA_DEFAULT_ENV%";"%CONDA_DEFAULT_ENV%\Scripts";"%CONDA_DEFAULT_ENV%\Library\bin";%PATH% @REM Run any activate scripts @if exist "%CONDA_DEFAULT_ENV%\etc\conda\activate.d" ( @pushd "%CONDA_DEFAULT_ENV%\etc...
```batchfile @echo off @REM This script was based on the original conda activate.bat @setlocal @set "CONDA_DEFAULT_ENV=@CONDA_ENV_DIR@" @set PATH="%CONDA_DEFAULT_ENV%";"%CONDA_DEFAULT_ENV%\Scripts";"%CONDA_DEFAULT_ENV%\Library\bin";%PATH% @REM Run any activate scripts @if exist "%CONDA_DEFAULT_ENV%\etc\conda\activa...
e61f3c24-6ad9-4b6b-99fd-3dce2c53f934
{ "language": "Batchfile" }
```batchfile java -classpath "lib/antlr.jar;lib/concurrent.jar;lib/db3-3-11.jar;lib/icu4j.jar;lib/jakarta-oro-2.0.5.jar;lib/jena.jar;lib/junit.jar;lib/log4j-1.2.7.jar;lib/commons-logging-api.jar;lib/commons-logging.jar;lib/rdf-api-2001-01-19.jar;lib/xercesImpl.jar;lib/xml-apis.jar" junit.textui.TestRunner com.hp.hpl.je...
```batchfile java -classpath "lib/antlr.jar;lib/concurrent.jar;lib/icu4j.jar;lib/jakarta-oro-2.0.5.jar;lib/jena.jar;lib/junit.jar;lib/log4j-1.2.7.jar;lib/commons-logging-api.jar;lib/commons-logging.jar;lib/rdf-api-2001-01-19.jar;lib/xercesImpl.jar;lib/xml-apis.jar" junit.textui.TestRunner com.hp.hpl.jena.test.TestPacka...
1e04f8dc-68e8-4935-92df-6858d0b60532
{ "language": "Batchfile" }
```batchfile c:\python25\python.exe setup.py bdist_wininst c:\python25\python.exe setup.py sdist --formats=gztar,zip copy dist\*.* \\ironpaw\pub\jasons\arcrest copy documentation\html\*.* \\ironpaw\pub\jasons\arcrest\documentation\ hg history > \\ironpaw\pub\jasons\arcrest\changelog.txt ``` Copy tests to ironpaw ...
```batchfile c:\python25\python.exe setup.py bdist_wininst c:\python25\python.exe setup.py sdist --formats=gztar,zip copy dist\*.* \\ironpaw\pub\jasons\arcrest copy documentation\html\*.* \\ironpaw\pub\jasons\arcrest\documentation\ copy tests.py \\ironpaw\pub\jasons\arcrest\tests.py hg history > \\ironpaw\pub\jaso...
1059428e-6d57-46c6-bf03-e9e40c412f42
{ "language": "Batchfile" }
```batchfile @echo off :Build cls if not exist tools\FAKE.Core\tools\Fake.exe ( "tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" ) SET TARGET="Default" IF NOT [%1]==[] (set TARGET="%1") SET BUILDMODE="Release" IF NOT [%2]==[] (set BUILDMODE="%2") "tools\FAK...
```batchfile @echo off SET MinimalFAKEVersion=639 SET FAKEVersion=1 cls if exist tools\FAKE.Core\tools\PatchVersion.txt ( FOR /F "tokens=*" %%i in (tools\FAKE.Core\tools\PatchVersion.txt) DO (SET FAKEVersion=%%i) ) if %MinimalFAKEVersion% lss %FAKEVersion% goto Build if %MinimalFAKEVersion%==%FAKEVersion% g...
569a89fa-1999-4562-829e-daa158ca8106
{ "language": "Batchfile" }
```batchfile @echo off if "%OS%" == "Windows_NT" setlocal if not defined JAVA_HOME goto no_java_home if not defined VTPASS_HOME goto no_vtpass_home set JAVA=%JAVA_HOME%\bin\java set PASS_JAR=%VTPASS_HOME%\jars\vt-password-${project.version}.jar set CLASSPATH=%LIBDIR%\vt-dictionary-3.0-SNAPSHOT.jar;%LIBDIR%\vt-crypt...
```batchfile @echo off if "%OS%" == "Windows_NT" setlocal if not defined JAVA_HOME goto no_java_home if not defined VTPASS_HOME goto no_vtpass_home set JAVA=%JAVA_HOME%\bin\java set PASS_JAR=%VTPASS_HOME%\jars\vt-password-${project.version}.jar set LIBDIR=%VTPASS_HOME%\lib set CLASSPATH=%LIBDIR%\vt-dictionary-3.0.j...
fa8be705-d2fb-42f7-b4ad-e3f49cb3f992
{ "language": "Batchfile" }
```batchfile @ECHO OFF IF %1.==. GOTO No1 set CONFIG=%1 REM set debug parameters REM set DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y" java -cp ..\lib\* %DEBUG_OPTS% "-Daerobase.config.dir=%CONFIG%" org.jboss.aerogear.unifiedpush.DBMaintenance > initdb-java.log 2>&1 GOTO End1 :N...
```batchfile @ECHO OFF IF %1.==. GOTO No1 set CONFIG=%1 REM set debug parameters REM set DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y" "%JAVA_HOME%\bin\java" -cp ..\lib\* %DEBUG_OPTS% "-Daerobase.config.dir=%CONFIG%" org.jboss.aerogear.unifiedpush.DBMaintenance > initdb-java.log 2...
9bd1f0bc-7de2-4ce8-8f29-2c074883b489
{ "language": "Batchfile" }
```batchfile @echo off setlocal set PATH=C:\Program Files (x86)\Git\bin\;%PATH% call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\vcvarsall.bat" x86 REM call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\vcvarsall.bat" x86 set DXROOT=C:\Program Files\Sandcastle %~dp0\External\nant\bin\nant %*...
```batchfile @echo off setlocal set PATH=C:\Program Files (x86)\Git\bin\;%PATH% REM call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\vcvarsall.bat" x86 call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\vcvarsall.bat" x86 set DXROOT=C:\Program Files\Sandcastle %~dp0\External\nant\bin\nant %*...
e828af3a-edd0-46f5-b970-477768e7f0df
{ "language": "Batchfile" }
```batchfile git checkout gh-pages git merge master npm start mol mol/app/hello mol/app/supplies mol/app/habhub mol/app/todomvc mol/perf/render mol/perf/uibench git commit -a -m "Update" && git push || git checkout master ``` Build more apps on deploy.
```batchfile git checkout gh-pages git merge master npm start mol mol/app/hello mol/app/supplies mol/app/habhub mol/app/todomvc mol/perf/render mol/perf/uibench mol/app/bench mol/app/taxon mol/app/users git commit -a -m "Update" && git push || git checkout master ```
b0020d7a-b0df-4bb7-86cf-d50fa3ebe294
{ "language": "Batchfile" }
```batchfile ::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file> ::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file> ::Set the path below as you need and then run this bat to copy the files and make them debuggeable ...
```batchfile ::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file> ::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file> ::Set the path below as you need and then run this bat to copy the files and make them debuggeable ...
b8c341ff-fb98-48e1-adac-005458b6aea6
{ "language": "Batchfile" }
```batchfile "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jq...
```batchfile "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jq...
92de78cf-501b-49ed-bc1a-77a2b829ea2b
{ "language": "Batchfile" }
```batchfile REM This assumes that libutil.a has been previously build with cmake and is REM available in ..\build del /f RIBClientRUBY_wrap.cxx *.def *.pdb *.obj swig -ruby -includeall -c++ -I..\utils -o RIBClientRUBY_wrap.cxx RIBClient.i REM set USE_PRMAN=1 REM ruby extconf.rb --with-rman-dir=$RMANTREE --with-uti...
```batchfile REM This assumes that libutil.a has been previously build with cmake and is REM available in ..\build del /f RIBClientRUBY_wrap.cxx *.def *.pdb *.obj swig -ruby -includeall -c++ -I..\utils -o RIBClientRUBY_wrap.cxx RIBClient.i REM set USE_PRMAN=1 REM ruby extconf.rb --with-rman-dir=$RMANTREE --with-uti...
f83520ea-15c3-4699-a2db-df61641e072b
{ "language": "Batchfile" }
```batchfile "C:\Program Files (x86)\Python 3.5\python.exe" setup.py build_ext --inplace "C:\Program Files\Python 3.5\python.exe" setup.py build_ext --inplace``` Make cython always rebuild modules on windows
```batchfile rmdir /s /q build del vapoursynth.*.pyd "C:\Program Files (x86)\Python 3.5\python.exe" setup.py build_ext --inplace "C:\Program Files\Python 3.5\python.exe" setup.py build_ext --inplace pause```
dffb02ca-0748-4200-a670-f96bcb06097a
{ "language": "Batchfile" }
```batchfile setlocal enableextensions if "%PY_VER%" == "3.4" ( set MSVC_VER="10.0" ) else ( if "%PY_VER%" == "3.5" ( set MSVC_VER="14.0" ) else ( set MSVC_VER="9.0" ) ) set EXTRA_ARGS="" if %ARCH% EQU 64 ( set EXTRA_ARGS="address-model=64" ) python -c "from __futu...
```batchfile setlocal enableextensions if "%PY_VER%" == "3.4" ( set MSVC_VER="10.0" ) else ( if "%PY_VER%" == "3.5" ( set MSVC_VER="14.0" ) else ( set MSVC_VER="9.0" ) ) set EXTRA_ARGS="" if %ARCH% EQU 64 ( set EXTRA_ARGS="address-model=64" ) %PYTHON% -c "from __fu...
d8e18125-c359-4429-99ba-84d285dbbd33
{ "language": "Batchfile" }
```batchfile @echo off REM Reference: http://www.wilsonmar.com/1envvars.htm set home=%USERPROFILE% copy /Y .\dist\ctags_lang %home%\.ctags copy /Y .vimrc %home%\.vimrc copy /Y .vimrc.plugins %home%\.vimrc.plugins copy /Y .vimrc.local %home%\.vimrc.local copy /Y .vimrc.plugins.local %home%\.vimrc.plugins.local rmdir ...
```batchfile @echo off REM Reference: http://www.wilsonmar.com/1envvars.htm set home=%USERPROFILE% copy /Y .\dist\ctags_lang "%home%\.ctags" copy /Y .vimrc "%home%\.vimrc" copy /Y .vimrc.plugins "%home%\.vimrc.plugins" copy /Y .vimrc.local "%home%\.vimrc.local" copy /Y .vimrc.plugins.local "%home%\.vimrc.plugins.loc...
227e229b-dbf7-4def-9696-d67bc801fa3b
{ "language": "Batchfile" }
```batchfile :: Checks in which DB2 version the utility will be installed. :: DB2 v10.1 is the default version. if "%1" EQU "" goto v10.1 if /I "%1" EQU "-v10.1" goto v10.1 if /I "%1" EQU "-v9.7" goto v9.7 :: DB2 v10.1. :v10.1 db2 -tf Tables.sql db2 -tf Objects.sql db2 -td@ -f Tools.sql db2 -td@ -f AdminHeader.sql db...
```batchfile :: Checks if there is already a connection established db2 connect if %ERRORLEVEL% EQU 0 ( goto version ) else ( echo Please connect to a database before the execution of the installation. goto exit ) :version :: Checks in which DB2 version the utility will be installed. :: DB2 v10.1 is the default ver...
473ba9d8-eb0a-4bb3-8ca4-266780569c33
{ "language": "Batchfile" }
```batchfile ``` Add batch file to autobuild spotify-json
```batchfile cd lib\spotify-json git submodule update --init rmdir build32 /S /Q mkdir build32 cd build32 cmake .. -DBoost_NO_BOOST_CMAKE=TRUE ^ -DBOOST_ROOT=..\..\..\packages\boost.1.62.0.0\lib\native cmake --build . --config Debug cmake --build . --config Release cd ..\..\..```
d8759b74-02b4-40d0-b0c6-3d83e8a7b434
{ "language": "Batchfile" }
```batchfile @echo off setlocal echo ==================== echo TWC -- Build Batch echo ==================== echo. set DEFINES= set CCFLAGS= /MT %DEFINES% /Gm- /WX /W4 /wd4201 /wd4100 /wd4189 /wd4505 /wd4706 /wd4996 /wd4127 /wd4244 /wd4200 /wd4204 set LIBS= libcurl.lib IF NOT EXIST build mkdir build p...
```batchfile @echo off setlocal echo ==================== echo TWC -- Build Batch echo ==================== echo. set DEFINES= set CCFLAGS= /MT %DEFINES% /Gm- /WX /W4 /wd4201 /wd4100 /wd4189 /wd4505 /wd4706 /wd4996 /wd4127 /wd4244 /wd4200 /wd4204 set LIBS= libcurl.lib IF NOT EXIST build mkdir build p...
e2d1a82d-cafd-4771-88b3-18babcb2e1b9
{ "language": "Batchfile" }
```batchfile @mkdir .shake 2> nul @set ghcArgs=--make ^ -Wall ^ src/Main.hs ^ -isrc ^ -rtsopts ^ -with-rtsopts=-I0 ^ -outputdir=.shake ^ -j ^ ...
```batchfile @mkdir .shake 2> nul @set ghcArgs=--make ^ -Wall ^ src/Main.hs ^ -isrc ^ -rtsopts ^ -with-rtsopts=-I0 ^ -outputdir=.shake ^ -j ^ ...
d3c59f1c-fee3-4d7e-95a1-17f517792f87
{ "language": "Batchfile" }
```batchfile ``` Add a DOS .bat script to run CI build
```batchfile set MSBUILD_EXE=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild cd 3rd-party\UnitTest++ %MSBUILD_EXE% UnitTest++.vsnet2008.sln /p:Configuration=Debug /target:Clean %MSBUILD_EXE% UnitTest++.vsnet2008.sln /p:Configuration=Release /target:Clean %MSBUILD_EXE% UnitTest++.vsnet2008.sln /p:Configuration=...
4320c2aa-b30b-4d9c-b5a8-9104b8e92c4c
{ "language": "Batchfile" }
```batchfile @echo off if not exist "%~dp0marks\*.mark" echo No marks exist.&&exit /b 1 for /f "delims=" %%f in ('dir /b "%~dp0marks\*.mark"') do (for /F "usebackq delims=" %%i in ("%~dp0marks\%%f") do echo %%~nf =^> %%i) ``` Change arrow to match original.
```batchfile @echo off if not exist "%~dp0marks\*.mark" echo No marks exist.&&exit /b 1 for /f "delims=" %%f in ('dir /b "%~dp0marks\*.mark"') do (for /F "usebackq delims=" %%i in ("%~dp0marks\%%f") do echo %%~nf -^> %%i) ```
18a4e15f-690a-4c94-8bde-d1313d1c1317
{ "language": "Batchfile" }
```batchfile @echo off setlocal Rem ----- set the current working dir as the PROJECT_HOME variable ---- call "%FORREST_HOME%\bin\setpwdvar.bat" set PROJECT_HOME="%PWD%" Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use -------------...
```batchfile @echo off setlocal Rem ----- set the current working dir as the PROJECT_HOME variable ---- call "%FORREST_HOME%\bin\setpwdvar.bat" set PROJECT_HOME="%PWD%" Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use -------------...
4e2c9980-d19c-46f0-86f1-b038df08715d
{ "language": "Batchfile" }
```batchfile PATH=C:\python26;C:\progra~2\7-zip;%PATH% del /q /s dist\*.* python setup.py py2exe cd dist 7z d library.zip jinja2\* dns\* 'graphy\* 7z a namebench_for_Windows.zip -r * namebench -x -O 8.8.8.8 -t5 -o test.html start test.html cd .. ``` Remove w9xopen.exe and add README.txt to Windows build
```batchfile PATH=C:\python26;C:\progra~2\7-zip;%PATH% del /q /s dist\*.* python setup.py py2exe cd dist 7z d library.zip jinja2\* dns\* 'graphy\* del /s w9xpopen.exe copy ..\README.txt . 7z a namebench_for_Windows.zip -r * namebench -x -O 8.8.8.8 -t5 -o test.html start test.html cd .. ```
c5ee752c-5d58-4b4d-89f8-5cf1c98b9e2c
{ "language": "Batchfile" }
```batchfile ``` Add release tool for windows
```batchfile PATH=C:\python26;C:\progra~2\7-zip;%PATH% del /q /s dist\*.* python setup.py py2exe cd dist 7z d library.zip jinja2\* dns\* 'graphy\* 7z a namebench_for_Windows.zip -r * namebench -x -O 8.8.8.8 -t5 -o test.html start test.html cd .. ```
04807969-a7b8-4373-a954-7abc110f58a0
{ "language": "Batchfile" }
```batchfile /* REXX script to get the svn revision and display it. */ Trace o fn = 'SVN.REV' Address System 'svnversion . | rxqueue > nul:' /* default version to 0, if svnversion doesn't exist or no .svn here */ ver = 0 If Queued() \= 0 Then Do /* Using PARSE PULL preserves case */ /* If it is a double ...
```batchfile /* REXX script to get the svn revision and display it. */ Trace o fn = 'SVN.REV' 'svnversion . | rxqueue > nul:' /* default version to 0, if svnversion doesn't exist or no .svn here */ ver = 0 If Queued() \= 0 Then Do /* Using PARSE PULL preserves case */ /* If it is a double value ...
b1d317b1-e35d-407e-916a-a2fe37c03485
{ "language": "Batchfile" }
```batchfile @echo off setlocal call before-branch.bat echo. echo. :: crate new feature branch locally echo Create new Feature branch locally SET /P feature_branch_name="Please enter the name of the feature branch: feature-" SET /P feature_version="Please enter the version of the feature:" git checkout -b feature-%fe...
```batchfile @echo off setlocal call script\before-branch.bat echo. echo. :: crate new feature branch locally echo Create new Feature branch locally SET /P feature_branch_name="Please enter the name of the feature branch: feature-" SET /P feature_version="Please enter the version of the feature:" git checkout -b feat...
34886a29-bbd4-40d0-8a93-e45976320c4b
{ "language": "Batchfile" }
```batchfile @echo off rem This is a variant of runDockerDaemon.cmd in programdata\docker installed by Install-ContainerHost.ps1 rem It has some key differences for use in Windows CI for TP5+ rem - Daemon is NOT debug rem - Daemon is renamed to dockernssm.exe to spot easily in task manager rem - Daemon is redirected t...
```batchfile @echo off rem This is a variant of runDockerDaemon.cmd in programdata\docker installed by Install-ContainerHost.ps1 rem It has some key differences for use in Windows CI for TP5+ rem - Daemon is NOT debug rem - Daemon is renamed to dockernssm.exe to spot easily in task manager rem - Daemon is redirected t...
9b411769-840c-43c9-bdfc-4eb5dcaefa7c
{ "language": "Batchfile" }
```batchfile ``` Embed EXE files inside a Batch script
```batchfile @echo off :: :: The Batchography book by Elias Bachaalany :: setlocal enabledelayedexpansion set FN=%TEMP%\evil.tmp call :extract-embedded-bin "%FN%" start %FN% goto :eof :extract-embedded-bin <1=OutFileName> setlocal set MBEGIN=-1 for /f "useback tokens=1 delims=: " %%a in (...
54e89ba4-8eb8-469a-a25a-51164ac5c8fb
{ "language": "Batchfile" }
```batchfile @echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.62" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto start ``` Patch for version 0.63 update
```batchfile @echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.63" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto start ```
95b3be59-6018-449f-93d9-ee19d7561aba
{ "language": "Batchfile" }
```batchfile @echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.70" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto start ``` Patch for version 0.71 update
```batchfile @echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.71" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto start ```
0d45eb12-12a9-4331-aeff-7006a6121370
{ "language": "Batchfile" }
```batchfile @echo off REM Capture parameters set ScriptDir=%~dp0 set SolutionDir=%~1 set AssemblyName=%~2 set NuGetCommand=%ScriptDir%NuGet.exe set VersionInfoCommand=%ScriptDir%VersionInfo.vbs set output=%SolutionDir%Output set nuget_nuspec=%SolutionDir%%AssemblyName%.nuspec set nuget_folder=%SolutionDir%.nuget\%As...
```batchfile @echo off REM Capture parameters set ScriptDir=%~dp0 set SolutionDir=%~1 set AssemblyName=%~2 set NuGetCommand=%ScriptDir%NuGet.exe set VersionInfoCommand=%ScriptDir%VersionInfo.vbs set output=%SolutionDir%Output set nuget_nuspec=%SolutionDir%%AssemblyName%.nuspec set nuget_folder=%SolutionDir%.nuget\%As...
72e4dc56-c83e-44a6-b70f-6b65317b6679
{ "language": "Batchfile" }
```batchfile ``` Add new windows build script
```batchfile set PYTHON=C:\Python27\python set EASY_INSTALL=c:\python27\scripts\easy_install.exe set NEXUSDIR="C:\Program Files (x86)\NeXus Data Format\" set PATH=C:\Python27;C:\Python27\Scripts;C:\mingw\bin;%PATH% cd %WORKSPACE% %PYTHON% check_packages.py cd %WORKSPACE% python setup.py build -cmingw32 cd %WORK...
0828e9cc-9dbf-4e5c-913f-dca6c82fa823
{ "language": "Batchfile" }
```batchfile git clone https://github.com/Vasar007/TIMLE.git cd SFML mkdir install mkdir build cd build cmake .. -G "Visual Studio 15 Win64" -DCMAKE_INSTALL_PREFIX=../install -DSFML_DEPENDENCIES_INSTALL_PREFIX=../install -DSFML_BUILD_FRAMEWORKS=FALSE -DBUILD_SHARED_LIBS=TRUE msbuild INSTALL.vcxproj cd ../../ git cl...
```batchfile git clone https://github.com/SFML/SFML.git cd SFML mkdir install mkdir build cd build cmake .. -G "Visual Studio 15 Win64" -DCMAKE_INSTALL_PREFIX=../install -DSFML_DEPENDENCIES_INSTALL_PREFIX=../install -DSFML_BUILD_FRAMEWORKS=FALSE -DBUILD_SHARED_LIBS=TRUE msbuild INSTALL.vcxproj cd ../../ git clone h...
5e3d1c17-566f-48b1-b1ae-e3319943cb57
{ "language": "Batchfile" }
```batchfile ``` Use case 9 script for Windows.
```batchfile call activate cate cate ds make_local esacci.CLOUD.mon.L3C.CLD_PRODUCTS.MODIS.Terra.MODIS_TERRA.1-0.r1 CLOUD_2007 2007 cate ds make_local esacci.OZONE.mon.L3.NP.multi-sensor.multi-platform.MERGED.fv0002.r1 OZONE_2007 2007 mkdir uc09 cd uc09 cate ws init cate res open cloud local.CLOUD_2007 cate res open oz...
686ade4f-f7a2-4802-8db2-1c8026721614
{ "language": "Batchfile" }
```batchfile ``` Add Windows batch file to update stdlib.
```batchfile @echo off setlocal if [%1]==[] goto usage set _pyrepo=%1 if not exist "%_pyrepo%\Lib" ( echo "%_pyrepo% does not look like a CPython repo (no Lib directory)." goto :fail ) for /f %%I in ('hg -R "%_pyrepo%" id -i') do set _hgrev=%%I set _stdlibdir=%~dp0 pushd "%_stdlibdir%" git diff-index --quie...
a85c3cb7-fba2-4bc5-886b-995a8f9b9d85
{ "language": "Batchfile" }
```batchfile @echo off REM This build script allows you to build the TTR Mouse Click Simulator. REM For information about prerequisites, see the Wiki page at REM https://github.com/TTExtensions/MouseClickSimulator/wiki/Running-the-Simulator SetLocal ENABLEDELAYEDEXPANSION echo.Building the TTR Mouse Click Simulator....
```batchfile @echo off REM This build script allows you to build the TTR Mouse Click Simulator. REM For information about prerequisites, see the Wiki page at REM https://github.com/TTExtensions/MouseClickSimulator/wiki/Running-the-Simulator SetLocal ENABLEDELAYEDEXPANSION echo.Building the TTR Mouse Click Simulator....
bce01f51-c2d2-4cda-9f17-1e07f64b22ea
{ "language": "Batchfile" }
```batchfile @echo off cls .paket\paket.bootstrapper.exe 0.8.6 if errorlevel 1 ( exit /b %errorlevel% ) .paket\paket.exe install -v if errorlevel 1 ( exit /b %errorlevel% ) packages\FAKE\tools\FAKE.exe build.fsx %*``` Use the latest paket.exe but just restore
```batchfile @echo off cls .paket\paket.bootstrapper.exe if errorlevel 1 ( exit /b %errorlevel% ) .paket\paket.exe restore if errorlevel 1 ( exit /b %errorlevel% ) packages\FAKE\tools\FAKE.exe build.fsx %*```
11768a1e-1466-4727-8535-4bc48fd2dc5e
{ "language": "Batchfile" }
```batchfile ``` Move proto generation into cmake and remove from prepare_build
```batchfile REM Copyright 2022 The Chromium Authors. REM Use of this source code is governed by a BSD-style license that can be REM found in the LICENSE file. @echo off setlocal REM This script is meant to be run once to setup the example demo agent. REM Run it with one command line argument: the path to a dir...
983dd445-ef43-48dc-a0b2-24bc7b9af816
{ "language": "Batchfile" }
```batchfile @echo off reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set ARCH=x86 || set ARCH=x64 set NODE_PATH="%~dp0\bin\node\node-win32-%ARCH%.exe" @IF NOT EXIST %NODE_PATH% ( set NODE_PATH="node.exe" ) %NODE_PATH% "%~dp0\..\lib\resin.js" %* ``` Comment source of Wind...
```batchfile @echo off :: http://stackoverflow.com/questions/12322308/batch-file-to-check-64bit-or-32bit-os reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set ARCH=x86 || set ARCH=x64 set NODE_PATH="%~dp0\bin\node\node-win32-%ARCH%.exe" @IF NOT EXIST %NODE_PATH% ( set NODE_...
ca922f32-ea42-456e-8157-8da130f50c17
{ "language": "Batchfile" }
```batchfile @echo off set __VS_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017 if "%CODEQL_HOME%"=="" set CODEQL_HOME=c:\codeql-home set CODEQL_BIN=%CODEQL_HOME%\codeql\codeql.cmd if not "%EnterpriseWDK%"=="" goto ewdk_ready if "%EWDK11_DIR%"=="" goto vs_vars call %EWDK11_DIR%\BuildEnv\SetupBuildEnv.cmd ::ca...
```batchfile @echo off if "%CODEQL_HOME%"=="" set CODEQL_HOME=c:\codeql-home set CODEQL_BIN=%CODEQL_HOME%\codeql\codeql.cmd if not "%EnterpriseWDK%"=="" goto ready if "%EWDK11_DIR%"=="" set EWDK11_DIR=c:\ewdk11 :: call :add_path "%EWDK11_DIR%\Program Files\Microsoft Visual Studio\2019\BuildTools\VC\Redist\MSVC\14.28.2...
f54abd77-8b82-48f7-9005-145ff9f98269
{ "language": "Batchfile" }
```batchfile echo off REM leave a pid file so that a non-DC process REM like configd can be notified for shutdown copy /y /nul > %cd%\.pid%1 REM set this sleep value to be at least twice REM as long as the QMF_CONFIGD_WIN_INTERVAL SLEEP 6 EXIT /B 0 ``` Update to exit if pid has been cleaned and configd is no longer ...
```batchfile echo off REM leave a pid file so that a non-DC process REM like configd can be notified for shutdown copy /y /nul > %cd%\.pid%1 REM set this sleep value to be at least twice REM as long as the QMF_CONFIGD_WIN_INTERVAL set cntr=0 :LoopStart IF NOT EXIST %cd%\.pid%1 Goto EndClean SLEEP 1 IF %cntr%==5 Got...
d9270dfd-10ff-44f5-8d46-0146c6e5e30f
{ "language": "Batchfile" }
```batchfile set PYTHON=C:\Python27\python.exe set BASE_DIR=[Your email-backup checkout] set OUTPUT_DIR=[Directory to output archive] set EMAIL=[Email address] set PASSWORD=[Password (application specific password for gmail accounts)] set IMAP=[IMAP server address] %python% %BASE_DIR%\ebackup.py -e %EMAIL% -p %PASSWO...
```batchfile set PYTHON=C:\Python27\python.exe set BASE_DIR=[Your email-backup checkout] set OUTPUT_DIR=[Directory to output archive] set EMAIL=[Email address] set PASSWORD=[Password (application specific password for gmail accounts)] set IMAP=[IMAP server address] %python% %BASE_DIR%\ebackup.py -e %EMAIL% -p %PASSWO...
9a0f9f89-e99c-49d8-bae9-9c5d2bdb3030
{ "language": "Batchfile" }
```batchfile git submodule update --init SET CLIPATH=c:\jenkins\workspace\go-cli-tests-windows32Bit SET GOPATH=%CLIPATH% c:\Go\bin\go build -v -o cf-windows-386.exe main SET GOPATH=c:\Users\Administrator\go SET CATSPATH=%GOPATH%\src\github.com\cloudfoundry\cf-acceptance-tests copy %CLIPATH%\cf-windows-386.exe %CATSPA...
```batchfile git submodule update --init SET CLIPATH=c:\jenkins\workspace\go-cli-tests-windows32Bit SET GOPATH=%CLIPATH% c:\Go\bin\go build -v -o cf-windows-386.exe main SET GOPATH=c:\Users\Administrator\go SET CATSPATH=%GOPATH%\src\github.com\cloudfoundry\cf-acceptance-tests copy %CLIPATH%\cf-windows-386.exe %CATSPA...
2eb26581-dd46-4a2f-8268-8ebe81875b5f
{ "language": "Batchfile" }
```batchfile @ECHO OFF SETLOCAL SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln SET VS2015_BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe" IF NOT EXIST %VS2015_BUILD_TOOLS_PATH% ( echo In order to build or run this tool you need either Visual Studio ...
```batchfile @ECHO OFF SETLOCAL SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln SET BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe" IF NOT EXIST %BUILD_TOOLS_PATH% ( echo In order to build or run this tool you need either Visual Studio 2015 Preview o...
7c2a80a9-0514-4b43-8fbe-99e94e353bc5
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM Fetch the DolphinVM binaries from GitHub into the current directory. REM Specify a parameter to fetch a specific version or leave blank to REM get the recommended VM version for this release of the image. FOR /F "usebackq delims=" %%A in (`"git describe --abbrev=0"`) do SET tag=%%A powershel...
```batchfile @ECHO OFF REM Fetch the DolphinVM binaries from GitHub into the current directory. REM Specify a parameter to fetch a specific version or leave blank to REM get the recommended VM version for this release of the image. FOR /F "usebackq delims=" %%A in (`"git describe --tags --abbrev=0"`) do SET tag=%%A po...
bc4a009d-56ac-4381-a851-0f2854156b64
{ "language": "Batchfile" }
```batchfile rmdir /s /q "configuration\org.eclipse.core.runtime" rmdir /s /q "configuration\org.eclipse.equinox.app" rmdir /s /q "configuration\org.eclipse.osgi" java -ea -Dosgi.classloader.singleThreadLoads=true -XX:+UseCompressedOops -XX:MaxPermSize=128M -XX:+UseParallelGC -Xmx1G -jar plugins\org.eclipse.equinox....
```batchfile rmdir /s /q "configuration\org.eclipse.core.runtime" rmdir /s /q "configuration\org.eclipse.equinox.app" rmdir /s /q "configuration\org.eclipse.osgi" java -ea -Dosgi.classloader.singleThreadLoads=true -XX:MaxPermSize=128M -XX:+UseParallelGC -Xmx1G -jar plugins\org.eclipse.equinox.launcher.jar -p openm...
d1fc0c5d-e42d-41a1-ba93-cbd8c09cdb83
{ "language": "Batchfile" }
```batchfile rem echo off SET mypath=%~dp0 set platformsFolder=platforms set platformName="Visual Studio 14" set folder=%mypath%\%platformsFolder%\%platformName% if not exist %folder% (mkdir %folder%) cd %platformsFolder% rem call cmake cmake.exe .. -G%platformName% cd %mypath% pause``` Use parameter as platfor...
```batchfile echo off SET mypath=%~dp0 set platformsFolder=platforms set platformName=%1 set folder=%mypath%\%platformsFolder%\%platformName% if not exist %folder% (mkdir %folder%) cd %folder% rem call cmake cmake.exe %mypath% -G%platformName% cd %mypath% pause```
f1043a13-c5dc-4638-a6e7-2e8d69dea783
{ "language": "Batchfile" }
```batchfile mkdir build cd build set BUILD_CONFIG=Release REM Configure step if "%ARCH%"=="32" ( set CMAKE_GENERATOR=Visual Studio 12 2013 ) else ( set CMAKE_GENERATOR=Visual Studio 12 2013 Win64 ) set CMAKE_GENERATOR_TOOLSET=v120_xp REM Reduce build times and package size by removing unused stuff set CMAKE...
```batchfile mkdir build cd build set BUILD_CONFIG=Release REM Configure step if "%ARCH%"=="32" ( set CMAKE_GENERATOR=Visual Studio 14 2015 ) else ( set CMAKE_GENERATOR=Visual Studio 14 2015 Win64 ) set CMAKE_GENERATOR_TOOLSET=v120_xp REM Reduce build times and package size by removing unused stuff set CMAKE...
e6dd7e82-6a28-4449-bfc3-7fbb7d8d9670
{ "language": "Batchfile" }
```batchfile @echo off :: set batch file directory as current pushd "%~dp0" set SHARPMAKE_EXECUTABLE=bin\debug\Sharpmake.Application.exe call CompileSharpmake.bat Sharpmake.Application/Sharpmake.Application.csproj Debug AnyCPU if %errorlevel% NEQ 0 goto error set SM_CMD=%SHARPMAKE_EXECUTABLE% /sources("Sharpmake.Ma...
```batchfile @echo off :: set batch file directory as current pushd "%~dp0" set SHARPMAKE_EXECUTABLE=bin\debug\Sharpmake.Application.exe call CompileSharpmake.bat Sharpmake.Application/Sharpmake.Application.csproj Debug AnyCPU if %errorlevel% NEQ 0 goto error set SM_CMD=%SHARPMAKE_EXECUTABLE% /sources("Sharpmake.Ma...
33186eb3-a597-45f3-8998-7903a1998575
{ "language": "Batchfile" }
```batchfile set /p Build=<ver.txt echo Building version %Build% fart ..\Properties\AssemblyInfo.cs 1.0.0.0 1.0.%Build% "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\DEVENV" ..\..\Budford.sln /Rebuild Release call "c:\Program Files (x86)\NSIS\Bin\makensis.exe" Budford.nsi ren "Budford -...
```batchfile set /p Build=<ver.txt echo Building version %Build% fart ..\Properties\AssemblyInfo.cs 1.0.0.0 1.0.%Build% "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\DEVENV" ..\..\Budford.sln /Rebuild Release call "c:\Program Files (x86)\NSIS\Bin\makensis.exe" Budford.nsi ren "Budford -...
278fbab8-ab23-45eb-be96-38be24e16be6
{ "language": "Batchfile" }
```batchfile set name="%1" set src=%~2 set pub=%~2..\..\..\..\pub echo Copy from %src% echo Copy to %pub% if not exist "%pub%" mkdir "%pub%" :: xcopy "$(TargetDir)*" "$(SolutionDir)..\pub\$(TargetName)\" /D /Y /S xcopy "%src%*.exe" "%pub%" /D /Y /S xcopy "%src%*.dll" "%pub%" /D /Y /S xcopy "%src%*...
```batchfile set name="%1" set src=%~2 set pub=%~2..\..\..\..\pub\ set archiv=%pub%\com-kit_%APPVEYOR_BUILD_NUMBER%.zip echo Copy from %src% echo Copy to %pub% if not exist "%pub%" mkdir "%pub%" :: xcopy "$(TargetDir)*" "$(SolutionDir)..\pub\$(TargetName)\" /D /Y /S ::xcopy "%src%*.exe" "%pub%" /D /Y...
428a5f73-fe71-4b3e-9e29-1aa3f2a8bb07
{ "language": "Batchfile" }
```batchfile @echo off setlocal set OUTDIR=%1 set JSENG=%2 set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32 :: Ensure that the cygwin mount points are defined CALL %CYGWIN_ROOT%setup_mount.bat > ...
```batchfile @echo off setlocal set OUTDIR=%1 set JSENG=%2 set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files :: Fix cp.exe on vista: without this flag, the files that it creates are not accessible. set CYGWIN=nontsec set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%...
0cba186e-8d52-407f-8305-01661422dfa1
{ "language": "Batchfile" }
```batchfile if exist classes rmdir classes /s /q mkdir classes xcopy /E /y src classes\ "%JAVA_HOME%\bin\java" -cp ../../3rdpartypublic/classext/clojure.jar;../MMCoreJ_wrap/MMCoreJ.jar;../../3rdpartypublic/classext/ij.jar;../mmstudio/MMJ_.jar;../../3rdpartypublic/classext/bsh-2.0b4.jar;./src -Dclojure.compile.path=...
```batchfile if exist classes rmdir classes /s /q mkdir classes xcopy /E /y src classes\ "%JAVA_HOME%\bin\java" -cp ../../3rdpartypublic/classext/clojure.jar;../MMCoreJ_wrap/MMCoreJ.jar;../../3rdpartypublic/classext/ij.jar;../mmstudio/MMJ_.jar;../../3rdpartypublic/classext/bsh-2.0b4.jar;./src -Dclojure.compile.path=...
0c713606-bd19-4889-8e59-c14a80ce57b1
{ "language": "Batchfile" }
```batchfile cd .. del/q scintilla.zip zip scintilla.zip scintilla\*.* scintilla\*\*.* -x *.o -x *.obj -x *.dll -x *.lib cd scintilla ``` Remove *.res from files zipped.
```batchfile cd .. del/q scintilla.zip zip scintilla.zip scintilla\*.* scintilla\*\*.* -x *.o -x *.obj -x *.dll -x *.lib -x *.res cd scintilla ```
89842544-6aa4-462b-a5fb-1155b01041a6
{ "language": "Batchfile" }
```batchfile @ECHO OFF SET BASEDIR=%~dp0.. SET USERINI=%BASEDIR%\user.ini FOR /F "tokens=1,2 delims=:" %%a in ("%STEELTOE_PCF_CREDENTIALS%") do ( set CF_USER=%%a set CF_PASS=%%b ) SET PYTHON_HOME=C:\Python36 SET DOTNET_HOME=C:\Program Files\dotnet SET MAVEN_HOME=C:\opt\apache-maven-3.3.9 ECHO [behave.userdata]...
```batchfile @ECHO OFF SET BASEDIR=%~dp0.. SET USERINI=%BASEDIR%\user.ini FOR /F "tokens=1,2 delims=:" %%a in ("%STEELTOE_PCF_CREDENTIALS%") do ( set CF_USER=%%a set CF_PASS=%%b ) SET PYTHON_HOME=C:\Python36 SET DOTNET_HOME=C:\Program Files\dotnet SET JAVA_HOME=C:\opt\oracle-jdk-8 SET MAVEN_HOME=C:\opt\apache-m...
1f3db62a-4f76-44ba-b938-98c3784ed56f
{ "language": "Batchfile" }
```batchfile @echo off cls "..\packages\NuGet.CommandLine.2.8.6\tools\NuGet.exe" "Install" "FAKE" "-OutputDirectory" "..\..\packages" "-ExcludeVersion" "..\..\packages\FAKE\tools\Fake.exe" build.fsx pause``` Remove ExcludedVersion from nuget package generation command line in buld.bat
```batchfile @echo off cls "..\packages\NuGet.CommandLine.2.8.6\tools\NuGet.exe" "Install" "FAKE" "-OutputDirectory" "..\..\packages" "..\..\packages\FAKE\tools\Fake.exe" build.fsx pause```
9a670aa0-9a4b-4d6b-b59a-9f79984fddd1
{ "language": "Batchfile" }
```batchfile @echo off set "INCLUDE=%LIBRARY_INC%;%INCLUDE%" set "LIB=%LIBRARY_LIB%;%LIB%" %PYTHON% setup.py build %PYTHON% setup.py install --single-version-externally-managed --record=record.txt``` Copy fftw library to correct file-name
```batchfile @echo off set "INCLUDE=%LIBRARY_INC%;%INCLUDE%" set "LIB=%LIBRARY_LIB%;%LIB%" xcopy %LIBRARY_LIB%\fftw3.lib %LIBRARY_LIB%\libfftw3-3.lib %PYTHON% setup.py build %PYTHON% setup.py install --single-version-externally-managed --record=record.txt```
3c9d0565-e539-4bd6-8845-8d01ec4260b9
{ "language": "Batchfile" }
```batchfile ``` Add setup batchfile for windows (currently quite naive)
```batchfile set vimdir="C:\Program Files - Portable\Vim" REM delete backup files del %vimdir%\_vimrc.bkup del %vimdir%\vimfiles\autoload\pathogen.vim.bkup REM backup existing files move %vimdir%\_vimrc %vimdir%\_vimrc.bkup move %vimdir%\vimfiles\autoload\pathogen.vim %vimdir%\vimfiles\autoload\pathogen.vim.b...
7474bb9a-247b-4733-9e01-57ad496116d5
{ "language": "Batchfile" }
```batchfile rmdir /S /Q "./build" dotnet restore ./src/Certes/project.json dotnet pack -c release -o ./build/nuget ./src/Certes/project.json dotnet restore ./src/Certes.Cli/project.json dotnet publish -f netcoreapp1.0 -c release -o ./build/cli/bin ./src/Certes.Cli/project.json @echo off echo dotnet ./bin/Certes.Cl...
```batchfile rmdir /S /Q "./build" dotnet restore ./src/Certes/project.json dotnet pack -c release -o ./build/nuget ./src/Certes/project.json dotnet restore ./src/Certes.Cli/project.json dotnet publish -f netcoreapp1.0 -c release -o ./build/cli/bin ./src/Certes.Cli/project.json @echo off echo dotnet %%^~dp0/bin/Cer...
cf940bd8-bfab-41fa-911f-d10f47e6aa78
{ "language": "Batchfile" }
```batchfile @ECHO OFF REM ========================================================================= REM REM Licensed to the Apache Software Foundation (ASF) under one or more REM contributor license agreements. See the NOTICE file distributed with REM this work for additional information regarding copyright ownershi...
```batchfile @ECHO OFF REM ========================================================================= REM REM Licensed to the Apache Software Foundation (ASF) under one or more REM contributor license agreements. See the NOTICE file distributed with REM this work for additional information regarding copyright ownershi...
f9e1fa5b-f517-4a58-b1b9-2d3969b36e5f
{ "language": "Batchfile" }
```batchfile @echo off set lighttpd_dir=%~dp0..\third_party\lighttpd\win REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be REM killed by taskkill. xcopy /D %lighttpd_dir%\lighttpd.exe %lighttpd_dir%\lighttpd_server.exe REM copy the cygwin dll to the lighttpd folder because otherwise it won...
```batchfile @echo off set lighttpd_dir=%~dp0..\third_party\lighttpd\win REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be REM killed by taskkill. xcopy /D %lighttpd_dir%\lighttpd.exe %lighttpd_dir%\lighttpd_server.exe REM copy the cygwin dll to the lighttpd folder because otherwis...
0bdbd3c8-b302-48cf-8fb1-f62ea518b1d5
{ "language": "Batchfile" }
```batchfile MSBuild.exe ../Mappy.sln /p:Configuration=Release /t:Clean,Build && python MakeReleaseZip.py --release @pause ``` Use absolute path to MSBuild in release script
```batchfile "C:/Program Files (x86)/MSBuild/14.0/bin/amd64/MSBuild.exe" ../Mappy.sln /p:Configuration=Release /t:Clean,Build && python MakeReleaseZip.py --release @pause ```
f347601a-57e1-4883-acd7-94885ac47960
{ "language": "Batchfile" }
```batchfile ``` Add Visual C++ installation script
```batchfile :: Windows Installer for Simple 2D :: This script will install includes, libraries, and DLLs for :: building Simple 2D apps. @echo off echo. echo Simple 2D and its dependencies will be installed to: echo %%LOCALAPPDATA%%\simple2d echo Resolving to %LOCALAPPDATA%\simple2d echo. set INPUT= set /p ...
68f7b78d-e1f1-48e6-bd7d-68d4ebc4fd1c
{ "language": "Batchfile" }
```batchfile mongoimport -d segmentationExample -c initial --type csv --file ..\Step1\CSVInKeys.csv --headerline``` Make a drop before import the data
```batchfile mongoimport --drop -d segmentationExample -c initial --type csv --file ..\Step1\CSVInKeys.csv --headerline```
ae0e2a65-25b9-4ee2-959f-1f6e113c6afa
{ "language": "Batchfile" }
```batchfile set CACHE=C:\cache set CYGWIN_MIRROR=http://cygwin.mirror.constant.com if _%arch%_ == _x64_ set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64 if _%arch%_ == _x86_ set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin if not exist %CACHE% mkdir %CACHE% echo Updating Cygwin and installing ninja and...
```batchfile set CACHE=C:\cache set CYGWIN_MIRROR=http://cygwin.mirror.constant.com if _%arch%_ == _x64_ set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64 if _%arch%_ == _x86_ set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin if not exist %CACHE% mkdir %CACHE% echo Updating Cygwin and installing ninja and...
c5bf3a57-5577-4ca8-9155-84f0ea18795c
{ "language": "Batchfile" }
```batchfile @echo off :: Copyright (c) 2011 The Native Client Authors. All rights reserved. :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. setlocal set NACL_SDK_ROOT=%~dp0.. :: Set the PYTHONPATH so we can import SCons modules set PYTHONPATH=%NACL...
```batchfile @echo off :: Copyright (c) 2011 The Native Client Authors. All rights reserved. :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. setlocal set NACL_SDK_ROOT=%~dp0.. :: Set the PYTHONPATH so we can import SCons modules set PYTHONPATH=%NACL...
6f211089-55cb-4a82-a2ba-51eb97f51343
{ "language": "Batchfile" }
```batchfile @echo off net session >nul 2>&1 if %errorLevel% NEQ 0 ( echo Please run this script with Administrator privileges timeout 10 > NUL EXIT /B 1 ) SET cdpath=%~dp0 echo Setting the system environment variable DOCKER_HOST reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v...
```batchfile @echo off net session >nul 2>&1 if %errorLevel% NEQ 0 ( echo Please run this script with Administrator privileges timeout 10 > NUL EXIT /B 1 ) SET cdpath=%~dp0 echo Setting the system environment variable DOCKER_HOST reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v...
62bed751-3961-44bc-9138-140697a88ab6
{ "language": "Batchfile" }
```batchfile mkdir %DEPLOYMENT% mkdir %DEPLOYMENT%\src\ mkdir src\WhiteLibrary\bin\ copy %NUGET%\Castle.Core.3.3.0\lib\net45\Castle.Core.dll src\WhiteLibrary\bin\ copy %NUGET%\TestStack.White.0.13.3\lib\net40\TestStack.White.dll src\WhiteLibrary\bin\ copy %NUGET%\TestStack.White.ScreenObjects.0.13.3\lib\net40\TestSta...
```batchfile mkdir %DEPLOYMENT% mkdir %DEPLOYMENT%\src\ mkdir src\WhiteLibrary\bin\ copy %NUGET%\Castle.Core.3.3.0\lib\net45\Castle.Core.dll src\WhiteLibrary\bin\ copy %NUGET%\TestStack.White.0.13.3\lib\net40\TestStack.White.dll src\WhiteLibrary\bin\ rmdir docs /s /q python src/WhiteLibrary/version.py > temp.txt se...
b995470a-a004-49d9-b06e-cf04c4e780c2
{ "language": "Batchfile" }
```batchfile cd .. del/q scintilla.zip zip scintilla.zip scintilla\*.* scintilla\*\*.* -x *.o -x *.obj -x *.dll -x *.lib cd scintilla ``` Remove *.res from files zipped.
```batchfile cd .. del/q scintilla.zip zip scintilla.zip scintilla\*.* scintilla\*\*.* -x *.o -x *.obj -x *.dll -x *.lib -x *.res cd scintilla ```
04dd8808-dcf7-4a03-82f4-f1e84d081807
{ "language": "Batchfile" }
```batchfile mkdir ..\..\..\workingdir mkdir ..\..\..\workingdir\components xcopy ..\..\..\das-collectionearnings-opa-calculator ..\..\..\workingdir\components /E xcopy ..\..\..\das-collectionearnings-datalock ..\..\..\workingdir\components /E xcopy ..\..\..\das-providerpayments-calculator ..\..\..\workingdir\com...
```batchfile mkdir ..\..\..\workingdir mkdir ..\..\..\workingdir\components xcopy ..\..\..\das-collectionearnings-opa-calculator ..\..\..\workingdir\components /E xcopy ..\..\..\das-collectionearnings-datalock ..\..\..\workingdir\components /E xcopy ..\..\..\das-providerpayments-calculator ..\..\..\workingdir\com...