diff --git a/pages/windows/azcopy.md b/pages/windows/azcopy.md index ab074b6d83..b0977d5c24 100644 --- a/pages/windows/azcopy.md +++ b/pages/windows/azcopy.md @@ -9,11 +9,11 @@ - Upload a local file: -`azcopy copy '{{path/to/source/file}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}/{{blob_name}}'` +`azcopy copy '{{path\to\source_file}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}/{{blob_name}}'` - Upload files with `.txt` and `.jpg` extensions: -`azcopy copy '{{path/to/source}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --include-pattern '{{*.txt;*.jpg}}'` +`azcopy copy '{{path\to\source_directory}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --include-pattern '{{*.txt;*.jpg}}'` - Copy a container directly between two Azure storage accounts: @@ -21,7 +21,7 @@ - Synchronize a local directory and delete files in the destination if they no longer exist in the source: -`azcopy sync '{{path/to/source}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --recursive --delete-destination=true` +`azcopy sync '{{path\to\source_directory}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --recursive --delete-destination=true` - Display detailed usage information: diff --git a/pages/windows/choco-install.md b/pages/windows/choco-install.md index 50609adb40..b8617a709f 100644 --- a/pages/windows/choco-install.md +++ b/pages/windows/choco-install.md @@ -5,15 +5,15 @@ - Install one or more space-separated packages: -`choco install {{package(s)}}` +`choco install {{package1 package2 ...}}` - Install packages from a custom configuration file: -`choco install {{path/to/packages.config}}` +`choco install {{path\to\packages_file.config}}` - Install a specific nuspec or nupkg file: -`choco install {{path/to/file}}` +`choco install {{path\to\file}}` - Install a specific version of a package: diff --git a/pages/windows/choco-pack.md b/pages/windows/choco-pack.md index 9ff7851edd..2e8ff24caf 100644 --- a/pages/windows/choco-pack.md +++ b/pages/windows/choco-pack.md @@ -5,12 +5,12 @@ - Package a NuGet specification to a nupkg file: -`choco pack {{path/to/specification}}` +`choco pack {{path\to\specification_file}}` - Package a NuGet specification specifying the version of the resulting file: -`choco pack {{path/to/specification}} --version {{version}}` +`choco pack {{path\to\specification_file}} --version {{version}}` - Package a NuGet specification to a specific directory: -`choco pack {{path/to/specification}} --output-directory {{path/to/output_directory}}` +`choco pack {{path\to\specification_file}} --output-directory {{path\to\output_directory}}` diff --git a/pages/windows/choco-source.md b/pages/windows/choco-source.md index 4e39f52463..a208768b66 100644 --- a/pages/windows/choco-source.md +++ b/pages/windows/choco-source.md @@ -17,7 +17,7 @@ - Add a new package source with a client certificate: -`choco source add --name {{name}} --source {{url}} --cert {{path/to/certificate}}` +`choco source add --name {{name}} --source {{url}} --cert {{path\to\certificate_file}}` - Enable a package source: diff --git a/pages/windows/choco-uninstall.md b/pages/windows/choco-uninstall.md index fbacf26cf7..3344ac19a5 100644 --- a/pages/windows/choco-uninstall.md +++ b/pages/windows/choco-uninstall.md @@ -5,7 +5,7 @@ - Uninstall one or more space-separated packages: -`choco uninstall {{package(s)}}` +`choco uninstall {{package1 package2 ...}}` - Uninstall a specific version of a package: diff --git a/pages/windows/choco-upgrade.md b/pages/windows/choco-upgrade.md index 4326f86b17..8d69d29650 100644 --- a/pages/windows/choco-upgrade.md +++ b/pages/windows/choco-upgrade.md @@ -5,7 +5,7 @@ - Upgrade one or more space-separated packages: -`choco upgrade {{package(s)}}` +`choco upgrade {{package1 package2 ...}}` - Upgrade to a specific version of a package: @@ -17,7 +17,7 @@ - Upgrade all except specified comma-separated packages: -`choco upgrade all --except "{{package(s)}}"` +`choco upgrade all --except "{{package1 package2 ...}}"` - Confirm all prompts automatically: diff --git a/pages/windows/cipher.md b/pages/windows/cipher.md index add273c99c..cec10723c6 100644 --- a/pages/windows/cipher.md +++ b/pages/windows/cipher.md @@ -5,16 +5,16 @@ - Display information about a specific encrypted file or directory: -`cipher /c:{{path/to/file_or_directory}}` +`cipher /c:{{path\to\file_or_directory}}` - [e]ncrypt a file or directory (files added later to the directory are also encrypted as the directory is marked): -`cipher /e:{{path/to/file_or_directory}}` +`cipher /e:{{path\to\file_or_directory}}` - [d]ecrypt a file or directory: -`cipher /d:{{path/to/file_or_directory}}` +`cipher /d:{{path\to\file_or_directory}}` - Securely remove a file or directory: -`cipher /w:{{path/to/file_or_directory}}` +`cipher /w:{{path\to\file_or_directory}}` diff --git a/pages/windows/clip.md b/pages/windows/clip.md index c0d9ed62e7..d1f5749b47 100644 --- a/pages/windows/clip.md +++ b/pages/windows/clip.md @@ -9,7 +9,7 @@ - Copy the contents of a file to the Windows clipboard: -`clip < {{path/to/file.ext}}` +`clip < {{path\to\file.ext}}` - Copy text with a trailing newline to the Windows clipboard: diff --git a/pages/windows/cmd.md b/pages/windows/cmd.md index e86fd4ef69..bb0b7966df 100644 --- a/pages/windows/cmd.md +++ b/pages/windows/cmd.md @@ -13,7 +13,7 @@ - Execute a specific script: -`cmd {{path/to/script.bat}}` +`cmd {{path\to\script.bat}}` - Execute specific commands and then enter an interactive shell: diff --git a/pages/windows/cmstp.md b/pages/windows/cmstp.md index 914b25af6a..3e3de0325c 100644 --- a/pages/windows/cmstp.md +++ b/pages/windows/cmstp.md @@ -5,32 +5,32 @@ - Install a specific profile: -`cmstp "{{path/to/profile}}"` +`cmstp "{{path\to\profile_file}}"` - Install without creating a desktop shortcut: -`cmstp /ns "{{path/to/profile}}"` +`cmstp /ns "{{path\to\profile_file}}"` - Install without checking for dependencies: -`cmstp /nf "{{path/to/profile}}"` +`cmstp /nf "{{path\to\profile_file}}"` - Only install for the current user: -`cmstp /su "{{path/to/profile}}"` +`cmstp /su "{{path\to\profile_file}}"` - Install for all users (requires administrator privileges): -`cmstp /au "{{path/to/profile}}"` +`cmstp /au "{{path\to\profile_file}}"` - Install silently without any prompts: -`cmstp /s "{{path/to/profile}}"` +`cmstp /s "{{path\to\profile_file}}"` - Uninstall a specific profile: -`cmstp /u "{{path/to/profile}}"` +`cmstp /u "{{path\to\profile_file}}"` - Uninstall silently without a confirmation prompt: -`cmstp /u /s "{{path/to/profile}}"` +`cmstp /u /s "{{path\to\profile_file}}"` diff --git a/pages/windows/comp.md b/pages/windows/comp.md index 3ff1849a1c..00e0a4ce76 100644 --- a/pages/windows/comp.md +++ b/pages/windows/comp.md @@ -10,28 +10,28 @@ - Compare two specified files: -`comp {{path/to/file_1}} {{path/to/file_2}}` +`comp {{path\to\file1}} {{path\to\file2}}` - Compare two sets of files: -`comp {{path/to/directory_1/*}} {{path/to/directory_2/*}}` +`comp {{path\to\directory1}}\* {{path\to\directory2}}\*` - Display differences in decimal format: -`comp /d {{path/to/file_1}} {{path/to/file_2}}` +`comp /d {{path\to\file1}} {{path\to\file2}}` - Display differences in ASCII format: -`comp /a {{path/to/file_1}} {{path/to/file_2}}` +`comp /a {{path\to\file1}} {{path\to\file2}}` - Display line numbers for differences: -`comp /l {{path/to/file_1}} {{path/to/file_2}}` +`comp /l {{path\to\file1}} {{path\to\file2}}` - Compare files case-insensitively: -`comp /c {{path/to/file_1}} {{path/to/file_2}}` +`comp /c {{path\to\file1}} {{path\to\file2}}` - Compare only the first 5 lines of each file: -`comp /n={{5}} {{path/to/file_1}} {{path/to/file_2}}` +`comp /n={{5}} {{path\to\file1}} {{path\to\file2}}` diff --git a/pages/windows/dir.md b/pages/windows/dir.md index ec1d0bc100..5e38507c21 100644 --- a/pages/windows/dir.md +++ b/pages/windows/dir.md @@ -9,7 +9,7 @@ - Show the contents of a given directory: -`dir {{path/to/directory}}` +`dir {{path\to\directory}}` - Show the contents of the current directory, including hidden ones: @@ -17,4 +17,4 @@ - Show the contents of a given directory, including hidden ones: -`dir {{path/to/directory}} /A` +`dir {{path\to\directory}} /A` diff --git a/pages/windows/doskey.md b/pages/windows/doskey.md index e2ae6ade47..e8e9ab090f 100644 --- a/pages/windows/doskey.md +++ b/pages/windows/doskey.md @@ -25,8 +25,8 @@ - Save macros to a file for portability: -`doskey /macros > {{macinit}}` +`doskey /macros > {{path\to\macinit_file}}` - Load macros from a file: -`doskey /macrofile = {{macinit}}` +`doskey /macrofile = {{path\to\macinit_file}}` diff --git a/pages/windows/exit.md b/pages/windows/exit.md index 5d5aff9b81..2fdc937d04 100644 --- a/pages/windows/exit.md +++ b/pages/windows/exit.md @@ -13,4 +13,4 @@ - Quit using a specific exit code: -`exit {{exit_code}}` +`exit {{2}}` diff --git a/pages/windows/expand.md b/pages/windows/expand.md index fa8f37c1f5..da660593a9 100644 --- a/pages/windows/expand.md +++ b/pages/windows/expand.md @@ -5,20 +5,20 @@ - Uncompress a single-file Cabinet file to the specified directory: -`expand {{path/to/file.cab}} {{path/to/directory}}` +`expand {{path\to\file.cab}} {{path\to\directory}}` - Display the list of files in a source Cabinet file: -`expand {{path/to/file.cab}} {{path/to/directory}} -d` +`expand {{path\to\file.cab}} {{path\to\directory}} -d` - Uncompress all files from the Cabinet file: -`expand {{path/to/file.cab}} {{path/to/directory}} -f:*` +`expand {{path\to\file.cab}} {{path\to\directory}} -f:*` - Uncompress a specific file from a Cabinet file: -`expand {{path/to/file.cab}} {{path/to/directory}} -f:{{file}}` +`expand {{path\to\file.cab}} {{path\to\directory}} -f:{{path\to\file}}` - Ignore the directory structure when uncompressing, and add them to a single directory: -`expand {{path/to/file.cab}} {{path/to/directory}} -i` +`expand {{path\to\file.cab}} {{path\to\directory}} -i` diff --git a/pages/windows/explorer.md b/pages/windows/explorer.md index 15fc1b560b..30251b8119 100644 --- a/pages/windows/explorer.md +++ b/pages/windows/explorer.md @@ -13,4 +13,4 @@ - Open Windows Explorer in a specific directory: -`explorer {{path/to/directory}}` +`explorer {{path\to\directory}}` diff --git a/pages/windows/fc.md b/pages/windows/fc.md index 175d0d3e1b..632fef9b8b 100644 --- a/pages/windows/fc.md +++ b/pages/windows/fc.md @@ -6,28 +6,28 @@ - Compare 2 specified files: -`fc {{path/to/file_1}} {{path/to/file_2}}` +`fc {{path\to\file1}} {{path\to\file2}}` - Perform a case-insensitive comparison: -`fc /c {{path/to/file_1}} {{path/to/file_2}}` +`fc /c {{path\to\file1}} {{path\to\file2}}` - Compare files as Unicode text: -`fc /u {{path/to/file_1}} {{path/to/file_2}}` +`fc /u {{path\to\file1}} {{path\to\file2}}` - Compare files as ASCII text: -`fc /l {{path/to/file_1}} {{path/to/file_2}}` +`fc /l {{path\to\file1}} {{path\to\file2}}` - Compare files as binary: -`fc /b {{path/to/file_1}} {{path/to/file_2}}` +`fc /b {{path\to\file1}} {{path\to\file2}}` - Disable tab-to-space expansion: -`fc /t {{path/to/file_1}} {{path/to/file_2}}` +`fc /t {{path\to\file1}} {{path\to\file2}}` - Compress whitespace (tabs and spaces) for comparisons: -`fc /w {{path/to/file_1}} {{path/to/file_2}}` +`fc /w {{path\to\file1}} {{path\to\file2}}` diff --git a/pages/windows/find.md b/pages/windows/find.md index 1a39172840..a931846137 100644 --- a/pages/windows/find.md +++ b/pages/windows/find.md @@ -5,16 +5,16 @@ - Find lines that contain a specified string: -`find "{{string}}" {{path/to/file_or_directory}}` +`find "{{string}}" {{path\to\file_or_directory}}` - Display lines that do not contain the specified string: -`find "{{string}}" {{path/to/file_or_directory}} /v` +`find "{{string}}" {{path\to\file_or_directory}} /v` - Display the count of lines that contain the specified string: -`find "{{string}}" {{path/to/file_or_directory}} /c` +`find "{{string}}" {{path\to\file_or_directory}} /c` - Display line numbers with the list of lines: -`find "{{string}}" {{path/to/file_or_directory}} /n` +`find "{{string}}" {{path\to\file_or_directory}} /n` diff --git a/pages/windows/for.md b/pages/windows/for.md index 701c4b5c5c..01bde03a4b 100644 --- a/pages/windows/for.md +++ b/pages/windows/for.md @@ -13,11 +13,11 @@ - Iterate over a given list of files: -`for %{{variable}} in ({{file_a.ext file_b.ext file_c.ext}}) do ({{echo Loop is executed}})` +`for %{{variable}} in ({{path\to\file1.ext path\to\file2.ext ...}}) do ({{echo Loop is executed}})` - Iterate over a given list of directories: -`for /d %{{variable}} in ({{directory_a/ directory_b/ directory_c/}}) do ({{echo Loop is executed}})` +`for /d %{{variable}} in ({{path\to\directory1.ext path\to\directory2.ext ...}}) do ({{echo Loop is executed}})` - Perform a given command in every directory: diff --git a/pages/windows/forfiles.md b/pages/windows/forfiles.md index 9e5984f494..5b1a4bde21 100644 --- a/pages/windows/forfiles.md +++ b/pages/windows/forfiles.md @@ -9,7 +9,7 @@ - Search for files in a specific directory: -`forfiles /p {{path/to/directory}}` +`forfiles /p {{path\to\directory}}` - Run the specified command for each file: @@ -25,4 +25,4 @@ - Search for files older than 5 days: -`forfiles /d {{+5}}` +`forfiles /d +{{5}}` diff --git a/pages/windows/ftp.md b/pages/windows/ftp.md index 035bcc3431..5c8a6cff0b 100644 --- a/pages/windows/ftp.md +++ b/pages/windows/ftp.md @@ -17,7 +17,7 @@ - Run a file containing a list of FTP commands: -`ftp -s:{{path/to/file}} {{host}}` +`ftp -s:{{path\to\file}} {{host}}` - Download multiple files (glob expression): diff --git a/pages/windows/ftype.md b/pages/windows/ftype.md index ab71b111e2..bfa689dad3 100644 --- a/pages/windows/ftype.md +++ b/pages/windows/ftype.md @@ -13,4 +13,4 @@ - Set the associated program for a specific file type: -`ftype {{file_type}}="{{path/to/executable_command}}"` +`ftype {{file_type}}="{{path/to/executable_file}}"` diff --git a/pages/windows/get-acl.md b/pages/windows/get-acl.md index 682f9bbefb..1f1cb3a770 100644 --- a/pages/windows/get-acl.md +++ b/pages/windows/get-acl.md @@ -6,7 +6,7 @@ - Display the ACL for a specific directory: -`Get-Acl {{path/to/directory}}` +`Get-Acl {{path\to\directory}}` - Get an ACL for a registry key: diff --git a/pages/windows/get-childitem.md b/pages/windows/get-childitem.md index f0641a6dfb..008ed35c7b 100644 --- a/pages/windows/get-childitem.md +++ b/pages/windows/get-childitem.md @@ -22,4 +22,4 @@ - List items in a directory other than the current one: -`Get-ChildItem -Path {{path/to/directory}}` +`Get-ChildItem -Path {{path\to\directory}}` diff --git a/pages/windows/get-content.md b/pages/windows/get-content.md index cdcb4834dc..81aed61615 100644 --- a/pages/windows/get-content.md +++ b/pages/windows/get-content.md @@ -6,12 +6,12 @@ - Display the content of a file: -`Get-Content -Path {{path/to/file}}` +`Get-Content -Path {{path\to\file}}` - Display the first few lines of a file: -`Get-Content -Path {{path/to/file}} -TotalCount {{count}}` +`Get-Content -Path {{path\to\file}} -TotalCount {{10}}` - Display the content of the file and keep reading from it until `Ctrl + C` is pressed: -`Get-Content -Path {{path/to/file}} -Wait` +`Get-Content -Path {{path\to\file}} -Wait` diff --git a/pages/windows/get-filehash.md b/pages/windows/get-filehash.md index 34ad12160f..cf2f5941b7 100644 --- a/pages/windows/get-filehash.md +++ b/pages/windows/get-filehash.md @@ -6,8 +6,8 @@ - Calculate a hash for a specified file using the SHA256 algorithm: -`Get-FileHash {{path/to/file}}` +`Get-FileHash {{path\to\file}}` - Calculate a hash for a specified file using a specified algorithm: -`Get-FileHash {{path/to/file}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}` +`Get-FileHash {{path\to\file}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}` diff --git a/pages/windows/get-history.md b/pages/windows/get-history.md index fa5fbb5eb1..5522df3eac 100644 --- a/pages/windows/get-history.md +++ b/pages/windows/get-history.md @@ -14,4 +14,4 @@ - Display the last N commands: -`Get-History -Count {{count}}` +`Get-History -Count {{10}}` diff --git a/pages/windows/if.md b/pages/windows/if.md index db77b50c4a..5d412196bf 100644 --- a/pages/windows/if.md +++ b/pages/windows/if.md @@ -17,7 +17,7 @@ - Check whether `%errorlevel%` is greater than or equal to the specified exit code: -`if errorlevel {{exit_code}} ({{echo Condition is true}})` +`if errorlevel {{2}} ({{echo Condition is true}})` - Check whether two strings are equal: @@ -29,4 +29,4 @@ - Check whether a file exist: -`if exist {{path/to/file}} ({{echo Condition is true}})` +`if exist {{path\to\file}} ({{echo Condition is true}})` diff --git a/pages/windows/invoke-item.md b/pages/windows/invoke-item.md index 725b29f941..c6201bce6b 100644 --- a/pages/windows/invoke-item.md +++ b/pages/windows/invoke-item.md @@ -6,24 +6,24 @@ - Open a file in its default program: -`Invoke-Item -Path {{path/to/file}}` +`Invoke-Item -Path {{path\to\file}}` - Open all files inside a directory: -`Invoke-Item -Path {{path/to/directory/*}}` +`Invoke-Item -Path {{path\to\directory}}\*` - Open all PNGs inside a directory: -`Invoke-Item -Path {{path/to/directory/*.png}}` +`Invoke-Item -Path {{path\to\directory}}\*.png` - Open all files inside a directory containing a specific keyword: -`Invoke-Item -Path {{path/to/directory/*}} -Include {{*keyword*}}` +`Invoke-Item -Path {{path\to\directory}}\* -Include {{*keyword*}}` - Open all files inside a directory except those containing a specific keyword: -`Invoke-Item -Path {{path/to/directory/*}} -Exclude {{*keyword*}}` +`Invoke-Item -Path {{path\to\directory}}\* -Exclude {{*keyword*}}` - Perform a dry run to determine which files will be opened inside a directory through `Invoke-Item`: -`Invoke-Item -Path {{path/to/directory/*}} -WhatIf` +`Invoke-Item -Path {{path\to\directory}}\* -WhatIf` diff --git a/pages/windows/invoke-webrequest.md b/pages/windows/invoke-webrequest.md index d6538ab2a9..c0c2a3bbb3 100644 --- a/pages/windows/invoke-webrequest.md +++ b/pages/windows/invoke-webrequest.md @@ -6,7 +6,7 @@ - Download the contents of a URL to a file: -`Invoke-WebRequest {{http://example.com}} -OutFile {{filename}}` +`Invoke-WebRequest {{http://example.com}} -OutFile {{path\to\file}}` - Send form-encoded data (POST request of type `application/x-www-form-urlencoded`): diff --git a/pages/windows/iscc.md b/pages/windows/iscc.md index b81c52df43..de5933da21 100644 --- a/pages/windows/iscc.md +++ b/pages/windows/iscc.md @@ -6,12 +6,12 @@ - Compile an Inno Setup script: -`iscc {{path/to/file.iss}}` +`iscc {{path\to\file.iss}}` - Quietly compile an Inno Setup installer: -`iscc /Q {{path/to/file.iss}}` +`iscc /Q {{path\to\file.iss}}` - Compile a signed Inno Setup installer: -`iscc /S={{name}}={{command}} {{path/to/file.iss}}` +`iscc /S={{name}}={{command}} {{path\to\file.iss}}` diff --git a/pages/windows/measure-object.md b/pages/windows/measure-object.md index ad96244720..c4950ca813 100644 --- a/pages/windows/measure-object.md +++ b/pages/windows/measure-object.md @@ -10,4 +10,4 @@ - Pipe input to Measure-Command (objects that are piped to `Measure-Command` are available to the script block that is passed to the Expression parameter): -`"One", "Two", "Three", "Four" | Set-Content -Path "{{path/to/file}}"; Get-Content "{{path/to/file}}"; | Measure-Object -Character -Line -Word` +`"One", "Two", "Three", "Four" | Set-Content -Path "{{path\to\file}}"; Get-Content "{{path\to\file}}"; | Measure-Object -Character -Line -Word` diff --git a/pages/windows/mkdir.md b/pages/windows/mkdir.md index 785e9b0dcc..aa4933206a 100644 --- a/pages/windows/mkdir.md +++ b/pages/windows/mkdir.md @@ -5,8 +5,8 @@ - Create a directory: -`mkdir {{path/to/directory}}` +`mkdir {{path\to\directory}}` - Create a nested directory tree recursively: -`mkdir {{path/to/sub_directory}}` +`mkdir {{path\to\sub_directory}}` diff --git a/pages/windows/mklink.md b/pages/windows/mklink.md index fb07fa1d10..0d7a78f246 100644 --- a/pages/windows/mklink.md +++ b/pages/windows/mklink.md @@ -5,16 +5,16 @@ - Create a symbolic link to a file: -`mklink {{path/to/link}} {{path/to/source_file}}` +`mklink {{path\to\link_file}} {{path\to\source_file}}` - Create a symbolic link to a directory: -`mklink /d {{path/to/link}} {{path/to/source_directory}}` +`mklink /d {{path\to\link_file}} {{path\to\source_directory}}` - Create a hard link to a file: -`mklink /h {{path/to/link}} {{path/to/source_file}}` +`mklink /h {{path\to\link_file}} {{path\to\source_file}}` - Create a directory junction: -`mklink /j {{path/to/link}} {{path/to/source_file}}` +`mklink /j {{path\to\link_file}} {{path\to\source_file}}` diff --git a/pages/windows/more.md b/pages/windows/more.md index 302d33c56e..40b7fdd134 100644 --- a/pages/windows/more.md +++ b/pages/windows/more.md @@ -9,23 +9,23 @@ - Display paginated output from one or more files: -`more {{path/to/file}}` +`more {{path\to\file}}` - Convert tabs to the specified number of spaces: -`more {{path/to/file}} /t{{spaces}}` +`more {{path\to\file}} /t{{spaces}}` - Clear the screen before displaying the page: -`more {{path/to/file}} /c` +`more {{path\to\file}} /c` - Display the output starting at line 5: -`more {{path/to/file}} +{{5}}` +`more {{path\to\file}} +{{5}}` - Enable extended interactive mode (see help for usage): -`more {{path/to/file}} /e` +`more {{path\to\file}} /e` - Display full usage information: diff --git a/pages/windows/msg.md b/pages/windows/msg.md index 262262456b..21ca84d9ec 100644 --- a/pages/windows/msg.md +++ b/pages/windows/msg.md @@ -21,4 +21,4 @@ - Set a delay in seconds for a message: -`msg /time:{{seconds}}` +`msg /time:{{10}}` diff --git a/pages/windows/msiexec.md b/pages/windows/msiexec.md index ee90c1c37a..5cff718a5b 100644 --- a/pages/windows/msiexec.md +++ b/pages/windows/msiexec.md @@ -5,7 +5,7 @@ - Install a program from its MSI package: -`msiexec /package {{path/to/file.msi}}` +`msiexec /package {{path\to\file.msi}}` - Install a MSI package from a website: @@ -13,8 +13,8 @@ - Install a MSP patch file: -`msiexec /update {{path/to/file.msp}}` +`msiexec /update {{path\to\file.msp}}` - Uninstall a program or patch using their respective MSI or MSP file: -`msiexec /uninstall {{path/to/file}}` +`msiexec /uninstall {{path\to\file}}` diff --git a/pages/windows/pabcnetcclear.md b/pages/windows/pabcnetcclear.md index 5f37c3b2d1..952311bd99 100644 --- a/pages/windows/pabcnetcclear.md +++ b/pages/windows/pabcnetcclear.md @@ -5,20 +5,20 @@ - Compile the specified source file into an executable with the same name: -`pabcnetcclear {{path/to/source_file.pas}}` +`pabcnetcclear {{path\to\source_file.pas}}` - Compile the specified source file into an executable with the specified name: -`pabcnetcclear /Output:{{path/to/file.exe}} {{path/to/source_file.pas}}` +`pabcnetcclear /Output:{{path\to\_file.exe}} {{path\to\source_file.pas}}` - Compile the specified source file into an executable with the same name along with/without debug information: -`pabcnetcclear /Debug:{{0|1}} {{path/to/source_file.pas}}` +`pabcnetcclear /Debug:{{0|1}} {{path\to\source_file.pas}}` - Allow units to be searched in the specified path while compiling the source file into an executable with the same name: -`pabcnetcclear /SearchDir:{{path/to/dir}} {{path/to/source_file.pas}}` +`pabcnetcclear /SearchDir:{{path\to\directory}} {{path\to\source_file.pas}}` - Compile the specified source file into an executable, defining a symbol: -`pabcnetcclear /Define:{{symbol}} {{path/to/source_file.pas}}` +`pabcnetcclear /Define:{{symbol}} {{path\to\source_file.pas}}` diff --git a/pages/windows/path.md b/pages/windows/path.md index b834729216..9bc6d667f5 100644 --- a/pages/windows/path.md +++ b/pages/windows/path.md @@ -9,11 +9,11 @@ - Set the path to one or more semicolon-separated directories: -`path {{path/to/directory(s)}}` +`path {{path\to\directory1 path\to\directory2 ...}}` - Append a new directory to the original path: -`path {{path/to/directory}};%path%` +`path {{path\to\directory}};%path%` - Set command prompt to only search the current directory for executables: diff --git a/pages/windows/pipwin.md b/pages/windows/pipwin.md index 7155fa3292..caf7c142de 100644 --- a/pages/windows/pipwin.md +++ b/pages/windows/pipwin.md @@ -21,8 +21,8 @@ - Download a package to a specific directory: -`pipwin download --dest {{path/to/directory}} {{package_name}}` +`pipwin download --dest {{path\to\directory}} {{package_name}}` - Install packages according to `requirements.txt`: -`pipwin install --file {{path/to/requirements.txt}}` +`pipwin install --file {{path\to\requirements.txt}}` diff --git a/pages/windows/print.md b/pages/windows/print.md index 9a97c1295d..75f90475b1 100644 --- a/pages/windows/print.md +++ b/pages/windows/print.md @@ -5,8 +5,8 @@ - Print a text file to the default printer: -`print {{path/to/file}}` +`print {{path\to\file}}` - Print a text file to a specific printer: -`print /d:{{printer}} {{path/to/file}}` +`print /d:{{printer}} {{path\to\file}}` diff --git a/pages/windows/psexec.md b/pages/windows/psexec.md index 24b7ceede4..1faeec8d7e 100644 --- a/pages/windows/psexec.md +++ b/pages/windows/psexec.md @@ -14,7 +14,7 @@ - Execute a command remotely and output the result to a file: -`psexec \\{{remote_host}} cmd /c {{command}} -an ^>{{path/to/file.txt}}` +`psexec \\{{remote_host}} cmd /c {{command}} -an ^>{{path\to\file.txt}}` - Execute a program to interact with users: diff --git a/pages/windows/pushd.md b/pages/windows/pushd.md index 8c546792a6..d9e8ef2c64 100644 --- a/pages/windows/pushd.md +++ b/pages/windows/pushd.md @@ -6,4 +6,4 @@ - Switch to directory and push it on the stack: -`pushd {{path/to/directory}}` +`pushd {{path\to\directory}}` diff --git a/pages/windows/rdpsign.md b/pages/windows/rdpsign.md index 3635e9f565..7999279e65 100644 --- a/pages/windows/rdpsign.md +++ b/pages/windows/rdpsign.md @@ -5,20 +5,20 @@ - Sign an RDP file: -`rdpsign {{path/to/file.rdp}}` +`rdpsign {{path\to\file.rdp}}` - Sign an RDP file using a specific sha256 hash: -`rdpsign {{path/to/file.rdp}} /sha265 {{hash}}` +`rdpsign {{path\to\file.rdp}} /sha265 {{hash}}` - Enable quiet output: -`rdpsign {{path/to/file.rdp}} /q` +`rdpsign {{path\to\file.rdp}} /q` - Display verbose warnings, messages and statuses: -`rdpsign {{path/to/file.rdp}} /v` +`rdpsign {{path\to\file.rdp}} /v` - Test the signing by displaying the output to `stdout` without updating the file: -`rdpsign {{path/to/file.rdp}} /l` +`rdpsign {{path\to\file.rdp}} /l` diff --git a/pages/windows/reg-export.md b/pages/windows/reg-export.md index c8323e82c5..034afdf420 100644 --- a/pages/windows/reg-export.md +++ b/pages/windows/reg-export.md @@ -5,8 +5,8 @@ - Export all sub keys and values of a specific key: -`reg export {{key_name}} {{path/to/file.reg}}` +`reg export {{key_name}} {{path\to\file.reg}}` - Force overwriting of an existing file without prompt: -`reg export {{key_name}} {{path/to/file.reg}} /y` +`reg export {{key_name}} {{path\to\file.reg}} /y` diff --git a/pages/windows/reg-import.md b/pages/windows/reg-import.md index e042bfcd8e..938f065d85 100644 --- a/pages/windows/reg-import.md +++ b/pages/windows/reg-import.md @@ -5,4 +5,4 @@ - Import all keys, subkeys and values from a file: -`reg import {{path/to/file.reg}}` +`reg import {{path\to\file.reg}}` diff --git a/pages/windows/reg-load.md b/pages/windows/reg-load.md index 77cb8ad531..686ca88af1 100644 --- a/pages/windows/reg-load.md +++ b/pages/windows/reg-load.md @@ -6,4 +6,4 @@ - Load a backup file into the specified key: -`reg load {{key_name}} {{path/to/file}}` +`reg load {{key_name}} {{path\to\file}}` diff --git a/pages/windows/reg-restore.md b/pages/windows/reg-restore.md index 8ee399fea0..00087338e4 100644 --- a/pages/windows/reg-restore.md +++ b/pages/windows/reg-restore.md @@ -6,4 +6,4 @@ - Overwrite a specified key with data from a backup file: -`reg restore {{key_name}} {{path/to/file}}` +`reg restore {{key_name}} {{path\to\file}}` diff --git a/pages/windows/reg-save.md b/pages/windows/reg-save.md index 911a340cf2..fb2d876661 100644 --- a/pages/windows/reg-save.md +++ b/pages/windows/reg-save.md @@ -5,8 +5,8 @@ - Save a registry key, its sub keys and values to a specific file: -`reg save {{key_name}} {{path/to/file}}` +`reg save {{key_name}} {{path\to\file}}` - Forcefully overwrite an existing file without a prompt: -`reg save {{key_name}} {{path/to/file}} /y` +`reg save {{key_name}} {{path\to\file}} /y` diff --git a/pages/windows/repair-bde.md b/pages/windows/repair-bde.md index 57cb35bb41..2ece75fc9e 100644 --- a/pages/windows/repair-bde.md +++ b/pages/windows/repair-bde.md @@ -13,7 +13,7 @@ - Attempt to repair a specified volume using the provided recovery key file: -`repair-bde {{C:}} -RecoveryKey {{path/to/file.bek}}` +`repair-bde {{C:}} -RecoveryKey {{path\to\file.bek}}` - Attempt to repair a specified volume using the provided numerical recovery password: @@ -25,11 +25,11 @@ - Attempt to repair a specified volume using the provided key package: -`repair-bde {{C:}} -KeyPackage {{path/to/directory}}` +`repair-bde {{C:}} -KeyPackage {{path\to\directory}}` - Log all output to a specific file: -`repair-bde {{C:}} -LogFile {{path/to/file}}` +`repair-bde {{C:}} -LogFile {{path\to\file}}` - Display all available options: diff --git a/pages/windows/replace.md b/pages/windows/replace.md index 9f41059e10..f21363d3dc 100644 --- a/pages/windows/replace.md +++ b/pages/windows/replace.md @@ -6,31 +6,31 @@ - Replace the destination file with the one from the source directory: -`replace {{path/to/file_or_directory}} {{path/to/destination}}` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}}` - Add files to the destination directory instead of replacing existing files: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /a` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /a` - Interactively copy multiple files, with a prompt before replacing or adding a destination file: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /p` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /p` - Replace even read only files: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /r` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /r` - Wait for you to insert a disk before it replaces files (originally to allow inserting a floppy disk): -`replace {{path/to/file_or_directory}} {{path/to/destination}} /w` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /w` - Replace all files in subdirectories of the destination: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /s` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /s` - Replace only files in the destination directory which are older than the files in the source directory: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /u` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /u` - Display detailed usage information: diff --git a/pages/windows/resolve-path.md b/pages/windows/resolve-path.md index a09f5c7a31..99d62e9f0b 100644 --- a/pages/windows/resolve-path.md +++ b/pages/windows/resolve-path.md @@ -10,8 +10,8 @@ - Resolve a UNC path: -`Resolve-Path -Path "\\{{hostname}}\{{path/to/file}}"` +`Resolve-Path -Path "\\{{hostname}}\{{path\to\file}}"` - Get relative paths: -`Resolve-Path -Path {{path/to/file_or_directory}} -Relative` +`Resolve-Path -Path {{path\to\file_or_directory}} -Relative` diff --git a/pages/windows/rmdir.md b/pages/windows/rmdir.md index 5fe941f89b..3f231126d9 100644 --- a/pages/windows/rmdir.md +++ b/pages/windows/rmdir.md @@ -5,12 +5,12 @@ - Remove an empty directory: -`rmdir {{path/to/directory}}` +`rmdir {{path\to\directory}}` - Remove a directory and its contents recursively: -`rmdir {{path/to/directory}} /s` +`rmdir {{path\to\directory}} /s` - Remove a directory and its contents recursively without prompting: -`rmdir {{path/to/directory}} /s /q` +`rmdir {{path\to\directory}} /s /q` diff --git a/pages/windows/robocopy.md b/pages/windows/robocopy.md index 9ef95c0b6b..d01c184c31 100644 --- a/pages/windows/robocopy.md +++ b/pages/windows/robocopy.md @@ -6,27 +6,27 @@ - Copy all `.jpg` and `.bmp` files from one directory to another: -`robocopy {{path/to/source}} {{path/to/destination}} {{*.jpg}} {{*.bmp}}` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} {{*.jpg}} {{*.bmp}}` - Copy all files and subdirectories, including empty ones: -`robocopy {{path/to/source}} {{path/to/destination}} /E` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E` - Mirror/Sync a directory, deleting anything not in source and include all attributes and permissions: -`robocopy {{path/to/source}} {{path/to/destination}} /MIR /COPYALL` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIR /COPYALL` - Copy all files and subdirectories, excluding source files that are older than destination files: -`robocopy {{path/to/source}} {{path/to/destination}} /E /XO` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E /XO` - List all files 50 MB or larger instead of copying them: -`robocopy {{path/to/source}} {{path/to/destination}} /MIN:{{52428800}} /L` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIN:{{52428800}} /L` - Allow resuming if network connection is lost and limit retries to 5 and wait time to 15 sec: -`robocopy {{path/to/source}} {{path/to/destination}} /Z /R:5 /W:15` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /Z /R:5 /W:15` - Display detailed usage information: diff --git a/pages/windows/select-string.md b/pages/windows/select-string.md index 8138ec5bb6..8390251cb9 100644 --- a/pages/windows/select-string.md +++ b/pages/windows/select-string.md @@ -7,11 +7,11 @@ - Search for a pattern within a file: -`Select-String -Path "{{path/to/file}}" -Pattern '{{search_pattern}}'` +`Select-String -Path "{{path\to\file}}" -Pattern '{{search_pattern}}'` - Search for an exact string (disables regular expressions): -`Select-String -SimpleMatch "{{exact_string}}" {{path/to/file}}` +`Select-String -SimpleMatch "{{exact_string}}" {{path\to\file}}` - Search for pattern in all `.ext` files in current dir: @@ -19,8 +19,8 @@ - Capture the specified number of lines before and after the line that matches the pattern: -`Select-String --Context {{2,3}} "{{search_pattern}}" {{path/to/file}}` +`Select-String --Context {{2,3}} "{{search_pattern}}" {{path\to\file}}` - Search stdin for lines that do not match a pattern: -`Get-Content {{path/to/file}} | Select-String --NotMatch "{{search_pattern}}"` +`Get-Content {{path\to\file}} | Select-String --NotMatch "{{search_pattern}}"` diff --git a/pages/windows/set-acl.md b/pages/windows/set-acl.md index db7252eb68..f9f9a3f4c8 100644 --- a/pages/windows/set-acl.md +++ b/pages/windows/set-acl.md @@ -6,8 +6,8 @@ - Copy a security descriptor from one file to another: -`$OriginAcl = Get-Acl -Path {{path/to/file}}; Set-Acl -Path {{path/to/file}} -AclObject $OriginAcl` +`$OriginAcl = Get-Acl -Path {{path\to\file}}; Set-Acl -Path {{path\to\file}} -AclObject $OriginAcl` - Use the pipeline operator to pass a descriptor: -`Get-Acl -Path {{path/to/file}} | Set-Acl -Path {{path/to/file}}` +`Get-Acl -Path {{path\to\file}} | Set-Acl -Path {{path\to\file}}` diff --git a/pages/windows/sfc.md b/pages/windows/sfc.md index 4b0a8b22fc..f699677035 100644 --- a/pages/windows/sfc.md +++ b/pages/windows/sfc.md @@ -17,16 +17,16 @@ - Scan a specific file and, if possible, repair any problems: -`sfc /scanfile={{path/to/file}}` +`sfc /scanfile={{path\to\file}}` - Scan a specific file without attempting to repair it: -`sfc /verifyfile={{path/to/file}}` +`sfc /verifyfile={{path\to\file}}` - When repairing offline, specify the boot directory: -`sfc /offbootdir={{path/to/directory}}` +`sfc /offbootdir={{path\to\directory}}` - When repairing offline, specify the Windows directory: -`sfc /offwindir={{path/to/directory}}` +`sfc /offwindir={{path\to\directory}}` diff --git a/pages/windows/show-markdown.md b/pages/windows/show-markdown.md index 2ab9c9f725..b7503b3400 100644 --- a/pages/windows/show-markdown.md +++ b/pages/windows/show-markdown.md @@ -6,7 +6,7 @@ - Render markdown to console from a file: -`Show-Markdown -Path {{path/to/file}}` +`Show-Markdown -Path {{path\to\file}}` - Render markdown to console from string: @@ -14,4 +14,4 @@ - Open Markdown file in a browser: -`Show-Markdown -Path {{path/to/file}} -UseBrowser` +`Show-Markdown -Path {{path\to\file}} -UseBrowser` diff --git a/pages/windows/shutdown.md b/pages/windows/shutdown.md index 1c3cf48f35..a66dba4c05 100644 --- a/pages/windows/shutdown.md +++ b/pages/windows/shutdown.md @@ -25,7 +25,7 @@ - Specify a timeout in seconds to wait before shutting down: -`shutdown /s /t {{seconds}}` +`shutdown /s /t {{8}}` - Abort a shutdown sequence whose timeout is yet to expire: diff --git a/pages/windows/takeown.md b/pages/windows/takeown.md index 2182a2eebd..337a4f31a8 100644 --- a/pages/windows/takeown.md +++ b/pages/windows/takeown.md @@ -5,16 +5,16 @@ - Take ownership of the specified file: -`takeown /f {{path/to/file}}` +`takeown /f {{path\to\file}}` - Take ownership of the specified directory: -`takeown /d {{path/to/directory}}` +`takeown /d {{path\to\directory}}` - Take ownership of the specified directory and all subdirectories: -`takeown /r /d {{path/to/directory}}` +`takeown /r /d {{path\to\directory}}` - Change ownership to the Administrator group instead of the current user: -`takeown /a /f {{path/to/file}}` +`takeown /a /f {{path\to\file}}` diff --git a/pages/windows/tee-object.md b/pages/windows/tee-object.md index cca8da0ce5..9bf9d5d44b 100644 --- a/pages/windows/tee-object.md +++ b/pages/windows/tee-object.md @@ -6,7 +6,7 @@ - Output processes to a file and to the console: -`Get-Process | Tee-Object -FilePath {{path/to/file}}` +`Get-Process | Tee-Object -FilePath {{path\to\file}}` - Output processes to a variable and `Select-Object`: diff --git a/pages/windows/test-json.md b/pages/windows/test-json.md index 7f9169918a..9b68bc13f1 100644 --- a/pages/windows/test-json.md +++ b/pages/windows/test-json.md @@ -14,4 +14,4 @@ - Test if a string from stdin matches a specific schema file: -`'{{string}}' | Test-Json -SchemaFile {{path/to/schema.json}}` +`'{{string}}' | Test-Json -SchemaFile {{path\to\schema_file.json}}` diff --git a/pages/windows/tree.md b/pages/windows/tree.md index 679ee9afe9..8c19e0677d 100644 --- a/pages/windows/tree.md +++ b/pages/windows/tree.md @@ -9,12 +9,12 @@ - Display the tree for a specific directory: -`tree {{path/to/directory}}` +`tree {{path\to\directory}}` - Display the tree for a directory including files: -`tree {{path/to/directory}} /f` +`tree {{path\to\directory}} /f` - Display the tree using ASCII characters instead of extended characters: -`tree {{path/to/directory}} /a` +`tree {{path\to\directory}} /a` diff --git a/pages/windows/type.md b/pages/windows/type.md index 5da51dfe0f..fb88e22ffb 100644 --- a/pages/windows/type.md +++ b/pages/windows/type.md @@ -5,4 +5,4 @@ - Display the contents of a specific file: -`type {{path/to/file}}` +`type {{path\to\file}}` diff --git a/pages/windows/virtualboxvm.md b/pages/windows/virtualboxvm.md index 463da18a0d..39d41dc7d0 100644 --- a/pages/windows/virtualboxvm.md +++ b/pages/windows/virtualboxvm.md @@ -13,7 +13,7 @@ - Mount the specified DVD image file: -`virtualboxvm --startvm {{name|uuid}} --dvd {{path/to/image_file}}` +`virtualboxvm --startvm {{name|uuid}} --dvd {{path\to\image_file}}` - Display a command-line window with debug information: diff --git a/pages/windows/vswhere.md b/pages/windows/vswhere.md index 50ff1db714..589b7df644 100644 --- a/pages/windows/vswhere.md +++ b/pages/windows/vswhere.md @@ -5,16 +5,16 @@ - Find the path of vcvarsall.bat to set environment variables: -`vswhere -products * -latest -prerelease -find **/VC/Auxiliary/Build/vcvarsall.bat` +`vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Build\vcvarsall.bat` - Find the directory of the x64 MSVC compiler (cl.exe, etc): -`vswhere -products * -latest -prerelease -find **/Hostx64/x64/*` +`vswhere -products * -latest -prerelease -find **\Hostx64\x64\*` - Find the directory of Clang bundled with Visual Studio bundled (clang-cl, clang-tidy, etc): -`vswhere -products * -latest -prerelease -find **/Llvm/bin/*` +`vswhere -products * -latest -prerelease -find **\Llvm\bin\*` - Find the path of `MSBuild.exe`: -`vswhere -products * -latest -prerelease -find MSBuild/**/Bin/MSBuild.exe` +`vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe` diff --git a/pages/windows/where.md b/pages/windows/where.md index dc232a2fcb..192b667fff 100644 --- a/pages/windows/where.md +++ b/pages/windows/where.md @@ -14,7 +14,7 @@ - Recursively search for file pattern at specified path: -`where /R {{path/to/directory}} {{file_pattern}}` +`where /R {{path\to\directory}} {{file_pattern}}` - Silently return the error code for the location of the file pattern: diff --git a/pages/windows/wsl-open.md b/pages/windows/wsl-open.md index e9a93741dd..c048321e37 100644 --- a/pages/windows/wsl-open.md +++ b/pages/windows/wsl-open.md @@ -13,7 +13,7 @@ - Open a specific file in the user's default application in Windows: -`wsl-open {{path/to/file}}` +`wsl-open {{path\to\file}}` - Set `wsl-open` as the shell's web browser (open links with `wsl-open`): diff --git a/pages/windows/wsl.md b/pages/windows/wsl.md index f54be48379..808da8866d 100644 --- a/pages/windows/wsl.md +++ b/pages/windows/wsl.md @@ -21,11 +21,11 @@ - Export a distribution to a `.tar` file: -`wsl --export {{distribution}} {{path/to/distro_fs.tar}}` +`wsl --export {{distribution}} {{path\to\distro_file.tar}}` - Import a distribution from a `.tar` file: -`wsl --import {{distribution}} {{path/to/install_location}} {{path/to/distro_fs.tar}}` +`wsl --import {{distribution}} {{path\to\install_location}} {{path/to/distro_file.tar}}` - Change the version of wsl used for the specified distribution: diff --git a/pages/windows/xcopy.md b/pages/windows/xcopy.md index 10140598a9..d1ac38f934 100644 --- a/pages/windows/xcopy.md +++ b/pages/windows/xcopy.md @@ -5,31 +5,31 @@ - Copy the file(s) to the specified destination: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}}` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}}` - List files that will be copied before copying: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /p` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /p` - Copy the directory structure only, excluding files: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /t` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /t` - Include empty directories when copying: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /e` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /e` - Keep the source ACL in the destination: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /o` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /o` - Allow resuming when network connection is lost: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /z` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /z` - Disable the prompt when the file exists in the destination: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /y` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /y` - Display detailed usage information: