U disk pe system; widnows cmd command background running, bat command writing; c disk desktop file default path is saved to other disks

1. U disk pe system

Reference:
https://www.wepe.com.cn/download.html

https://m.52nxs.com/jiaocheng/soft/49535.html ##u disk micrope toolbox steps
Insert image description here

Start pe from USB flash drive, press F10 to start it, select USB flash drive to boot to enter PE system

2. Widnows cmd command background running, bat command writing

1)

start ssh -CNR 9999:127.0.0.1:8008 -f root@8****4 -p 22

In Windows PowerShell, you can use the Start-Process command to run commands in the background, but the -p parameter may conflict with the -PassThru parameter. To solve this problem, you can put the SSH command in quotes to prevent ambiguity of the parameter names. Try the following command: This will run the SSH command in the background This will launch CMD in a new window and run the command.

Please make sure to execute this command in PowerShell environment and not in CMD

Start-Process ssh "-CNR 9999:127.0.0.1:8008 -f root@8***4 -p 22"

2) Bat command writing

pause pauses the execution of the script and waits for the user to press a key

Set variables
set name=John
set age=25

The start command is used to start a separate window to run a specified command or program. It can be used to run programs in the background, open new windows, etc. The call command is used to call another batch script and return to the current script
Insert image description here

3. Save the default path of desktop files on drive c to other drives

Right-click the desktop's properties; change the location to another disk, such as moving d:/desktop

Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_42357472/article/details/132416312