Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Gaming Forum > PC Gaming Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


PC Gaming Support Support for general PC gaming problems.

Reply
 
LinkBack Thread Tools
Old 09-05-2008, 09:07 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 27
OS: (Custom main computer): Windows Vista Ultimate 64-bit....(Dell Optiplex Sx270): Windows XP SP3


writing a Batch File to run Counterstrike [Moved from XP]

Hey I am trying to write a batch file to delete a certain file that gives me problems and boot up a game. The game generates this file, and for some reason it wont start up if that file is there. I didnt know where to post this but I am running XP so thought Id post it here.
THis is all the script in it:
//created By Milandon Foley For Running Counter-strike

GOTO C:\Program Files (x86)\Steam\steamapps\theory5\counter-strike
IF EXIST Clientregistry.blob
DEL Clientregistry.blob

START HLDS.exe
Imprive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 09-05-2008, 10:40 PM   #2 (permalink)
Moderator, Microsoft Support
 
justpassingby's Avatar
 
Join Date: Mar 2007
Location: Belgium
Posts: 6,219
OS: XP Home SP3 / Ubuntu

My System

Re: writing a Batch File

Open notepad and type this in it :

CD C:\Program Files (x86)\Steam\steamapps\theory5\counter-strike
del Clientregistry.blob
HLDS.exe

and save as a .bat file (you'll have to unhide the file extensions for known file types in my computer => folder options => view to make sure it doesn't save it as .bat.txt).

I'll move your thread to the game support section.
__________________

Malware removal steps. Post your logs there and not here !
Posting system specs
justpassingby is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-06-2008, 02:05 AM   #3 (permalink)
Moderator, Games Team
 
Aus_Karlos's Avatar
 
Join Date: Mar 2007
Location: Western Australia
Posts: 3,450
OS: Vista Ultimate x64, Windows XP 32-bit/64-bit, Ubuntu x64, Windows 7 x64 Beta

My System

Blog Entries: 2
Re: writing a Batch File to run Counterstrike [Moved from XP]

The Clientregistry.blob file saves some account-specific settings (Passwords, location, steamID) including each steams games update status. Its auto generated when you log into your account. Deleting this file while playing a game may not allow you to connect to a server. (Usually you end up getting kicked for "No Steam ID Present").

Could you tell us more about the problem you are having, like any error messages been displayed when CS:S crashes.
__________________


Folding@Home
Aus_Karlos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-06-2008, 12:39 PM   #4 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 27
OS: (Custom main computer): Windows Vista Ultimate 64-bit....(Dell Optiplex Sx270): Windows XP SP3


Re: writing a Batch File to run Counterstrike [Moved from XP]

no error messages or anything like that, it just boots up the background of CS and freezes. That was one of the fixes for the freezing in the counter-strike forums. But since it is only in the CStrike folder and not the main steam folder it doesnt cause a problem.
Imprive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-06-2008, 06:43 PM   #5 (permalink)
Moderator, Games Team
 
Aus_Karlos's Avatar
 
Join Date: Mar 2007
Location: Western Australia
Posts: 3,450
OS: Vista Ultimate x64, Windows XP 32-bit/64-bit, Ubuntu x64, Windows 7 x64 Beta

My System

Blog Entries: 2
Re: writing a Batch File to run Counterstrike [Moved from XP]

Well there is no Clientregistry.blob created in the CS:S folder, its created here.
C:\Program Files (x86)\Steam
So it would be somthing like this.
Code:
CD C:\Program Files (x86)\Steam
del Clientregistry.blob
HLDS.exe
__________________


Folding@Home
Aus_Karlos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 04:48 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85