Yeah, basicly I'm trying to automate a proccess which involves file moving, renaming, update...ect.
I'm having difficulty in that i can't get some syntaxes right and i'm not sure of how to do things. Maybe it would be better in Visual Basic, but my knowledge for that is gone.
What it needs to do is this: Update source code via SVN (Already compiled a script) Compile the resulting C++ into an exe (Already compiled) Change the directory of the root drive. Rename the old exe file using the data in the exe version Change the directory into the "Old" folder Create a new directory based on the filename of the exe Move the old exe file to the newly created folder Move the new compiled exe to the root drive End script
So far i have:
Code:
C:\~~\TortoiseProc.exe /command:update /path:d:\Source\src /closeonend:1 makeexe32.bat cd D:\ ren program.exe (code?).exe cd D:\Old md (code?) move D:\****.exe D:\Old\****\ (code syntax wrong?) move D:\Source\program.exe D:\ (code syntax wrong?) exit
Any help? Would making a VBasic program be better? If so what code?
----
On a quest for Digital 573 and Dancing Stage EuroMix 2
By gods I've found it!
|