| DosTips.com ... for VISTA,XP,NT,Server 2000,Server 2003,Server 2008 |
|
Last update: Dec 19, 2008 |
Description: | One might say DOS is obsolete, other`s might just wonder why it`s still supported out-of-the-box
in all Windows Operating Systems. This list of basic features may help understand. |
Description: | This section is yet to written. |
Description: | An executing DOS batch script is aware about the name and location of its own source file via
the %0 batch parameter. This allows a batch to parse its own source file and change the
execution path based on the parsing result. This is useful for e.g:
|
Description: | A batch file that is executing can modify itself with immediate effect. As it executes it
can build the next command to be executed and append the new command to itself. This is useful for e.g:
|
Description: | In DOS a variable is simply a place holder for a piece of command line. At runtime a
variable is simply being substituted by its string content. That’s why the string content
can be a value, a command, partial value, a partial command or a mix of them. In case of
substituting a variable to a command, this command to be substituted can use variables
itself. This opens up a lot of space for creativity, e.g.:
|