Script not working properly [solved]

At line:1 char:7

  • @echo off
  •   ~~~

Unexpected token ‘off’ in expression or statement.
At line:1 char:1

  • @echo off

The splatting operator ‘@’ cannot be used to reference variables in an expression. ‘@echo’ can be used only as an argum
ent to a command. To reference variables in an expression use ‘$echo’.
+ CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

This might happen cause of the character used for the single quote ’ so when you edit url1 and url2 delete the quotes surrounding the url and manually add them using your keyboard.