티스토리 뷰

import mx.controls.Alert;
   private function rf():void{
    var fs:FileStream = new FileStream();
    var result:ByteArray = new ByteArray();
   
    var f:String = "C:/Documents and Settings/user/바탕 화면/";
    var ff:File = File.desktopDirectory.resolvePath(f + txt.text);
    fs.open(ff, FileMode.READ);
    fs.readBytes(result, 0, ff.size);
    fs.close();
   
    var ff2:File = File.desktopDirectory.resolvePath(f + txt2.text);
    fs.open(ff2, FileMode.WRITE);
    fs.writeBytes(result, 0, ff.size);
    fs.close();
   
   }
댓글
댓글쓰기 폼
공지사항
Total
1,759,538
Today
2
Yesterday
19
링크
«   2021/10   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
글 보관함