Advertisement
Guest User

Untitled

a guest
May 9th, 2022
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.92 KB | None | 0 0
  1. @echo off
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. @REM set %HOME% to equivalent of $HOME
  10.  
  11. if "%HOME%" == "" (set HOME=%HOMEDRIVE%%HOMEPATH%)
  12.  
  13.  
  14.  
  15. set ERROR_CODE=0
  16.  
  17.  
  18.  
  19. @REM set local scope for the variables with windows NT shell
  20.  
  21. if "%OS%"=="Windows_NT" @setlocal
  22.  
  23.  
  24.  
  25. @REM Decide how to startup depending on the version of windows
  26.  
  27.  
  28.  
  29. @REM -- Win98ME
  30.  
  31. if NOT "%OS%"=="Windows_NT" goto Win9xArg
  32.  
  33.  
  34.  
  35. @REM -- 4NT shell
  36.  
  37. if "%@eval[2+2]" == "4" goto 4NTArgs
  38.  
  39.  
  40.  
  41. @REM -- Regular WinNT shell
  42.  
  43. set CMD_LINE_ARGS=%*
  44.  
  45. goto endInit
  46.  
  47.  
  48.  
  49. @REM The 4NT Shell from jp software
  50.  
  51. :4NTArgs
  52.  
  53. set CMD_LINE_ARGS=%$
  54.  
  55. goto endInit
  56.  
  57.  
  58.  
  59. :Win9xArg
  60.  
  61. @REM Slurp the command line arguments.  This loop allows for an unlimited number
  62.  
  63. @REM of arguments (up to the command line limit, anyway).
  64.  
  65. set CMD_LINE_ARGS=
  66.  
  67. :Win9xApp
  68.  
  69. if %1a==a goto endInit
  70.  
  71. set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
  72.  
  73. shift
  74.  
  75. goto Win9xApp
  76.  
  77.  
  78.  
  79. @REM Reaching here means variables are defined and arguments have been captured
  80.  
  81. :endInit
  82.  
  83.  
  84.  
  85.  
  86.  
  87. @REM Start program
  88.  
  89. :runm2
  90.  
  91. SET CMDLINE="C:\Users\User\AppData\Local\Coursier\cache\arc\https\github.com\sbt\sbt\releases\download\v1.6.2\sbt-1.6.2.zip\sbt\bin\sbt.bat" %CMD_LINE_ARGS%
  92.  
  93. %CMDLINE%
  94.  
  95. if ERRORLEVEL 1 goto error
  96.  
  97. goto end
  98.  
  99.  
  100.  
  101. :error
  102.  
  103. if "%OS%"=="Windows_NT" @endlocal
  104.  
  105. set ERROR_CODE=1
  106.  
  107.  
  108.  
  109. :end
  110.  
  111. @REM set local scope for the variables with windows NT shell
  112.  
  113. if "%OS%"=="Windows_NT" goto endNT
  114.  
  115.  
  116.  
  117. @REM For old DOS remove the set variables from ENV - we assume they were not set
  118.  
  119. @REM before we started - at least we don't leave any baggage around
  120.  
  121. set CMD_LINE_ARGS=
  122.  
  123. set CMDLINE=
  124.  
  125. goto postExec
  126.  
  127.  
  128.  
  129. :endNT
  130.  
  131. @endlocal
  132.  
  133.  
  134.  
  135. :postExec
  136.  
  137. exit /B %ERROR_CODE%
  138.  
  139. PK\0\0 Y T\0\0\0\0\0\0\0\0\0\0\0\0\0 \0META-INF/coursier/info.jsonUT\0 Xwb]P N 0  W   T q p    qp[   q;E j    8X c<    4*b  B "  y    K r z,    Fq2<   t9     s  bX w  m L(z  b4 ;1y     r 0J =W  Y   $#}   =  8 [<O|*[Jb /; <  w+J? |{  c s  U e[+    2  
  140.     ^1>  > "  V A    0 s   uRP 6  "       7 m~ #   #    a  KA   d    [_F p9|PKFQx@\0\0 \0\0PK\0\0 Y T\0\0\0\0\0\0\0\0\0\0\0\0\0    \0META-INF/coursier/lock-fileUT\0 Xwb = 0 @  t&n\0'1{O    @%N    '}C sj\0>cVV     n I| }    {  2    O   xum     |L-  ' V  8wz  PK     g\0\0\0p\0\0\0PK\0\0 Y T\0\0\0\0\0\0\0\0\0\0\0\0"\0 \0META-INF/coursier/info-source.jsonUT\0 XwbE Aj1 E    f ]   1Aq4 cK &    t      }9     n    R     r a{;     $.D  3 \( [ w ! * 'W   PZ   +VTn5A    P I  )n   7  L    Wq  9  S 8 g   C Ex6     LvQ \0~ _
  141. W  L`KG  \0PKO]%  \0\0\0 \0\0\0PK\0\0\0 Y TFQx@\0\0 \0\0\0    \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0META-INF/coursier/info.jsonUT\0 XwbPK\0\0\0 Y T   g\0\0\0p\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0p\0\0META-INF/coursier/lock-fileUT\0 XwbPK\0\0\0 Y TO]%  \0\0\0 \0\0\0"\0   \0\0\0\0\0\0\0\0\0\0\0)\0\0META-INF/coursier/info-source.jsonUT\0 XwbPK\0\0\0\0\0\0 \0\0\0<\0\0\0\0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement