Home / Microsoft / Microsoft DOS / Editing previous dos command
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Editing previous dos command  (Read 2234 times)
David Holmes
Guest
« on: June 24, 2004, 04:12:41 AM »

Windows XP. When at a dos prompt, I can use the F1 key to bring back the previous command one character at a time or use the F3 key to bring back the whole of the last command. What I cannot do is edit the command by inserting characters ie if I use F1 to get characters to where I want to insert a character, type in my new character, then press F1 again, I find I have overwritten a character rather than inserted a character.  Could you please explain how I can insert instead of overwriting.
IP logged
A
Guest
« Reply #1 on: June 24, 2004, 01:46:35 PM »

That usually doesn't work in a DOS prompt, but try typing "doskey" press enter. THis will allow you to bring back hte previous command by pressing the up arrow, and the next command by pressing the down arrow, once you get to the command, try inserting characters as you would in a word proccesor.
IP logged
chade
Guest
« Reply #2 on: June 26, 2004, 09:32:01 AM »

I believe doskey is loaded by default when using MS-DOS under windows XP.
IP logged
MalikTous
Guest
« Reply #3 on: June 26, 2004, 11:10:01 AM »

When you use F1 to get to the place you wish to insert the character(s), press INSERT before you type in the additional characters. Then press F3 to append the remainder of the previous command buffer.
IP logged
David Holmes
Guest
« Reply #4 on: June 30, 2004, 02:26:05 AM »

I had tried pressing the INSERT key but it still did an overwrite of the characters rather than an insert. The only thing that seems to work is to bring up the whole command then edit that.
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Editing previous dos command « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.07 seconds with 18 queries.