Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by XMSMS

  1. XMSMS

    Changing Text

    hi thanks for that, it does exactly what i'm after. i have come across one problem tho, if i want to do the following, it doesnt work: t2.WriteLine &quot;<variable name=&quot;Name&quot;>o212</variable>&quot; i'm guessing its because of the extra &quot;&quot;, how do i get around this
  2. XMSMS

    Changing Text

    Hi All, I have a text file that is arranged as follows: username1, password1 username2, password2 username3, password3 What i want my code to do for each line of this text file, is put usernamex into a variable and passwordx into a variable, so that they can be written to a different file...
  3. XMSMS

    Replacing Text

    Hi All, I have a text file that is arranged as follows: username1, password1 username2, password2 username3, password3 What i want my code to do for each line of this text file, is put usernamex into a variable and passwordx into a variable, so that they can be written to a different file...
  4. XMSMS

    Convert This To Batch?

    Hi All, I have the following vbscript that i would ideally like to be an .exe file. Is there any way to do this, i was thinking about re-writing it as a batch file, and then using a bat2exe converter? The only problem is that i would not kbnow how to re-write this for batch: Set WshShell =...
  5. XMSMS

    Compare Files, Restart Service

    Thanks for that. Do you know how to kill a windows process by its name (rather than pid)? I have a service that has problems stopping occasionaly, and requires the process to be killed before the service can successfully be started again. Thanks
  6. XMSMS

    Compare Files, Restart Service

    Thanks for the code to compare the files. I do have some code that will start or stop a service, but i am entering some problems.. If i get my script to stop the service, before the service has finished stopping it attempts to start it again, and fails. Any ideas? Thanks
  7. XMSMS

    Stopping/Starting Services

    please ignore this thread (sorry). i have posted what i am really trying to do here: thread329-691244
  8. XMSMS

    Compare Files, Restart Service

    Hello, I am working on a script that will do the following: Compare file1 and file2. If file1 is larger than file2, then restart a service. I am a bit of a newbie, so please be gentle with me!!
  9. XMSMS

    Stopping/Starting Services

    Hi all, I am trying to get my head around starting/stopping of services in VBS, but i don't seem to be able to get it to do what i want. The script needs to find out the current status of the service, and then start/stop it depending on the current status.

Part and Inventory Search

Back
Top