Hi solution to this is create a folder say for example grid in any drive in the system
Then you keep all the files in the same folder - bat file and drivers in the same folder also the json files
you can create bat files for all nodes and just click them to start running i will share a sample here
c:
cd "F:\grid\geckodriver.exe
java -Dwebdriver.gecko.driver=F:\grid\geckodriver.exe -Dwebdriver.chrome.driver=F:\grid\chromedriver.exe -jar selenium-server-standalone-3.14.0.jar -role node -nodeConfig node1.json
put the above code into text editor and save as node1.bat you can just double click on this bat to set your nodes everytime.
This is pretty handy and neat
thank you so much Mohmmed,its very detailed answer,i will try it