I have made a little exe file which replaces missing or corrupted files necessary to run 16-bit programs. Here's what I've got for the OnClick Script for the button -
result = File.Install("AutoPlay\\Docs\\AUTOEXEC.NT", "C:\\Windows\\System32\\AUTOEXEC.NT", FILE_INSTALL_ALWAYS, true, true, nil, nil);
result = File.Install("AutoPlay\\Docs\\command.com", "C:\\Windows\\System32\\command.com", FILE_INSTALL_ALWAYS, true, true, nil, nil);
result = File.Install("AutoPlay\\Docs\\CONFIG.NT", "C:\\Windows\\System32\\CONFIG.NT", FILE_INSTALL_ALWAYS, true, true, nil, nil);
Page.Jump("Page2");
it works, but only if their System32 folder really is in C:\Windows\System32.... please can someone tell me how to make AM6 find the folder and put the file in it if the path is something else?
Fflei

