Skip to content.

TalkBMC

Sections
You are here: Home » Blog Archive » Anne Gentle » Exploring Information Design and Development » Very helpful, thank you

Comment

Above in this comment thread: MS-DOS tips for time and date stamps

Very helpful, thank you

Posted by Anon at 2008-01-25 13:34
I had wanted to know how to parse variables in command files for years, this was very helpful. Hear's another tip that may help someone. You can save and use system variables in your command files. For example, this example switches to another directory and then back to the original directory.

set orig_dir=%cd%
cd \some_other_dir
cd %orig_dir%

Nice tip

Posted by Anne Gentle at 2008-01-28 10:57
Takes me a while to wrap my head around it but that's a nice tip! Thanks for posting it.
 
 

Powered by Plone

This site conforms to the following standards: