I am having issues trying to copy files to a cd burner
when I try this on my laptop with one user it works great, but i try to run it
on an xp machine with multiple user accounts it gets lost.
Code:test = (Shell.GetFolder(SHF_APPLICATIONDATA).."Microsoft\\CD Burning"); sFolder = (Shell.GetFolder(SHF_MYDOCUMENTS).."\\New Folder"); --CurrentUser = Registry.GetValue(USERPROFILE,"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders", "CD Burning", true); StatusDlg.Show(MB_ICONNONE, false); File.Copy(sFolder, test, true, true, false, true, nil); error = Application.GetLastError(); StatusDlg.Hide(); if error ~= 0 then result = Dialog.Message("Error", "There was an error copying the files to your system. Please try again." , MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1); else File.Open(Shell.GetFolder(SHF_APPLICATIONDATA_COMMON).."\\Microsoft\CD Burning", "", "", SW_SHOWNORMAL, false); end

see tek's on first line and also look at last line
