It is currently 19 Apr 2024, 12:27
   
Text Size

See Error Messages

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: See Error Messages

Postby 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.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Previous

Return to Forge

Who is online

Users browsing this forum: Aswan jaguar and 78 guests

cron

Who is online

In total there are 79 users online :: 1 registered, 0 hidden and 78 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: Aswan jaguar and 78 guests

Login Form