N
nkhimani
Folks,
I need help ... in UNIX world it is relatively easy to set a variable
from a process. For example:
$ junk=`ls -altr | tail -1 | awk '{print $9}'`
$ echo ${junk}
This sets variable 'junk' to the file name of most recent file.
What's the trick to perform this in DOS world? TIA,
-NK
I need help ... in UNIX world it is relatively easy to set a variable
from a process. For example:
$ junk=`ls -altr | tail -1 | awk '{print $9}'`
$ echo ${junk}
This sets variable 'junk' to the file name of most recent file.
What's the trick to perform this in DOS world? TIA,
-NK