miss my unix babe...could anyone here give me a resource (book or web) so that i can learn Dos script as a UNIX programmer?
i'm stuck at a damn simple command, in UNIX we can do:
ls -t | tail -n 1
get the latest modified file in this directory.
But, i cannot find the corresponding command in Dos, simply becoz there is no "tail" in dos :(
thank you!
dir /o:-d or dir /t:w
when 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
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sort.mspx
Freedom is slavery.
Ignorance is strength.