Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: how do i make a batch file so it will do something when you press a certain key?  (Read 3232 times)

0 Members and 1 Guest are viewing this topic.

bubbz

  • Guest
I am fairly new at batch and am trying to make a program. i want it so that it will take keyboard commands. I know the pause command, but say I wanted to make it so that i had a hub for all the drives and i pressed F for the F Drive, Q for the Q drive, and so on. how do i do this?

I have a list of batch commands that says the command to allow keyboard input is choose, but i don't know how to use it. If anyone knows a more detailed list that tells all the batch commands and how to use them could you please post the url?

Dusty



    Egghead

  • I could if she would, but she won't so I don't.
  • Thanked: 75
  • Experience: Beginner
  • OS: Windows XP
The availability of commands depends on the Operating System being used.  You didn't mention yours - here are the XP commands.

One good deed is worth more than a year of good intentions.