User Tools

Site Tools


software:microsoft:windows:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:microsoft:windows:commands [2017/02/07 19:44] superwizardsoftware: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 ======
 +
 +<WRAP center round box >
 +
 +2024-03-09
 +
 +
 +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 )
 +
 +Also variables can help:
 +
 +  set AFILEPATH="C:\SOME\LONG\PATH\TO\A\FILE"
 +  if exist %AFILEPATH% (
 +    start "" /b %AFILEPATH% -option C:\PATH\TO\SETTING...
 +  ) else (
 +  ..
 +
 +https://stackoverflow.com/questions/69068/split-long-commands-in-multiple-lines-through-windows-batch-file/21000752#21000752
 +
 +
 +</WRAP>
 +
 +
 +
 +
 ====== Scanner and Camera Wizard ====== ====== Scanner and Camera Wizard ======
  
software/microsoft/windows/commands.1486496685.txt.gz · Last modified: 2017/02/07 19:44 by superwizard