你可能感兴趣的试题
File("d://file/test3.txt") File("d;//file//test3.txt") File("d:/file/test3.txt") File("d:/file//test3.txt")
File dirObject=new File("d:/mydir"); File fileObject1:newFile(Filel.txt); File fileObject1:newFile("Filel.mt"); File fileO均ect2:newFile("d:knydir",File2.txt);
COPY TXT>>TXT MOVE TXT>>TXT PATH TXT>>TXT TYPE TXT>>TXT
ls*.txt find–name“.txt” ls–d.txt find.“.txt”
DELC:*.TXT DELWS\*.TXT DEL\WS\*.TXT DELC:\WS\*.TXT
lsch[123]* lsch[1-3]* lsch* lsch?.*
在目录ch1下建立一个目录dir28,并且建立文件file28.txt,在文件中写入"Otimes 1 times" 在目录ch1下建立一个目录dir28,并且建立文件file28.txt,在文件中写入“l times” 在目录chi下建立一个目录dir28,并且建立文件file28.txt,在文件中写入“Otimes” 抛出IOExceptin异常
Open"file1.txt" for Output As #1 Open "file1.txt" for Input As #1 Open "file1. txt" for Random As #1 Open "file1. tx",for Binary As #1