5

I am using geth and writing a js script and I try to load it using loadScript command, but when I run this command, I get false :

 loadScript("C:\Users\Sandi\Desktop\Solidity\sol_js.js")

false

I am not able to load the script. How i should do to load it in order to get true message ?

Sig Touri
  • 1,090
  • 2
  • 14
  • 23

1 Answers1

4

please note that you are using a wrong path, even if you are on Windows change the \ to / so load the script using : loadScript("C:/Users/Sandi/Desktop/Solidity/sol_js.js")

Badr Bellaj
  • 18,780
  • 4
  • 58
  • 75