Windows 11 Beets/Python Newbie EASY Question

Windows 11 Python 3.12.5
I can’t figure out how to set the default editor to “C:\Program Files\Notepad++\notepad++.exe”

When I run:
C:\Users\mike>beet config -e
error: Could not edit configuration: [Errno 2] No such file or directory

I get a similar error running edit plug-in:
beet edit

The edit plug-in says “Your text editor (i.e., the command in your $VISUAL or $EDITOR environment variable)” but for the life of me I cannot find where to set these environment variables.

I’ve also installed PyCharm Community since I’m assuming I’ll want to use it for $VISUAL

I have successfully imported most of my music:
beet stats
Tracks: 82358
Total time: 31.3 weeks
Approximate total size: 364.7 GiB
Artists: 11276
Albums: 5022
Album artists: 1878

I’m also new to beets (don’t think I’ll stick around since I can’t pad track/disc-numbers), but this might help you out; Set Environment Variable in Windows {How-To} | phoenixNAP KB

I’m also on windows, but I use GitBash so I’m not very familiar with how windows normally handles it.

Sorry to be off-topic, but @Wirlz I thought I’d mention this just in case this is what you’re after: my track numbers in paths are padded with the following configuration using inline plugin and some template functions:

...
plugins:
  ...
  inline
...
item_fields:
  track_identification: |
    if (track_alt := globals().get("track_alt")) and track_alt[0].isalpha():
      idx = track_alt
    elif track:
      idx = str(track).zfill(2)
    else:
      return ""

    if disctotal > 1:
      idx = f"{disc}_{idx}"

    return f"{idx}_"
  withdrawn: albumstatus == "Withdrawn"
paths:
  default: |
    %lower{
      $label/
      %if{$withdrawn,_withdrawn/}
      $album-%aunique{}/
      $track_identification${artist}_$title
    }
  ...
...

This way, I have paths like

...darksideofthemoon/03_pinkfloyd_ontherun.flac
...darksideofthemoon/02_pinkfloyd_breathe.flac
...darksideofthemoon/10_pinkfloyd_eclipse.flac
...darksideofthemoon/08_pinkfloyd_anycolouryoulike.flac
...darksideofthemoon/07_pinkfloyd_usandthem.flac
...darksideofthemoon/01_pinkfloyd_speaktome.flac
...darksideofthemoon/06_pinkfloyd_money.flac
...pulse/1_01_pinkfloyd_shineonyoucrazydiamond.flac
...darksideofthemoon/04_pinkfloyd_time.flac
...pulse/2_12_pinkfloyd_comfortablynumb.flac
...darksideofthemoon/09_pinkfloyd_braindamage.flac
...darksideofthemoon/05_pinkfloyd_thegreatgiginthesky.flac
...ase002/a1_spiderwrap_denial.flac

I appreciate your intention, but the filenaming isn’t my gripe, it’s the tag numbering. You can’t pad tracks, at least I haven’t found a way.

I thought I might be able to using the Edit plugin, but it just reverts them to unpadded 1-9.

That really urks me the wrong way, but I might have to put up with it. I think I’ll just use Beets to do the initial tagging/filenaming, move the files elsewhere, then I’ll go in with another tool to fix the track/disc numbers. Won’t be keeping a .db with Beets.