> > > > C:\~~\TortoiseProc.exe /command:update /path\Source\src /closeonend:1 > > makeexe32.bat > > cd D:\ > REM At this spot you want to run something else > CodeExtract.exe
Is this in mingw's folder?
> REM this gets the return error code, in C it is the last thing you spit back out just > as you exit main. > REM this puts the error code returned into a command shell variable
Whats REM anyway?
> SET CODE = %ERRORLEVEL% > > ren program.exe %CODE%.exe > > cd D:\Old > > md %CODE% > > move D:\*.exe D:\Old\%CODE%\ (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? > > vbasic would work but probably overkill? Just depends. > > On a command prompt do 'help set' to see how to mess around with command script vars. > At one point I had all sorts of crazy scripts to build and do things. These days I do > it in python or C. You eventually get to the point you need functions and batch files > just dont cut it. I may have the '%' bits wrong up above. As sometimes you need to do > %%ERRORLEVEL%% inside of command files. So you will have to mess around with it a > bit. I am doing this off the top of my head (its been a long time) so you will have > to mess with it. > > I assume you are trying to create some sort of sub directory that contains the > version number. You may also while you are building actually have it just go ahead > and create the directory. I have done that in the past too as the program that is > doing the compiling usually knows the version number anyway...
Yes, would it be different for MAME builds?
----
On a quest for Digital 573 and Dancing Stage EuroMix 2
By gods I've found it!
|