doskey 512 byte buffer
doskey /bufsize=1000 1K buffer
doskey /bufsize=256 minimum size
Use Up and Down Arrow to move through command history, and press Page Up and Page Down for the oldest and most recent command. Doskey uses these additional key commands:
Key Function F7 Display command history Alt-F7 Clear command history Alt-F10 Clear macros F9 Recall command by number Ctrl <-- Cursor previous word Ctrl --> Cursor next word Home Cursor beginning of line End Cursor end of line Esc Clear line Ins Insert mode for this line
CREATING MACROS
Doskey macros are useful for shortening phrases that are hard to type; for example, suppose you often copy the file D:PKWAREPKUNZIP.EXE to different directories or disks. You could create a macro named PK as follows:
doskey pk = copy d:pkwarepkunzip.exe $1
The $1 creates a blank field for data entry. Now that the macro is created, to copy PKUNZIP.EXE to the B drive, you would type:
pk b:
Entering the command above converts the macro into the following command (the b: replaces the $1):
pk = copy d:pkwarepkunzip.exe b:
To see the macros you've created, type:
doskey /macros
Doskey macros last for only the current session. If you save them in a batch file and add the word DOSKEY in front of each one, you can execute the batch file and recreate the macros in the next session. To store your macros in MYMACRO.BAT, type:
doskey /macros > mymacro.bat
In order to make the resulting file a command file, you have to type the word DOSKEY at the beginning of each line.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Windows 7 wishes
- Windows 7 wishesOn layers.Per Ed's post, IE 8 continues to be integrated and integral to the OS. It is likely that many other user space apps that MS creates, will at least be partially embedded, if not completely.End user applications have no business being part of the OS itself,...
- Discussion threads 2008-08-19
- My Windows 7 wish list
- My Windows 7 wish listPut more muscle in thereWhen you pay 100+ bucks, you'd expect it's loaded with more than just Notepad or Paint. Those two haven't had much major upgrade since Windows 3.0. If you want some themes, you shouldn't have to pay another 40 or so to get...
- Discussion threads 2008-08-19
- Apple tops customer satisfaction survey ... again
- Apple tops customer satisfaction survey ... againDellI have always owned Dell machines. Although I have never had to have one of them replaced, I have heard fro mothers that it was a painstaking process. So it makes sense that they are 10 points behind Apple. My friends that have had...
- Discussion threads 2008-08-19
- A world without Windows?
- A world without Windows?http://news.zdnet.com/2422-13568_22-216447.htmlwhat kind of protection will that be if a email with virus comes in and there is no antivirus or os to control it?sounds good on paper but a whole new avenue for hackers!!!!!!!!!!RE: A world without Windows?How about a system that would allow a computer to...
- Discussion threads 2008-08-18
- 1.5m spam emails sent from compromised University accounts
- With the increasingly common spamming as a service underground propositions relying on botnets, and services offering thousands of pre-registered accounts at popular email providers, it would be logical to consider that old school techniques consisting of compromising accounts and abusing them to send as many spam emails as possible in...
- Blog posts 2008-08-15
- The end run around the OS is underway
- The end run around the OS is underwayNot exactly correct...The Dell's and others that do this wonderful magic use something called a "hypervisor" which is a fancy word for "Small Operating System". The OS most of them load up is.... drumroll please... Linux. They load up a limited...
- Discussion threads 2008-08-15
- PulsePar (zip)
- PulsePar turns a PC into a multi-channel pulse generator utilizing the parallel port. The period, duty and phase of each channel are adjustable so as to be used in PWM systems as well as in testing servo and stepper stepping motors. If you have an old PC, boot it by...
- Software downloads 2008-08-14
- Virtual Machine Software Announcements - Why Now?
- Virtual Machine Software Announcements - Why Now?Virtual machine worthless.http://www.theinquirer.net/gb/inquirer/news/2008/08/12/vmware-update-bombedUnless you are running two different OS', why would you run a virtual machine? My Windows and Linux machines multi-task just fine with only one instance of the OS loaded. Especially as cheap as hardware is today, VM's simply add a layer...
- Discussion threads 2008-08-13
- Georgia conflict may mean the birth of modern cyber-warfare
- Georgia conflict may mean the birth of modern cyber-warfareTaiwanI think an impetus for Red Flag Linux wqas the inability of Beijing to secure Windows against Taiwan, but my memory might be faulty.Cyberwar? You must be kiddind...I thought that word "war" is applicable for some serious events that have catastrophic consequences...
- Discussion threads 2008-08-12
- Coordinated Russia vs Georgia cyber attack in progress
- Coordinated Russia vs Georgia cyber attack in progressOffending messagesI would like to know what constitutes an 'offending message' and who makes the decision and on which criterion?Other than that, I want to say that Russia is being vilified in a similar way to Serbia when she fought against terrorisism directed...
- Discussion threads 2008-08-11
- Coordinated Russia vs Georgia cyber attack in progress
- In the wake of the Russian-Georgian conflict, a week worth of speculations around Russian Internet forums have finally materialized into a coordinated cyber attack against Georgia's Internet infrastructure. The attacks have already managed to compromise several government web sites, with continuing DDoS attacks against numerous other Georgian government sites, prompting...
- Blog posts 2008-08-11
- Numbers on the NBC's Silverlight Olympic Coverage
- Numbers on the NBC's Silverlight Olympic CoverageWould have loved to watchbut the GARBAGE known as Silverlight won't run on my PowerPC Mac the last PPC Powerbook.I sent them an e-mail about this and that they should have picked Flash or generic MPRG4 for the transport so ALL could see the...
- Discussion threads 2008-08-11
- Georgia turns to Google's Blogger amid Russia onslaught
- Georgia turns to Google's Blogger amid Russia onslaughtwhat a bsis it really journalism when just copy and paste somebody else's BS?RE: Georgia turns to Google's Blogger amid Russia onslaughtRussia is doing an amasing job in protecting the people in he break away regions.RE: Georgia turns to Google's Blogger amid Russia...
- Discussion threads 2008-08-11
- Ok, I admit it. I love NBCOlympics.com! Now go make it work on Linux!
- Ok, I admit it. I love NBCOlympics.com! Now go make it work on Linux!RE: Ok, I admit it. I love NBCOlympics.com! Now go make it work on Linux![url=http://www.dtschmitz.com/dts/2008/08/nbcolympicscom-linux-users-sol.html]Hate it.[/url]Sticks in the kraw of Open Source folksas they can't stand working with anything MS related.What OS were you using?I was watching...
- Discussion threads 2008-08-11
- The Microsoft middle ground
- The Microsoft middle groundYes, but the current perceived credit crunchshould get rid of a lot of the "me-too" fat from the system.Only the genuine knowledgeable IT lovers will be left ....Price vs TCOYour piece fails to mention the well-documented costs of owning MS-based desktops and servers. The delta in...
- Discussion threads 2008-08-07
- Jump the connection revisited (Cracking Open the IBM PC Jr.)
- Jump the connection revisited (Cracking Open the IBM PC Jr.)Here is a modern solutionSimply gut the JR and put an Intel Mac mini inside it.You will then have a modern computer that can run the superior MacOS X or the malware sucking Windows.IBM PC Jr.The IBM PC Jr. was...
- Discussion threads 2008-08-07
- Intel: Linux has 'no place' on desktop
- Intel: Linux has 'no place' on desktopIt's GainingI think Ubuntu and Wubi have made big strides in putting Linux on the desktop. My first encounter with Linux was back in the early(?)/mid 90s. I installed an early Slackware version of Linux on my 486 (along with OS/2, PC/DOS, Win 3.1...
- Discussion threads 2008-08-06
- Microsoft contracts stymie IBM laptop Linux plans
- Microsoft contracts stymie IBM laptop Linux plansWhere had you read that?[i]When it comes to new hardware, most makers charge you for Windows even if you don’t get it. They do this to maintain their relationship with Microsoft[/i]Actually, I hear that these companies charge you for FreeDos, (though they claim it...
- Discussion threads 2008-08-06
- LinuxWorld keynotes: Now is the time to invest.
- If there was one solid message to come from the opening keynotes at LinuxWorld in San Francisco, it is this: Now is the time. Illustrated through the lenses of two large, mainstream industries – financial services and health care – the first two presenters talked about ways...
- Blog posts 2008-08-05
- Is copy and paste really needed on the iPhone?
- Is copy and paste really needed on the iPhone?Stop making excusesI can't even count the number of times I send someone a URL or get a URL in an email.The iPhone is showing it's lineage as an iPOD and not a serious computer, and I at least give Apple credit...
- Discussion threads 2008-08-05
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Intel IT Data Center Efficiency Initiative - Going Green
-
"See how Intel is consolidating down to 8 global data center hubs through the use of consolidation, virtualization and standardization. The initiative is expected to save Intel $1.8B by project completion.
- See how Intel plans to save $1.8 billion >>

- Visit the all new ZDNet Enterprise Mobility Hub sponsored by Verizon Wireless. It has the latest news, commentary, and resources for your mobile strategy development.
- Read the latest from Matthew Miller's The Mobile Gadgeteer Blog
- Five steps to protect mobile devices anywhere, anytime
- Watch a video about Distributed Antenna Systems (DAS)
- Learn how you can fetch your email from anywhere
- All this and more on the ZDNet Enterprise Mobility Hub





