
"Buried deep within Windows' bosom is a carbon-crusted fossil from the ancient days of computing. This aged wart on Windows' soul harkens back to a more primitive time, when computers lacked the oomph to go graphical and mice were nothing but rodents. I speak of the command prompt, whose roots lie in DOS, that antique operating system of the 1980s. DOS is gone now. Yet despite Windows' glorious graphical goodness, a wispy memory of text-based computer life still exists. It's a program called CMD.EXE, and it appears in Windows as the command prompt window. Believe it or not, the command prompt to this day still serves as a useful alternative way to control your computer. Indeed, there are some things you can do in the command prompt window that in Windows' graphical interface are tedious, slow or darn near impossible. Come with me as we
discover how an old warhorse like DOS can once again find purpose."
Member since:
2006-04-16
My interest to use windows command shell / dos ( or whatever you want to call it) dropped quickly when i first time needed read current date to a variable in BAT file.
Please, if _anyone_ knows any better way to do this on bat file not using any 3rd party tool, please let me know.
rem get date
FOR /F "tokens=2" %%i IN ('date /t') DO set mydate=%%i