See Error Messages
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: See Error Messages
by Rob Cashwalker » 20 Mar 2009, 14:41
Batch file to run this debug with output to unique filename
- Code: Select all
@echo off
for /f "tokens=2-4" %%i in ('echo %date%') do (
set today=%%i
)
for /f "tokens=1-3 delims=/" %%a in ('echo %today%') do (
set month=%%a
set day=%%b
set year=%%c
)
for /f "tokens=1-1 delims=." %%i in ('echo %time%') do (
set now=%%i
)
for /f "tokens=1-3 delims=:" %%a in ('echo %now%') do (
set hour=%%a
set min=%%b
set sec=%%c
)
echo When finished, press any key to continue...
run-forge-debug > mtgf-dbg_%year%%month%%day%_%hour%%min%%sec%.txt
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
16 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 53 guests