File: batchfile

package info (click to toggle)
ruby-rouge 4.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,836 kB
  • sloc: ruby: 38,168; sed: 2,071; perl: 152; makefile: 8
file content (38 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
setlocal enableextensions enabledelayedexpansion
set result=10
set /a result +=1
set /a "row+=1,moved=1"
echo Hello >nul
echo %windir%
echo !windir!
mode con cp /status
set /a num=0xff
set /p "=qwerty." < nul
echo %~dp0
rem all okay
@rem "sample"
:: this is an empty label
attrib.exe +r file.txt 2>nul
for /f "tokens=1" %%a in ('echo hello %username% hi ^'') do echo %%~a
for /f "tokens=*" %%a in ("hello !username! hi """) do echo %%~a
for /f "tokens=* usebackq" %%a in (`echo hello !username!`) do (
for /f %%b in ("%%~a") do echo %%~b
)
for /f "usebackq" %%a in (`echo world ^``) do echo %%~a
for /f %%a in ('echo hi') do echo %%~a
call :a || goto :bye
if 5 equ 5 (
  echo are equal
  if "z"=="z" (
    echo "zeta"
  )
) else (
  echo are different
)
:bye
echo ^Hello
echo Bye
goto :eof
:a
streamlink --http-header "User-Agent: test" "https://example.com/master.m3u8" best -o output.ts