ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Asp List Files In Directory
    카테고리 없음 2020. 2. 29. 20:26

    Asp File Object

    GetFiles example. You must include the System.IO namespace with a using directive at the top of your file, or use the fully qualified name System.IO.Directory.GetFiles type.Here: The program uses the C: directory. It filters the files in that directory and only displays the ones with the 'BIN' extension.Literals: More information about the string literal format used is available—the verbatim literals are useful for paths.Argument 1: The first argument to GetFiles is the directory path. In a Windows Forms program, you can use Environment.SpecialFolder.Argument 2: The second argument uses the pattern '.BIN'. You have seen these patterns in the 'Open File' dialogs in Windows before.

Designed by Tistory.