• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:21
CET 14:21
KST 22:21
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Behind the Blue - Team Liquid History Book9Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info6herO wins SC2 All-Star Invitational14
Community News
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)9Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win2RSL Season 4 announced for March-April7Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0
StarCraft 2
General
Behind the Blue - Team Liquid History Book How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Rongyi Cup S3 - Preview & Info Clem wins HomeStory Cup 28 HomeStory Cup 28 - Info & Preview
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) WardiTV Mondays $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) Sparkling Tuna Cup - Weekly Open Tournament $5,000 WardiTV Winter Championship 2026
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 512 Overclocked The PondCast: SC2 News & Results Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
[ASL21] Potential Map Candidates Liquipedia.net NEEDS editors for Brood War BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Can someone share very abbreviated BW cliffnotes?
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
ZeroSpace Megathread Diablo 2 thread Battle Aces/David Kim RTS Megathread EVE Corporation Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread YouTube Thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Play, Watch, Drink: Esports …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1375 users

How to: Never have to save a replay again... - Page 3

Forum Index > SC2 General
Post a Reply
Prev 1 2 3 4 5 Next All
Alsn
Profile Joined February 2008
Sweden995 Posts
Last Edited: 2010-07-31 16:33:53
July 31 2010 16:33 GMT
#41
On July 31 2010 06:24 Ownos wrote:
For anyone having trouble using WinXP the run line on your task should look like this:
D:\WINDOWS\system32\wscript.exe "D:\invisible.vbs" "D:\replays.bat"

Had a bit of trouble thinking I had to run replays.bat as the program haha.

I also changed the time stamp to be more readable:
set modTime=%%e-%%c-%%d-!hour!%%g

Should output 2010-7-30-1200 instead of one big number.

Also does anyone know if the release version still autodeletes? I'm assuming it still does so I set it up just now for release.
Release version still autodeletes which I unfortunately found out the hard way. :/

I'm having some troubles getting the script to work properly, it outputs the time stamp as hour-year-month-day-minutes which seems really odd to me.

Is it because my settings(Swedish, although the windows installation is in English) use a 24 hour clock? If so, how would I tweak the code for it to output correctly?(I'm on winXP if that matters)
Machina improba! Vel mihi ede potum vel mihi redde nummos meos!
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 16:47 GMT
#42
Yes as I warned in my post, the date parser needs to be tweaked if you run a non-standard US English locale.

There didn't seem to be much interest so I gave up on rewriting it to account for other locales.

But I'll take another look.
carwashguy
Profile Joined June 2009
United States175 Posts
July 31 2010 17:00 GMT
#43
I was really hoping Starcraft would implement this functionality with 1.0, but now I'm definitely going to set this up.
Rags
Profile Joined July 2010
Sweden11 Posts
July 31 2010 17:20 GMT
#44
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.


Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...
goneim
Profile Joined May 2010
China201 Posts
July 31 2010 17:58 GMT
#45
Wow, thats awesome man, thx a lot!
Day[9] Fan Club Member #516
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 18:14 GMT
#46
On August 01 2010 02:20 Rags wrote:
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.

Show nested quote +

Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...


I get this too. Works fine though.
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 18:23 GMT
#47
On August 01 2010 02:20 Rags wrote:
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.

Show nested quote +

Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...


this most likely means that the arguments aren't being specified correctly, check that you have quotes around each of the arguments.
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 18:30 GMT
#48
On August 01 2010 03:23 Blahman wrote:
Show nested quote +
On August 01 2010 02:20 Rags wrote:
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.


Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...


this most likely means that the arguments aren't being specified correctly, check that you have quotes around each of the arguments.


I copy-pasted it though.

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 18:37 GMT
#49
not there, in your scheduled task, how are you calling wscript?
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 19:33 GMT
#50
Sorry, I'm not following. I followed the direction at the top of page 2 verbatim.
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 19:47 GMT
#51
Are you running 7/Vista or XP?

In 7/Vista, you set the program to run (wscript.exe) in the "Program/Script" box and the arguments in the "Arguments (optional)" box.

The first argument is the path to invisible.vbs, surrounded by quotes. The second argument is the path to sc2replays.bat, also surrounded by quotes. E.g.

"c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"

In XP you set the arguments as part of the whole command string in the "Run" box. I have not tried this on XP but I believe the syntax is the same just all in one long string, such as:

wscript.exe "c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"
Alias-SC2
Profile Joined July 2010
United States2 Posts
July 31 2010 21:15 GMT
#52
I was trying to find a program like this, thanks.
Insane Mode is My Forte
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 21:51 GMT
#53
On August 01 2010 04:47 Blahman wrote:
Are you running 7/Vista or XP?

In 7/Vista, you set the program to run (wscript.exe) in the "Program/Script" box and the arguments in the "Arguments (optional)" box.

The first argument is the path to invisible.vbs, surrounded by quotes. The second argument is the path to sc2replays.bat, also surrounded by quotes. E.g.

"c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"

In XP you set the arguments as part of the whole command string in the "Run" box. I have not tried this on XP but I believe the syntax is the same just all in one long string, such as:

wscript.exe "c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"



Wooo, thanks man. Works without a error now.
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
nam nam
Profile Joined June 2010
Sweden4672 Posts
July 31 2010 22:07 GMT
#54
On July 12 2010 12:20 GreatestThreat wrote:
You could also, you know, just save them each time you finish a game that you thought was worth keeping around. There's a save replay button right in the score screen.

Excellent first post though, I'm sure somebody will find a use for it!


You can forget. When I get into the zone I just keep going on to the next game and it's easy to overlook. If I would save few replays you might have a point but this is defiantly something useful.
Blahman
Profile Joined July 2010
United States40 Posts
Last Edited: 2010-07-31 22:09:57
July 31 2010 22:09 GMT
#55
On August 01 2010 06:51 baeracaed wrote:
Wooo, thanks man. Works without a error now.

Cool good to hear.

In other news I am very close to having a more universal date parser so people using other locales should be able to use this. It's not 100% as there are some very weird exceptions in the hundreds of locales out there, but it should work for the vast majority.
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 23:18 GMT
#56
I've updated my original post with the new date parser code -- be sure to grab it and set it up again if you are running a non-US English locale.
MingoDynasty
Profile Joined May 2006
United States43 Posts
August 01 2010 01:38 GMT
#57
Wouldn't Belvedere do the same thing but more efficiently since you don't have Windows running a vb script every 5 minutes?
http://lifehacker.com/341950/belvedere-automates-your-self cleaning-pc
http://www.youtube.com/MingoDynasty
Blahman
Profile Joined July 2010
United States40 Posts
Last Edited: 2010-08-01 05:38:22
August 01 2010 05:36 GMT
#58
On August 01 2010 10:38 MingoDynasty wrote:
Wouldn't Belvedere do the same thing but more efficiently since you don't have Windows running a vb script every 5 minutes?
http://lifehacker.com/341950/belvedere-automates-your-self cleaning-pc


I have never used that program myself so I couldn't say for sure, but it probably uses a similar amount of resources to monitor a folder. In either case it's probably so extremely minimal that it's not worth fretting over. Just use whatever solution works for you.

The other consideration is I doubt that app can do the automatic renaming my script does:
  1. Removes any (1), (2) etc. after the map name.
  2. Adds the date/time modified to the filename so that it is unique and will never overwrite a replay

Unless it has some built-in scripting support which would invariably add some overhead.
Alsn
Profile Joined February 2008
Sweden995 Posts
August 01 2010 05:55 GMT
#59
On August 01 2010 08:18 Blahman wrote:
I've updated my original post with the new date parser code -- be sure to grab it and set it up again if you are running a non-US English locale.
Works like a charm! Thanks a bunch!
Machina improba! Vel mihi ede potum vel mihi redde nummos meos!
QuothTheRaven
Profile Joined December 2008
United States5524 Posts
August 01 2010 06:45 GMT
#60
Thank you so much Blahman! This looks like it probably took you a while to do. I for one appreciate your work and am glad the community has people like you to make the difference whenever BNet 2.0 comes up short.
. . . nevermore
Prev 1 2 3 4 5 Next All
Please log in or register to reply.
Live Events Refresh
Wardi Open
12:00
#73
WardiTV806
OGKoka 274
Rex119
IntoTheiNu 13
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
OGKoka 274
Rex 119
StarCraft: Brood War
Calm 7601
Bisu 2089
BeSt 1642
Hyuk 1354
Flash 1162
actioN 1026
Horang2 918
Zeus 802
Larva 528
EffOrt 346
[ Show more ]
Mini 317
firebathero 316
Snow 235
ZerO 222
ggaemo 218
Soma 210
Sharp 152
JYJ 145
PianO 140
Soulkey 129
hero 91
Pusan 78
Rush 77
Mind 60
Mong 56
Backho 51
sorry 35
Aegong 34
Yoon 32
Shuttle 29
GoRush 27
ToSsGirL 26
Free 25
soO 20
Shine 19
Shinee 18
910 18
Movie 16
Noble 14
HiyA 13
Bale 12
SilentControl 8
Icarus 6
Dota 2
qojqva225
XcaliburYe128
Dendi88
Counter-Strike
olofmeister2031
byalli768
x6flipin609
allub403
Super Smash Bros
Mew2King139
Other Games
singsing2010
B2W.Neo536
crisheroes301
Happy272
hiko221
Sick188
Pyrionflax173
Livibee62
ZerO(Twitch)19
ArmadaUGS18
mouzStarbuck1
Organizations
StarCraft: Brood War
UltimateBattle 1728
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• StrangeGG 48
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV214
League of Legends
• Nemesis10754
• Jankos2067
• TFBlade336
Upcoming Events
Monday Night Weeklies
3h 39m
Replay Cast
10h 39m
Sparkling Tuna Cup
20h 39m
LiuLi Cup
21h 39m
Reynor vs Creator
Maru vs Lambo
PiGosaur Monday
1d 11h
Replay Cast
1d 19h
LiuLi Cup
1d 21h
Clem vs Rogue
SHIN vs Cyan
The PondCast
2 days
KCM Race Survival
2 days
LiuLi Cup
2 days
Scarlett vs TriGGeR
ByuN vs herO
[ Show More ]
Replay Cast
3 days
Online Event
3 days
LiuLi Cup
3 days
Serral vs Zoun
Cure vs Classic
RSL Revival
4 days
RSL Revival
4 days
LiuLi Cup
4 days
uThermal 2v2 Circuit
4 days
RSL Revival
5 days
Replay Cast
5 days
Sparkling Tuna Cup
5 days
LiuLi Cup
5 days
Replay Cast
6 days
Replay Cast
6 days
LiuLi Cup
6 days
Wardi Open
6 days
Liquipedia Results

Completed

CSL 2025 WINTER (S19)
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
LiuLi Cup: 2025 Grand Finals
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.