From 0f81ab4c6754a6051ed688e2faef6f2ab90359f2 Mon Sep 17 00:00:00 2001 From: Jeremy Chadwick Date: Fri, 31 Mar 2023 20:16:00 -0700 Subject: [PATCH] Improve .cmd files when run by shortcuts on another drive --- scripts/benchmark_10M.cmd | 2 +- scripts/benchmark_1M.cmd | 2 +- scripts/pool_mine_example.cmd | 2 +- scripts/rtm_ghostrider_example.cmd | 2 +- scripts/solo_mine_example.cmd | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/benchmark_10M.cmd b/scripts/benchmark_10M.cmd index dbbcc78c2..833f065cd 100644 --- a/scripts/benchmark_10M.cmd +++ b/scripts/benchmark_10M.cmd @@ -1,4 +1,4 @@ @echo off -cd %~dp0 +cd /d "%~dp0" xmrig.exe --bench=10M --submit pause diff --git a/scripts/benchmark_1M.cmd b/scripts/benchmark_1M.cmd index 5d2166d0c..b106a1bc8 100644 --- a/scripts/benchmark_1M.cmd +++ b/scripts/benchmark_1M.cmd @@ -1,4 +1,4 @@ @echo off -cd %~dp0 +cd /d "%~dp0" xmrig.exe --bench=1M --submit pause diff --git a/scripts/pool_mine_example.cmd b/scripts/pool_mine_example.cmd index 6e35c913f..41a42340f 100644 --- a/scripts/pool_mine_example.cmd +++ b/scripts/pool_mine_example.cmd @@ -15,6 +15,6 @@ :: Choose pools outside of top 5 to help Monero network be more decentralized! :: Smaller pools also often have smaller fees/payout limits. -cd %~dp0 +cd /d "%~dp0" xmrig.exe -o pool.hashvault.pro:3333 -u 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD -p x pause diff --git a/scripts/rtm_ghostrider_example.cmd b/scripts/rtm_ghostrider_example.cmd index 8b1f4999c..85e0a7fbf 100644 --- a/scripts/rtm_ghostrider_example.cmd +++ b/scripts/rtm_ghostrider_example.cmd @@ -15,7 +15,7 @@ :: 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" :: Use this command line to connect to non-SSL port xmrig.exe -a gr -o raptoreumemporium.com:3008 -u WALLET_ADDRESS -p x :: Or use this command line to connect to an SSL port diff --git a/scripts/solo_mine_example.cmd b/scripts/solo_mine_example.cmd index c925b36d9..4cebf5673 100644 --- a/scripts/solo_mine_example.cmd +++ b/scripts/solo_mine_example.cmd @@ -11,6 +11,6 @@ :: Mining solo is the best way to help Monero network be more decentralized! :: But you will only get a payout when you find a block which can take more than a year for a single low-end PC. -cd %~dp0 +cd /d "%~dp0" xmrig.exe -o node.xmr.to:18081 -a rx/0 -u 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD --daemon pause