-
June 2nd, 2001, 09:52 PM
#1
Registered User
DOS geniuses please click here
I want to make a batch file for changing a few network settings, and am not sure if it's possible. The things I want to change are:
Enable/Disable Microsoft Winsock Proxy Client
Enable/Disable DNS on ethernet card and specify IP address of server when dns is enabled.
Enable/Disable Logging onto NT Domain
I know of a few progs which make it easier, but most of them cost money.
Is it possible to accomplish all of these steps from a dos prompt?
-
June 2nd, 2001, 11:47 PM
#2
Senior Member
at least some are..
you can use a batch file to merge *.reg files to your registry, thus changing the settings..
in win2k you can look under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters
for a few options you can change..
-
June 3rd, 2001, 02:40 AM
#3
Go pick up a book on VB Script or the Windows Scripting Host (WSH). Scripting will accomplish what you are looking to do. I use "Windows Scripting Secrets" by Tobias Weltner. Very good book. <IMG SRC="smilies/smile.gif" border="0">
Life is 10% what happens to you and 90% how you react to it.
-
June 4th, 2001, 12:46 AM
#4
Dear Friend,
DOS was never built for networking. It was built just manage as a standalone platform. Though there are some netowk commands, such, as telnet, ping, nslookup, ect. In an earlier post, someone recommended using a batch file, and adding or merging registry files. That would be your best bet. Windows Registry is the database Windows uses to boot up.
If I had this problem I would just get some VB scripts, or macro's that you could enable at Windows start up. But I have a feeling You need to be able to do this in dos. You best bet is getting some software for a little money.
Actually one more idea. You could look for some C macro's that could load in DOS. just make sure you have all the files need to execut a C script/macro.
-
June 4th, 2001, 12:51 AM
#5
Registered User
Originally posted by Melmac:
<STRONG>Go pick up a book on VB Script or the Windows Scripting Host (WSH). Scripting will accomplish what you are looking to do. I use "Windows Scripting Secrets" by Tobias Weltner. Very good book. <IMG SRC="smilies/smile.gif" border="0"></STRONG>
That is an understatement. "Windows Scripting Secrets" ROCKS. I have never seen a programming book where every example was useful. I got a lot out of that one...
Matt
"If you have been tempted into evil, fly from it. It is not falling into the water, but lying in it, that drowns"
-
June 4th, 2001, 05:27 PM
#6
Registered User
You love me. Say it. Ok then, here's the answer:
http://www.windows2000faq.com/Articl...rticleID=14741
I'm sure with a little tinkering you can make it work.
DON'T PANIC
-
June 5th, 2001, 05:43 AM
#7
Registered User
I used reg.exe in a few batchfiles and it works under W2K too (if you don't have it in w2k - copy it from nt)
You can see some very helpful batch-examples and hints at http://www.robvanderwoude.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks