Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting the "ESC" function? 1

Status
Not open for further replies.

cjcoyle

MIS
Nov 15, 2006
55
US
Ok, I'm sure this is the wrong forum but didn't know where else to post - please recommend if appropriate.

I'm executing a batch file, I think. It's actually an fdisk.scr file that I'm trying to use to automate changing active partitions. I've entered the appropriate key strokes so that fdisk executes and changes the partition but I can't seem to figure out how to script the 3 consequential "ESC" key strokes that are required for the changes to take effect. Any help would be GREATLY appreciated!

-Chris
 
Thanks Dian!
What I ended up doing was opening my batch file from DOS and pressing CTRL+P ESC. This creates a character that generates an esc call. Thanks for your time and response though! I'll click you a purple star.

-Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top