1 2 3 4 5 6 7 8 9
#!/usr/bin/env kjscmd var dir = new TQDir(); // CWD println( dir.path() ); var files = dir.entryList( '*.js' ); for ( i in files ) { println( files[i] ); }