Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: 26 Feb 2006 23:09:32 -0800,    group: microsoft.public.inetsdk.programming.scripting.vbscript        back       


VB Sript FileSystem object , CopyFile Method Error.   
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
date: 26 Feb 2006 23:09:32 -0800   author:   raajkul

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us