Starting with version VE 8.4, proxmox host directories can be shared into a windows or linux virtual machine. I have a version 9 running here as an example:
# pveversion
pve-manager/9.0.6/49c767b70aeb6648 (running kernel: 6.14.8-2-pve)
Check to see that the appropriate package is installed, it should be by default:
# dpkg -l | grep virtiofsd
ii virtiofsd 1.13.2-1 amd64 Virtio-fs vhost-user device daemon
Create a directory for sharing, use something like /mnt or /var/local, depending upon your preference:
# mkdir /var/local/shared
In the proxmox management site, navigate Datacenter -> Directory Mappings, then add a mapping with the directory just created. The name supplied will be the name seen in the virtual machine.
Also in the proxmox management site, navigate to the virtual machine settings -> Hardware and add a Virtiofs Filesystem Passthrough. Select the directory id you just created. Select the 'Direct IO' box (may be optional). Then restart the machine if already started to have the setting take effect.
In a Windows virtual machine, be sure you've installed the Windows VirtIO Drivers.
Open the Services cmdlet (services.msc). There should be a 'VirtIO-FS Service". Startup type can be set to automatic. If only temporary use is required, simply start the service. A new device should become visible in This PC in file explorer.
For Windows based virtual machines, WinFSP is required. It is mentioned at How to install virtiofs drivers on Windows.
Once installed, open services.msc, and start the VirtIO-FS Service
In explorer, you should see the shared data folder in 'This PC'.