How to set external wifi as default connection device

i searched and i found this topic Raspberry Pi 3 - How to disable onboard wifi? - #8 by fzinken

But when i try to edit “config.txt” from “boot” folder, i get “error code 3”, “persmission dinied”. I can’t edit, or delete the file. I use WinSCP program.