Hi, ich habe mit DriveGetDrive Laufwerke ausgelesen und möchte damit ein Menu gestalten. Mein Code ist bisher folgender:
Spoiler anzeigen
Das funktioniert soweit perfekt, allerdings möchte ich nun auch darauf zugreifen können. Also müsste ich den MenuItems eine Variable zuweisen.
Der Versuch mit $m_drives & $i ging daneben, weiß jemand, wie ich meinen Code erweitern muss, damit es klappt?