Autoren Bat Script

External additional handy features.
2 posts Page 1 of 1 First unread post
mrjackv
Deuce
Posts: 2
Joined: Sat Mar 02, 2013 4:22 pm


Hello everyone!

This is a small script I wrote while playing BuildCon 2013.
It just automatically renames with date and time the lastsav.vxl (also includes basic logging)

Instructions:
1. Place autoren.bat in AoS\vxl folder
2. Double click on autoren.bat
3. Play
4. When finished enter the cmd prompt and press Ctrl-C to close the program (answer yes when prompted)

Source Download

Have Fun!
Buffet_of_Lies
Mapper
Mapper
Posts: 402
Joined: Tue Nov 20, 2012 11:25 am


Not a bad idea. Your "source" link doesn't seem to function on my end. You could probably just put it in the message with code tags. Like this...
Code: Select all
@echo off

:: MrJackV's Autoren Script
:: please change the variable below to change refresh time
set delay=2000

:LOOP
set good_time=%time:.=_%
set "filename=%date:/=_% - %good_time:~0,8%"
if exist lastsav.vxl (
ren lastsav.vxl "%filename%.vxl"
echo renamed lastsav.vxl into %filename%
)
ping 192.0.2.2 -n 1 -w %delay% > nul
GOTO LOOP
2 posts Page 1 of 1 First unread post
Return to “Add-ons & Tools”

Who is online

Users browsing this forum: No registered users and 28 guests