Hi all,
I'm trying to copy the last modified file in dos.
I can use 'dir /OD' to search a directory for the last modified file, but how do I capture the top result as a variable???
any ideas??
Cheers in advance
I'm trying to copy the last modified file in dos.
I can use 'dir /OD' to search a directory for the last modified file, but how do I capture the top result as a variable???
any ideas??
Cheers in advance
