Got a bit occupied, re-attempting
I got the function shown below
void Orbiter::CMD_Show_File_List(int iPK_MediaType,string sCommand,string &sCMD_Result,Message *pMessage)
cout << "Need to implement command #401 - Show File List" << endl;
cout << "Parm #29 - PK_MediaType=" << iPK_MediaType << endl;
cout << "Parm #236 - Command=" << sCommand << endl;
tschak909, I am not going to lie to you, I am a little lost in where I am setting the parameter to check for the specific directory, step 3 below, as I was looking for similar actions in the Orbiter.cpp and not finding any; possible looking in the wrong location.
(1) expose this parameter as a command parameter by adding a new command parameter to show file list
(2) run DCEGen on the Orbiter device template, to get the new Show File List method inside Orbiter
(3) modify the method to check if this parameter is set, if so, set the appropriate sParams inside.
Thanks in advance