Position: Home page » Equipment » Win10 start mining bat

Win10 start mining bat

Publish: 2021-04-10 04:55:17
1. Under normal circumstances, the win10 startup folder is

C: & # 92; ProgramData\ Microsoft\ Windows\ Start Menu\ Programs\ Startup
just put bat here.
2. Win10, from 10240 to 10586, has a bug, that is, in the startup folder, the first line of the bat file will appear garbled and cannot be used. So you just leave the first line of the bat file blank, and the command you want to execute will be written from the second line, which can be correctly recognized by the system, and it can run automatically when you start.
3. First, open my computer and enter "C: menupprograms" in the address bar. < br > Second, after entering, navigate to the programs folder, that is, the programs folder. < br > Third, open the startup folder, right-click and select the shortcut to send to the desktop. At this time, we can find a shortcut to start on the desktop. < br > Fourth, Select the batch file you need and move it to the start shortcut icon: < br > follow the system prompts to go to the next step. After clicking finish, the batch file on the desktop disappears. We can open the start shortcut, and a batch file already exists in the start folder. < br > sixth, for the sake of simplicity and beauty of the desktop, You can delete the startup shortcut icon on the desktop, or you can change the batch processing to hidden mode. When you restart, the effect will come out< Br > after completing the above steps, the batch processing and script functions of win10 system are successfully implemented.
4. Simple, create a new notepad in the same directory of your batch processing, and enter:
5.

Code writing:

  1. reg add HKLM / software / Microsoft / Windows / run / V random character / T reg_ SZ / d the location of your bat

  2. this can add a startup key called "random character" to the registry of the machine, which is used to start and run the file "your bat location"

    The
  3. bat file is a batch file under DOS. A batch file is an unformatted text file that contains one or more commands. Its file extension is. Bat or. CMD. At the command prompt, type the name of the batch file, or double-click the batch file, and the system will call cmd.exe to run the commands one by one according to the order in which they appear. Using batch files (also known as batch programs or scripts) can simplify routine or repetitive tasks

  4. < / OL >

    option syntax

    1. % - I - remove any quotation marks (& quote;), Expand% I

    2. % ~ fi - expand% I to a fully qualified pathname

    3. % ~ di - expand% I to only one drive letter

    4. % ~ pi - expand% I to only one path

    5. % ~ Ni - expand% I to only one file name

    6. % ~ Xi - expand% I to only one file extension

    7. % ~ Si - expand% I to only one file name Path contains only short name

    8. % ~ Ai - file attributes to extend% I to file

    9. % ~ Ti - date / time to extend% I to file

    10. % ~ Zi - extend% I to file size

    11. % ~ $path: I - find the directory listed in the path environment variable, and extend% I

    12. to the first fully qualified name found. If the environment variable

    13. is not defined or the file is not found, this key combination will expand

    14. < / OL >
6.

There are many methods

methods 1. Get a bat and double-click

< pre t = "code" L = "CPP" > echo
seta = 1. Bat
for / F & quot; delims="%% iin(' dir/b/s%a%') do(
regadd" HKEY_ LOCAL_ un"/ vbat1.bat/t" reg_ sz"/ D%% I / F
)
pause < / pre >

method 2. Directly add

click Start - run - enter gpedit.msc - OK - computer configuration - Windows settings - script (start / shut down), double-click "start", click Add - Tour - select your bat, and then confirm - apply

7. Is the login user an administrator? If not, activate the user, log in to the user later, and then add your bat to the startup item.
8.

1、 First, create a "shortcut" on the desktop for the program you want to add as a boot entry< br />

Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750