mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-15 00:09:11 +08:00
more headers
This commit is contained in:
parent
bda09bc274
commit
103d0a6cea
24
README.md
24
README.md
@ -249,26 +249,26 @@ Uncomment and edit the below line in the script to use Cmder config even when la
|
|||||||
|
|
||||||
### Customizing user sessions using `init.bat` custom arguments.
|
### Customizing user sessions using `init.bat` custom arguments.
|
||||||
|
|
||||||
You can pass custom arguments to `init.bat` and use `cexec` in your `user_profile.cmd` to evaluate these
|
You can pass custom arguments to `init.bat` and use `cexec.cmd` in your `user_profile.cmd` to evaluate these
|
||||||
arguments then execute commands based on a particular flag being detected or not.
|
arguments then execute commands based on a particular flag being detected or not.
|
||||||
|
|
||||||
`init.bat` creates two shortcuts for using `cexec` in your profile scripts.
|
`init.bat` creates two shortcuts for using `cexec.cmd` in your profile scripts.
|
||||||
|
|
||||||
Evaluate flags, runs commands if found, and returns to the calling script and continues.
|
#### `%ccall%` - Evaluates flags, runs commands if found, and returns to the calling script and continues.
|
||||||
|
|
||||||
```
|
```
|
||||||
ccall=call C:\Users\user\cmderdev\vendor\bin\cexec.cmd
|
ccall=call C:\Users\user\cmderdev\vendor\bin\cexec.cmd
|
||||||
```
|
```
|
||||||
|
|
||||||
Example: `%ccall% /startnotepad start notepad.exe`
|
Example: `%ccall% /startnotepad start notepad.exe`
|
||||||
|
|
||||||
Evaluate flags, runs commands if found, and does not return to the calling script.
|
#### `%cexec%` - Evaluates flags, runs commands if found, and does not return to the calling script.
|
||||||
|
|
||||||
```
|
```
|
||||||
cexec=C:\Users\user\cmderdev\vendor\bin\cexec.cmd
|
cexec=C:\Users\user\cmderdev\vendor\bin\cexec.cmd
|
||||||
```
|
```
|
||||||
|
|
||||||
Example: `%cexec% /startnotepad start notepad.exe`
|
Example: `%cexec% /startnotepad start notepad.exe`
|
||||||
|
|
||||||
It is useful when you have multiple tasks to execute `cmder` and need it to initialize
|
It is useful when you have multiple tasks to execute `cmder` and need it to initialize
|
||||||
the session differently depending on the task chosen.
|
the session differently depending on the task chosen.
|
||||||
|
Loading…
Reference in New Issue
Block a user