The / boot / directory itself will be where the drive is located. Open it, you will see the file config.txt to find. Save changes on the default editor and use the Eject button in the file manager to remove the SD card from the device.
Edit config.txt on Windows 10
After plugging Raspberry SD card into Windows, you can open it right in Windows Explorer.However, there will be 2 fragments displayed on the device and only one of them, namely boot, is Windows accessible.
Select it, then find config.txt.Use Notepad to edit (or Notepad ++), then save and exit. Remember to right click on this drive on My Computer and select Eject before removing the card.
Edit config.txt on macOS
If you use a Mac, you will see the card appear on the desktop as soon as the machine recognizes it.Use Finder to find the file named config (no TXT extension). Then edit with TextEdit, save and exit. To remove a card, drag the icon on the desktop to Trash or select Eject in the Finder.
Whichever way to edit the file config.txt from the microSD card read on the PC, remember to pull the card in the correct way before returning it to the Raspberry Pi.
Edit more
The config.txt file is just one of many ways to change the configuration for Raspberry Pi.Maybe you know raspi-config, access via terminal.There is also a Raspberry Pi Configuration Tool in the Raspbian Jessie and Raspbian Stretch Preferences folder.
See more: