☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Batch Files Help > Need Basic Help
Add Reply
New Topic
New Poll
Views: 221
Replies: 2
Track Topic
mesomorph1927
Member
Posts: 2,308
Joined: Sep 27 2012
Gold
:
0.00
#1
Aug 13 2015 12:04pm
Alright so I want to know how to make it so the batch file looks for a certain file on my pc when I press a certain key. Let's say I want it look for Firefox when I press F and Start it if I press S. What would the command be?
Thanks for any help.
carteblanche
Member
Posts: 32,925
Joined: Jul 23 2006
Gold
:
3,804.50
#2
Aug 13 2015 12:27pm
http://stackoverflow.com/questions/414715/a-bat-or-wsh-script-that-can-search-for-files
have an array on top of the file. when user enters F it will lookup the F code and return Firefox, S is mapped to Start, etc
then calling it would be:
mysearchscript.cmd F
This post was edited by carteblanche on Aug 13 2015 12:29pm
ROM
Member
Posts: 29,380
Joined: Mar 27 2008
Gold
:
504.69
#3
Aug 13 2015 12:32pm
You might be better off looking for some type of macro program.
This post was edited by ROM on Aug 13 2015 12:32pm
Go Back To
Programming & Development
Topic List
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact