;~ Dim $filename = "DHCP_macaddress_" & @YEAR & @MON & @MDAY & ".txt"
;~ If Not FileExists("d:\world") Then DirCreate("d:\world")
;~ If FileExists("c:\abc" & $filename) Then FileCopy("c:\abc" & $filename, "d:\world" & $filename)
Dim $FileName = "c:\abc\DHCP_macaddress_" & @YEAR & @MON & @MDAY & ".txt"
Dim $Nfile = "c:\abc\c.txt"
Dim $hFile = FileOpen($FileName)
Dim $sContent = FileRead($hFile)
FileClose($hFile)
$hFile = FileOpen($Nfile, 2 + 8)
FileWrite($hFile, "bbbbbb" & @CRLF & $sContent)
FileClose($hFile)
|