SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[RESOLVED] DOS Commands...
#1
Exclamation 
So, I need help on a DOS command to read an .ini file and then output the result as a variable. I have a program that will output the install directory to a .ini file called "install.ini"...

The INI file has on category and one value:
Code:
[Configuration]
Directory= (WHAT EVER THE USER PICKS)

So far, i have most of the code needed to properly execute the program and it is as follows:

Code:
@echo off
cls
set inifile=install.ini
set install=(CODE TO READ THE .INI File)
hldsupdatetool -command update -game "hl2mp" -dir %install%
EXIT


Any help would be greatly appreciated as Google has let me down--i cant seem to find anything on Google!

Thanks ahead of time:
Matt Anderson
Download My Dedicated Server Installer! - Click Here
Did I help? 'Reputation' Me! - Click Here
Reply
#2
I've been fooling around with that a bit but I didn't have time to continue, I stumbled upon this website when Iw as into it, might help:
http://www.computing.net/windows2000/wwwboard/forum/63769.html
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
Toungue 
Drocona Wrote:I've been fooling around with that a bit but I didn't have time to continue, I stumbled upon this website when Iw as into it, might help:
http://www.computing.net/windows2000/wwwboard/forum/63769.html

I wasn't sure where to post it-- windows or off topic--but sorry! Smile

I was on that site last night--not quite what I'm looking for but close...
Download My Dedicated Server Installer! - Click Here
Did I help? 'Reputation' Me! - Click Here
Reply
#4
It was also the best i could find, then I just quit trying and when I have the time I'll just do it in Delphi (it's much easier to do)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)