pages*/windows: fix backslash (#20616)

This commit is contained in:
Sebastiaan Speck
2026-01-08 04:14:57 +01:00
committed by GitHub
parent c82e7c6372
commit 09110e3c0f
17 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -5,4 +5,4 @@
- نمایش محتویات فایل مشخص شده:
`type {{path/to/file}}`
`type {{path\to\file}}`
+1 -1
View File
@@ -9,7 +9,7 @@
- ファイルの内容をWindowsクリップボードにコピーします:
`clip < {{path/to/file.ext}}`
`clip < {{ファイルパス.ext}}`
- 末尾に改行が付いたテキストをWindowsクリップボードにコピーします:
+6 -6
View File
@@ -5,11 +5,11 @@
- パッケージをインストール:
`winget install {{パッケージ}}`
`winget {{[add|install]}} {{パッケージ}}`
- パッケージを削除 (注意: `uninstall` の代わりに `remove` を使用することもできる):
`winget uninstall {{パッケージ}}`
`winget {{[rm|uninstall]}} {{パッケージ}}`
- パッケージに関する情報を表示:
@@ -21,16 +21,16 @@
- 全てのパッケージを最新バージョンにアップグレード:
`winget upgrade --all`
`winget upgrade {{[-r|--all]}}`
- `winget`で管理可能なインストール済パッケージを全て一覧表示:
`winget list --source winget`
`winget {{[ls|list]}} {{[-s|--source]}} winget`
- ファイルからのパッケージのインポート、またはインストールされたパッケージのファイルへのエクスポート:
`winget {{import|export}} {{--import-file|--output}} {{path/to/file}}`
`winget {{import|export}} {{--import-file|--output}} {{ファイルパス}}`
- winget-pkgs リポジトリに PR を開く前にマニフェストを検証する:
`winget validate {{path/to/manifest}}`
`winget validate {{明示パス}}`
+5 -5
View File
@@ -9,23 +9,23 @@
- シェルを使わずにLinuxコマンドを実行する:
`wsl --exec {{コマンド}} {{コマンド引数}}`
`wsl {{[-e|--exec]}} {{コマンド}} {{コマンド引数}}`
- 特定のディストリビューションを指定する:
`wsl --distribution {{ディストリビューション}} {{シェルコマンド}}`
`wsl {{[-d|--distribution]}} {{ディストリビューション}} {{シェルコマンド}}`
- 利用可能なディストリビューションを一覧表示する:
`wsl --list`
`wsl {{[-l|--list]}}`
- ディストリビューションを`.tar`ファイルにエクスポートする:
`wsl --export {{ディストリビューション}} {{path\to\distro_file.tar}}`
`wsl --export {{ディストリビューション}} {{ディストロファイルパス.tar}}`
- ディストリビューションを`.tar`ファイルからインポートする:
`wsl --import {{ディストリビューション}} {{path\to\install_location}} {{path/to/distro_file.tar}}`
`wsl --import {{ディストリビューション}} {{インストール先パス}} {{ディストロファイルパス.tar}}`
- 指定したディストリビューションで使用するwslのバージョンを変更する:
+1 -1
View File
@@ -14,7 +14,7 @@
- Рекурсивно искать файлы, соответствующие шаблону, по указанному пути:
`where /R {{path/to/directory}} {{шаблон_файла}}`
`where /R {{путь\к\каталогу}} {{шаблон_файла}}`
- Только вернуть код возврата для результата поиска файла по шаблону:
+1 -1
View File
@@ -13,4 +13,4 @@
- 在指定目录打开 Windows 文件资源管理器:
`explorer {{path/to/directory}}`
`explorer {{路径\到\目录}}`
+1 -1
View File
@@ -9,7 +9,7 @@
- Shred a file:
`bleachbit_console.exe --shred {{path/to/file}}`
`bleachbit_console.exe --shred {{path\to\file}}`
- List available cleaner options:
+1 -1
View File
@@ -17,7 +17,7 @@
- Create a new package in a custom output directory:
`choco new {{package}} {{[--out|--output-directory]}} {{path/to/directory}}`
`choco new {{package}} {{[--out|--output-directory]}} {{path\to\directory}}`
- Create a new package with specific 32-bit and 64-bit installer URLs:
+7 -7
View File
@@ -5,28 +5,28 @@
- Compile a source file:
`cl {{path/to/source.c}}`
`cl {{path\to\source.c}}`
- Compile and create an executable with a custom name:
`cl /Fe {{path/to/output_executable}} {{path/to/source.c}}`
`cl /Fe {{path\to\output_executable}} {{path\to\source.c}}`
- Compile a source file with optimization enabled:
`cl /O2 {{path/to/source.c}}`
`cl /O2 {{path\to\source.c}}`
- Compile a source file and create a debug executable:
`cl /Zi {{path/to/source.c}}`
`cl /Zi {{path\to\source.c}}`
- Compile multiple source files:
`cl {{path/to/source1.c path/to/source2.c ...}}`
`cl {{path\to\source1.c path\to\source2.c ...}}`
- Specify the output directory for compiled files:
`cl /Fo {{path/to/output_directory}}/ {{path/to/source.c}}`
`cl /Fo {{path\to\output_directory}}/ {{path\to\source.c}}`
- Compile with warnings as errors:
`cl /WX {{path/to/source.c}}`
`cl /WX {{path\to\source.c}}`
+1 -1
View File
@@ -13,4 +13,4 @@
- Set the associated program for a specific file type:
`ftype {{file_type}}="{{path/to/executable_file}}"`
`ftype {{file_type}}="{{path\to\executable_file}}"`
+6 -6
View File
@@ -5,24 +5,24 @@
- Create a static library from object files:
`lib /OUT :{{path/to/library.lib}} {{path/to/file1.obj path/to/file2.obj ...}}`
`lib /OUT :{{path\to\library.lib}} {{path\to\file1.obj path\to\file2.obj ...}}`
- List the contents of a library:
`lib /LIST {{path/to/library.lib}}`
`lib /LIST {{path\to\library.lib}}`
- Add an object file to an existing library:
`lib {{path/to/library.lib}} {{path/to/file.obj}}`
`lib {{path\to\library.lib}} {{path\to\file.obj}}`
- Remove an object file from a library:
`lib /REMOVE :{{path/to/file.obj}} {{path/to/library.lib}}`
`lib /REMOVE :{{path\to\file.obj}} {{path\to\library.lib}}`
- Extract an object file from a library:
`lib /EXTRACT :{{path/to/file.obj}} {{path/to/library.lib}}`
`lib /EXTRACT :{{path\to\file.obj}} {{path\to\library.lib}}`
- Create an import library from a DLL:
`lib /DEF :{{path/to/definition.def}} /OUT:{{path/to/import.lib}}`
`lib /DEF :{{path\to\definition.def}} /OUT:{{path\to\import.lib}}`
+1 -1
View File
@@ -9,7 +9,7 @@
- Build targets using a specific makefile:
`nmake /F {{path/to/makefile}}`
`nmake /F {{path\to\makefile}}`
- Build a specific target:
+1 -1
View File
@@ -19,7 +19,7 @@
- Execute a specific script:
`powershell -File {{path/to/script.ps1}}`
`powershell -File {{path\to\script.ps1}}`
- Start a session with a specific version of PowerShell:
+1 -1
View File
@@ -10,7 +10,7 @@
- Execute a specific Python file:
`py {{path/to/file.py}}`
`py {{path\to\file.py}}`
- Run specific Python version. If the version is missing, and `PYLAUNCHER_ALLOW_INSTALL` environment variable is set, auto-install via Microsoft Store or Winget:
+4 -4
View File
@@ -6,19 +6,19 @@
- Get information about a memory dump file:
`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.info`
`python3 vol.py {{[-f|--filename]}} {{path\to\memory_dump_file}} windows.info`
- List active processes:
`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.pslist`
`python3 vol.py {{[-f|--filename]}} {{path\to\memory_dump_file}} windows.pslist`
- List hashes of users on system:
`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.hashdump`
`python3 vol.py {{[-f|--filename]}} {{path\to\memory_dump_file}} windows.hashdump`
- List active network connections:
`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.netstat`
`python3 vol.py {{[-f|--filename]}} {{path\to\memory_dump_file}} windows.netstat`
- Display help:
+2 -2
View File
@@ -29,8 +29,8 @@
- Import packages from a file, or export installed packages to a file:
`winget {{import|export}} {{--import-file|--output}} {{path/to/file}}`
`winget {{import|export}} {{--import-file|--output}} {{path\to\file}}`
- Validate manifests before submitting a PR to the winget-pkgs repository:
`winget validate {{path/to/manifest}}`
`winget validate {{path\to\manifest}}`
+1 -1
View File
@@ -25,7 +25,7 @@
- Import a distribution from a `.tar` file:
`wsl --import {{distribution}} {{path\to\install_location}} {{path/to/distro_file.tar}}`
`wsl --import {{distribution}} {{path\to\install_location}} {{path\to\distro_file.tar}}`
- Change the version of wsl used for the specified distribution: