Q. How do I run multiple commands on the Windows command-line?
A. Simple. All you do is separate each command with the ampersand (&) symbol.
copy file1.txt file2.txt & del file1.txt
copies file1.txt to file2.txt and then deletes file1.txt – fairly useless but it does show how the ampersand works. Note that the second command only runs after the first one is complete.
But if you’re looking for a simple way to run multiple commands on the Windows command-line, this is it.
- ToneShop will be returning shortly
- Simple Vista Tip – Get command-line access in current Explorer folder
- Quick Tip: Windows 7′s Open Command Prompt Here
- Back up your software discs
- Adding Simple Video Converter to Windows XP
- Q&A – How do I get movies onto a USB flash drive?
- PC User PerfectPC update – April 2009 issue
- 10 free RAW image tools for Linux
- Windows 7 – use your common sense!
- 10 free photo/image tools for Linux
- Q&A – How long should a notebook battery last?
- Q&A – I bought a Windows 98 CD online but it won’t boot.
- Q. Does AutoRip handle VOB files?
- Q&A – Can I use Wi-Fi to watch movies on my notebook?
- Q&A – Capacitive vs resistive touchscreens – what’s the difference?
- How to play Google’s doodle Pac-man
- Q&A – How do I put footnotes into a Word 2003 document?
- Q&A – Can my computer monitor show 3D movies?
- Q&A – Australian health reform achieves… what exactly?
- Q&A – What speed memory do I need for a new Core i-series chip?