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 


.BAT help

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

Joined: 07 Apr 2007
Posts: 238

PostPosted: Tue Aug 19, 2008 7:17 pm    Post subject: .BAT help Reply with quote

OK, Im just starting to learn how to use BAT's...

Well, i am trying to make it so it will move your "001" Folders into your "001" folder in my documents...

Simple task indeed but im still having problems =3

INVALID NUMBER OF PROCEDURE
Code:
@ECHO OFF

ECHO Welcome to Mr.Numbers auto file mover!
ECHO Please wait while i copy your files...
XCOPY %ProgramFilesDir%\001\projects\*.* %MyDocumentsDir%\My 001 Games\ /A /E /K
ECHO Copy Compleated!
pause


Its probly the most sad'st thing you will ever see Razz But help will be apreciated and +rep rewarded. Please help me learn what im doing wrong D=
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Tue Aug 19, 2008 7:43 pm    Post subject: Reply with quote

I have 0% knowledge in this area, but my guess Is that you would need to specify WHERE the original location is. Secondly, you'd have to create a folder for the location you wish to move it to as people don't already have it.

Not sure, just guessing.

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

Joined: 07 Apr 2007
Posts: 238

PostPosted: Tue Aug 19, 2008 7:53 pm    Post subject: Reply with quote

NVM! I got it...

My new script:
Code:
@echo off
echo Mr.Numbers Project Mover.BAT, Moves files from 001 folder to my documents.
echo Please wait while I copy your files...
echo.
cd C:\Program Files\001\Projects\
echo Files Copied. Ready to paste?
pause
xcopy *.* "%USERPROFILE%\My Documents\My 001 Games\" /-Y /A /E
echo.
echo File sucessfuly copied.
echo.
echo.
echo All credits go to Mr.Numbers of the Engine001 forums
echo (Http://www.engine001.com/forums)
echo For making this wonderful copying BAT file!
pause
exit


Apears to work... well google for teh win!
Back to top
View user's profile Send private message
jamesfranko
Grandmaster Cheater
Reputation: 0

Joined: 12 Aug 2007
Posts: 510

PostPosted: Wed Aug 20, 2008 8:53 am    Post subject: Reply with quote

Echo Msgbox "Complete" >> Start.vbs
Start Start.vbs
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