dir /o:-d or dir /t:wwhen it comes to Microsoft's product, their product documentations are the best reousrces to consult, instead of google.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sort.mspx
thank you, but it doesn't solve my problem
i only need one line as output. imagine a directory contains millions of files, no point to waste time on displaying the rest...
there's some tool kits provide by MS hv tail function, but i'd better make sure i don't relie on some extension applications to finish my script.
there's some tool kits provide by MS hv tail function, but i'd better make sure i don't relie on some extension applications to finish my script.