资 源 简 介
LS by Cao Siqin, 2007.7.17
ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...]
Options:
-? : display this help
-l : list details
-a : list all files
-w/s : list in a line, file names are sepatated by tab
-p : file name with full path
-q : if file name contains space then use " to embrace it
-c : swith on/off color
-d : list folders only
-f : list files only
-o : omit file s extension name
-O : omit all file s extension names
-! : use kernel API instead of stream function to list
other options : will be ignored
Color:
yellow : directory
gray : hidden file/directory
red : readonly file/directory
blue : compressed file/directory
green : system file/directory
white : normal file/directory
Noice:
There should be less then 100 masks
-l/-w, -d/-f can t be both valid, only the latter will be
Both "-" and "/" can be used to define options-LS by Cao Siqin, 2007.7.17
ls [-l/-w/-s][-d/-f][-acpo!?] [path or