I am getting the below error while copying the .DAT extension file within the folder structure. "-2147024832" This error is observered sometimes when the file size is over 1 GB. The code has worked fine with over 4 GB size of file. Kindly help to resolve the above problem. Please find below the code: On Error Resume Next fso.copyfile dataroot & "DAT" , c_strout If err.number <> 0 Then errorlevel=err.number wsh.LogEvent 1, MaxEPrefix & ScriptName() & " [" & errorLevel & "] copying data files, aborting." wscript.quit (errorlevel) End If