By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,708 Members | 2,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,708 IT Pros & Developers. It's quick & easy.

I want a URL link for example C:\windows\cmd.exe"and here the possibility to put a co

P: 3
I want to have a clickable link which runs cmd and a specific command.I know how to run it from Run(cmd /c "command").
Aug 5 '13 #1

✓ answered by OvidiuGab

Well I know there is a command in cmd like open /-y filename and it will open the file and if there are some popup messages it will answer all of them with yes.

Share this Question
Share on Google+
6 Replies


Rabbit
Expert Mod 10K+
P: 12,369
A web page can not access and run executables on the local file system because of security concerns.
Aug 5 '13 #2

P: 3
Hey, thanks for the response, in the meantime I have abandoned the ideea to do that and picked up the ideea to use a batch file but I would like to know how to "press" a button with cmd if a popup message appears when it is trying to run a program.
Aug 6 '13 #3

Rabbit
Expert Mod 10K+
P: 12,369
I don't know what that means.
Aug 6 '13 #4

P: 3
Well I know there is a command in cmd like open /-y filename and it will open the file and if there are some popup messages it will answer all of them with yes.
Aug 6 '13 #5

Rabbit
Expert Mod 10K+
P: 12,369
Batch files can't press buttons
Aug 6 '13 #6

P: 10
It may be better to use perl.
Aug 20 '13 #7

Post your reply

Sign in to post your reply or Sign up for a free account.