Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help] Batch File Programming

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Flabbergasted
Expert Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 231
Location: I have alzheimer's.

PostPosted: Sun Feb 03, 2008 2:09 pm    Post subject: [Help] Batch File Programming Reply with quote

Code:
@echo off

cd "C:\Documents and Settings\Username\Desktop\DxWnd"
start /min DXwnd

cd "C:\Documents and Settings\Username\Desktop\Snootae Bot 1.0.4.1"
start Snootae Bot

cd "C:\Documents and Settings\Username\Desktop\ME1129"
start GIORA'sCT.CT

echo Start bypass?
pause>nul
start Bypass

echo Start MapleStory?
pause>nul
cd "C:\Documents and Settings\Username\Desktop"
start MapleStory

cls
echo No credits.


Hey, I made this simple batch file for opening hacks with one click for MapleStory. I was wondering if you can make it say "Cannot find MapleStory" if it cannot find MapleStory. Also, can you make it pres keys like enter and are there other useful commands? Post please. Thanks Smile
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sun Feb 03, 2008 5:07 pm    Post subject: Reply with quote

I think there's something like

Code:

IF FILEEXIST whatever


But I'm not sure.

You should Google. If there is, you could do something like this:

Code:

if fileexist maplestory then goto maplestoryexists

echo "maplestory not found"
goto exit

maplestoryexists:
start maplestory

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sun Feb 03, 2008 5:14 pm    Post subject: Reply with quote

Code:

if not exist "c:\verify.ini" echo no
if exist "c:\verify.ini" echo yes

_________________
Back to top
View user's profile Send private message
Flabbergasted
Expert Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 231
Location: I have alzheimer's.

PostPosted: Sun Feb 03, 2008 9:14 pm    Post subject: Reply with quote

Oh okay, ty. Is there a way to open the program even if there's a space in the name. For example,

Code:
start GIORA's CT.CT


It will say "GIORA's not found." when you execute it.
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Sun Feb 03, 2008 9:22 pm    Post subject: Reply with quote

Flabbergasted wrote:
Oh okay, ty. Is there a way to open the program even if there's a space in the name. For example,

Code:
start GIORA's CT.CT


It will say "GIORA's not found." when you execute it.

Put it in quotation marks.
Code:
START "GIORA's CT.CT"
Back to top
View user's profile Send private message
Flabbergasted
Expert Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 231
Location: I have alzheimer's.

PostPosted: Sun Feb 03, 2008 9:33 pm    Post subject: Reply with quote

Xenophobe wrote:
Flabbergasted wrote:
Oh okay, ty. Is there a way to open the program even if there's a space in the name. For example,

Code:
start GIORA's CT.CT


It will say "GIORA's not found." when you execute it.

Put it in quotation marks.
Code:
START "GIORA's CT.CT"


Okay, I did that and it worked for like the first time then the other times it opened another batch file or something.

Code:
@echo off

cd "C:\Documents and Settings\Username\Desktop\DxWnd"
start /min DXwnd

cd "C:\Documents and Settings\Username\Desktop\Snootae Bot 1.0.4.1"
start "Snootae Bot"

cd "C:\Documents and Settings\Username\Desktop\ME1129"
start "GIORA's CT.CT"

echo Start bypass?
pause>nul
start Bypass

echo Start MapleStory?
pause>nul
cd "C:\Nexon\MapleStory"
start MapleStory

cls
echo No credits.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites