| View previous topic :: View next topic |
| Author |
Message |
detheater Expert Cheater
Reputation: 0
Joined: 07 Apr 2007 Posts: 238
|
Posted: Tue Aug 19, 2008 7:17 pm Post subject: .BAT help |
|
|
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 But help will be apreciated and +rep rewarded. Please help me learn what im doing wrong D=
|
|
| Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Tue Aug 19, 2008 7:43 pm Post subject: |
|
|
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 |
|
 |
detheater Expert Cheater
Reputation: 0
Joined: 07 Apr 2007 Posts: 238
|
Posted: Tue Aug 19, 2008 7:53 pm Post subject: |
|
|
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 |
|
 |
jamesfranko Grandmaster Cheater
Reputation: 0
Joined: 12 Aug 2007 Posts: 510
|
Posted: Wed Aug 20, 2008 8:53 am Post subject: |
|
|
Echo Msgbox "Complete" >> Start.vbs
Start Start.vbs
|
|
| Back to top |
|
 |
|