Adding /d switch
1. Adding `/d` to change current drive in addition to changing current directory for a drive. 2. Enclose quote `"%~dp0"` allow space in `cd` command (to be safe). 3. Allow user run this script without set **Administrator** in properties. Running `*.cmd` As Administrator will spawn on `C:\WINDOWS\system32` and break if `xmrig.exe` not in `C:\` (Default UAC)
This commit is contained in:
parent
718c7e0fc1
commit
7aa4a788f9
1 changed files with 1 additions and 1 deletions
|
@ -15,6 +15,6 @@
|
|||
:: Choose pools outside of top 5 to help Raptoreum network be more decentralized!
|
||||
:: Smaller pools also often have smaller fees/payout limits.
|
||||
|
||||
cd %~dp0
|
||||
cd /d "%~dp0"
|
||||
xmrig.exe -a gr -o raptoreumemporium.com:3008 -u WALLET_ADDRESS -p x
|
||||
pause
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue