home *** CD-ROM | disk | FTP | other *** search
- File.Find( "c:\\temp" + "\\hardcopy.log" )
- If File.NumberOfFiles = 1 Then
- Print "hardcopy.log is in c:\\temp available"
- Else
- Print "hardcopy.log is in c:\\temp not available"
- EndIf
- Print
-
- File.Find( File.CommonWindowsDirectory + "\\hardcopy.log" )
- If File.NumberOfFiles = 1 Then
- Print "hardcopy.log is in ", File.CommonWindowsDirectory, " available"
- Else
- Print "hardcopy.log is in ", File.CommonWindowsDirectory, " not available"
- EndIf
-
- error = File.CopyTo( "c:\\temp" + "\\hardcopy.log" ) ' <<<<<<<<<<<<<<<<<<<<<<<<<<<
- If error <> "" Then Print error
-
- Print
- If File.NumberOfFiles = 1 Then
- Print "hardcopy.log is in c:\\temp available"
- Else
- Print "hardcopy.log is in c:\\temp not available"
- EndIf
-