I've never worked with script before and I'm not sure but I think the solution around my problem will be in script but don't take in mind that yet as I said I've never worked with script.
I have a DVD+RW I want to burn or embed a program inside the disc that will be able to determine or detect the type of player(device) the disc is inserted in, I have these list which I want the script or the program as a disc manager to handle these devices differently but there will be two types of handling one is to copy a folder inside this disc not the program but the folder because there will be a folder too that will be added to the disc, so the 1st handling will be copying a folder to a temporal file in 'C:/temp' (this will be the handling of a CD/DVD Rom or writer ie a computer) and the 2nd handling will be temporary unlock a file so that the contents inside can be used by a DVD player device ie home theater,playstation , and car stereo this can do it like this:
While the folder is temporary unlocked if the power on a device run out then it should get back to default and lock the folder,
If the user eject the disc then it should lock by default the folder, this can be like destroying the temporary unlocked folder so that it will remain the locked folder, I have now the locker and unlocker just need to do this device or player device type detector only.
Anyone with a help or suggestion on how I can do this?