Does anyone know how to copy Windows system files? I have a script which
looks for certain files and writes a log with the path of the file found
and copies the file found to a folder.
This works fine for all files I am interested in except the index.dat
file. My script finds the file and writes it to a log but doesn’t
actually copy the file. Does any one know how I can copy an index.dat
file? The relevant code:
myLog = File.new(’\Test\SweeperLog.txt’, ‘a’)