|
Answer» After finishing my goal for the Adventure game for the month, I decided to start mucking around at what I could do, and my friend asked me to make a grid...... Problem #1 Would I use a x, y gird and then how would I apply it Problem #2 I am using an xp with does not have choice That's all I got.....for now any way Thanks
I am on my computer testing this right now.....just in case I STOLE this from Snake.bat, but check this out:
Code: (control.bat) [Select]setlocal enableDelayedExpansion for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a" set "key=" for /l %%. in () do ( set "key=" for /f "delims=" %%A in ('xcopy /W %~f0 %~f0 2^>nul') do if not defined key set "key=%%A" set key=!key:~-1! echo !key!>cmd.txt if EXIST contr exit )
The LETTER will appear in cmd.txt. To use this though, you need to have 'start /b cmd /c control.bat' to have it run in the background while still maintaining control.
|