帮我看看以下代码为什么不能运行在win98?怎样修改?【已解决】
本帖最后由 leon460 于 2011-3-24 21:06 编辑#include <date.au3>
Opt("TrayIconHide",1);0:show the tray 1:Hides the AutoIt tray icon
$i=1
Do
Sleep(500) ;以防不设$movetime 引起程序占用太多时间
Dim $szDrive, $szDir, $szFName, $szExt, $MaxNum = 0, $exeName, $workDir
$source = IniRead($szDrive & $szDir & "setting.ini", "key","source","Not Found source path")
$target = IniRead($szDrive & $szDir & "setting.ini", "key","target","Not Found target path")
$movetime=IniRead($szDrive & $szDir & "setting.ini", "key","movetime","Not Found setting time")
If FileExists($source & "\*.tff" ) then
$moveflag=FileMove($source,$target,1)
If $moveflag=0 Then
$file=FileOpen(@DesktopDir & "\movefile.txt",9)
FileWrite($file,_Now() & " 复制测量数据错误,请检查 " & $source& " or " & $target & " 是否设置正确 " & @CRLF)
FileClose($file)
EndIf
EndIf
Sleep($movetime)
Until $i=0 去找个v3.2.12.1,最后一个支持win98的版本 现在还有人用win98吗,太神奇了。就算只有128内存,都装XP了。 哎,公司机台还有winNT4.0甚至还有win3.1.1系统
页:
[1]