Follow us on Twitter!
Capitalism is an Island of wealth in a sea of poverty
Friday, April 25, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 21
Guests Online: 19
Members Online: 2

Registered Members: 82906
Newest Member: ilija
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Basic Batch Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-12-08 06:06
I have a super simple question about basic batch programming. All I need is a batch program that runs, does absolutely nothing without showing the dos window, then exits.

My Code:
Code

@echo off
exit





The window still pops up for a split second...Any help?


Author

RE: Basic Batch Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-12-08 06:16
Are you trying to figure out how to make a batch program run silently?


Author

RE: Basic Batch Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-12-08 06:24
haha yeah it does seem like a really stupid question, but I'll have you know I do know what a batch file is Pfft

I guess you could call it making it run silently but i'm not trying to make a 1337 h4x0r virus if that's what you're thinking. My problem is Windows is being dumb and on startup is running something (MS Office I think) that trys to open an rbf file but i get a "Windows cant open" message every time I turn my computer on and I dont know where the rbf file is or what task is requesting it so im trying to make a batch handler that will simply open and close so windows shuts up. Hope that made sense...


Author

RE: Basic Batch Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-12-08 06:40
Oh so you don't need to run it silently...

Find out what process the error message is (cmd > tasklist) and then just put a taskkill command in your batch. I think that should work...