写入open "setup.txt" as #1 for outputwrite #1,“你要写入的数据”close #1读出dim setupdata as stringopen "Setup.txt" as #1 for inputdo while not EOF(1)input #1,setupdataloopclose #1setupdata就是读出的数据在此处app.path指的是程序所在目录,可以省略。