pb中如何用定時器讀取指定檔案夾中所有文本,并改名,然后不讀取已經讀取過的文本,如果有原代碼就最好了,謝謝!鞠躬
uj5u.com熱心網友回復:
這個你應該用listview物件,用FileMove進行改名,最好寫INI檔案或給你的檔案進行規則化管理.Description
Moves a file.
Syntax
FileMove ( sourcefile, targetfile )
Argument Description
sourcefile String for the name of the file you want to move
targetfile String for the name of the location you are moving the file
Return value
Integer. Returns values as follows:
1桽uccess
-1桬rror opening sourcefile
-2桬rror writing targetfile
Usage
You cannot write to a target file if a file with the same name already exists in the target directory. If you want to copy over a target file, you can use FileCopy and set the replace argument to true.
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/106280.html
標籤:腳本語言
