Search : in
By :

Batch File - Auto Proceed

Last answer on Sep 23, 2009 9:02:25 am BST Taka, on Oct 25, 2008 10:38:06 pm BST 
 Report this message to moderators

Hello,

I'm creating a batch file to automatically run an setup.exe, the setup.exe requires Enter to be pressed once and then runs without assistance. Is it possible to have the batch file run the .exe and then automatically select enter for me?

Cheers.

Best answers for « Batch File Auto Proceed » in :
What is a batch file? ShowWhat is a batch file? Creating a batch file Prerequisites Create file Windows comes with a version of DOS, which allows you,exploiting the features and the sequence of commands in a script. Batch file, is a simple text file (ascii)...
Legitimate a suspicious file or process ShowLegitimate a suspicious file or process Possible scenarios How to determine the legitimacy of these files? Doubtful filenames in the process list, Firewall alert informing you that an unknown process wishes to execute, a process that...
[Batch File]Time based actions Show[Batch File]Time based actions Issue Solution Issue Upon creating a batch file you want that certain line of batch file is executed after every second (not all the program only certain line). In VB we can do it using the Timer...
Download Recovery for Oracle ShowRecovery for Oracle is a tool to restore damaged data from an Oracle database . It can also restores backup objects including views and stored procedures . It can work manually or by using an auto-generated rebuild batch file. Advantages The...
Graphic filters ShowFiltering Filtering consists in applying a transformation (called a filtre) to all or to part of a digital image by applying an operator. There are the following types of filters: Low-pass filters, which consist in attenuating image components...
Operating Systems - Customising DOS ShowThe DOS start-up procedure is defined in the autoexec.bat and config.sys files located in the root of your "C:\" drive. We highly recommend making back up copies of these files before modifying them. To deactivate a line of command in either file...

1

tony, on Jan 18, 2009 12:59:34 pm GMT
  • +1

Sir,
I would like to share it with you.I may be benificial to you.I cann't get any idea to run an exe file with ie.kindly post me.

Reply to tony

2

PuPp3t, on Jan 22, 2009 7:23:25 pm GMT
  • +3

Hi hi I kno how to do this



open note pad and paste this:

@echo off
echo Press any key
pause>nul
echo what is your username?
set /p user=
echo what is your password?
set /p pass=
If '%user%'=='Tspider4' goto gooduser
echo WRONG USERNAME AND PASSWORD
echo Press a key to exit
pause>nul
:gooduser
If '%pass%'=='youtube' goto good
echo WRONG PASSWORD
echo Press a key to exit
pause>nul
:good
echo GOOD
echo Wanna start notepad!?
set /p note=
If '%note%'=='yes' start notepad.exe
echo byebye
pause>nule
exit


......................................................................................................
click save as ..... give the name "Program.bat" when u open this file u just follow what the batch file is saying...

"Press any key"

"what is your user name?"
(type this) Tspider4
"what is your password"
(type this) youtube
GOOD
Wanna start notepad?
(type this) yes




(and notepad will open automatically....) now if u wish to open WINDOWS LIVE MESSENGER u just ha to rewrite this "echo Wanna start notepad!?" for "echo Wanna start msnmgr!?"

and rewrite this "If '%note%'=='yes' start notepad.exe" for "If '%note%'=='yes' start msnmgr.exe"

Reply to PuPp3t

8

kakadoen, on May 17, 2009 7:20:53 pm BST
  • +1

Hello, can you also run a .vbs file via a .bat file?

Reply to kakadoen

3

PuPp3t, on Jan 22, 2009 7:26:51 pm GMT
  • +1

Srry I mada a mistake =/ it sound to me like u want to open some kin of ".exe" but i didnt read tht u put "setup"
srry and to press enter for uh .. ugh srry but I dunno =/

Reply to PuPp3t

4

salman, on Mar 1, 2009 6:13:31 pm GMT

If you find the solution please email on salmanbutt24@gmail.com really appriciate ur help...

Reply to salman

5

.bat MAN, on Mar 4, 2009 2:37:07 am GMT

Well you could create a batch file or .bat file to open it auto. or you could get the file you want to start rite away and put it into the startup file (i know windows and windows vista has it not so sure about mac's) and put a shortcut file into it for example say you put your internet shortcut in it it will run automatically when you log into that account.



now the batch file thin (.bat) i was saying before you can put in @echo off start ____.exe and when you click on it or open it it will open right away what you put in the (____) space. but if you do that then whats the point just put the file on to your desktop. i would recommend the startup thing i said before depending on the file. thancks email me back if any more questions at drod1002@gmail.com or instant message me at smartymart8

Reply to .bat MAN

6

haripal wagh, on Mar 24, 2009 3:44:46 pm GMT
  • +3

Hi,
i'm creating a virus using .bat file..
which is auto executable.....
if you have some idea about that then tell me.

Reply to haripal wagh

7

Batch geek, on May 12, 2009 8:09:37 pm BST
  • +1

I know about many type of "viruses" in .bat, but it's not actually viruses.. I also know how to start them as soon as you start your computer.. But if you mail me i can help you with the speciffic type of "virus" you want ;)

per.h92@gmail.com

Reply to Batch geek

9

 n3wb1n83r, on Sep 23, 2009 9:02:25 am BST
  • +1

Don't give the lil' n00bs ideas.... lol dudes its impossible to make an ACTUAL virus in .bat form, it IS possible to irreparably mess up the user's operating system.... but destroying people's computers isn't clever, or particularly nice :/ Im telling all ur mommies. as far as an automatic batch file goes, there are 2 ways to do this, you could .A set the .bat file to install a registry entry itself, or B. you can do this manually. If you can't work out something as simple as this, then i wonder how you managed to actually turn your pc on. buhbyye for now

Reply to n3wb1n83r