software:microsoft:windows:commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:microsoft:windows:commands [2024/03/09 21:10] – [Scanner and Camera Wizard] superwizard | software:microsoft:windows:commands [2024/03/09 21:11] (current) – [Windows command line continue line with ^ () or use variables] superwizard | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Windows command line continue line with ^ () or use variables ====== | ====== Windows command line continue line with ^ () or use variables ====== | ||
- | <WRAP center round box 60%> | + | <WRAP center round box > |
2024-03-09 | 2024-03-09 | ||
Line 8: | Line 8: | ||
Multiple commands can be put in parenthesis and spread over numerous lines; so something like echo hi && echo hello can be put like this: | Multiple commands can be put in parenthesis and spread over numerous lines; so something like echo hi && echo hello can be put like this: | ||
- | ( echo hi | + | |
- | echo hello ) | + | echo hello ) |
Also variables can help: | Also variables can help: | ||
- | set AFILEPATH=" | + | |
- | if exist %AFILEPATH% ( | + | if exist %AFILEPATH% ( |
- | start "" | + | start "" |
- | ) else ( | + | ) else ( |
- | .. | + | .. |
https:// | https:// |
software/microsoft/windows/commands.1710018627.txt.gz · Last modified: 2024/03/09 21:10 by superwizard