Re: Script To Parse A Text File?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sam Low (samlow91xx_at_hotmail.com)
Date: 08/12/04


Date: Thu, 12 Aug 2004 18:44:27 +0800

Dim x
x="1178"

"romualpiecyk@hotmail.com"
<romualpiecyk@hotmail.com@discussions.microsoft.com> wrote in message
news:29F95C0D-0985-4AF2-9E3D-8B16C34BA87B@microsoft.com...
> I have a text file with the following contents:
>
> 'Top of text file
> -----------
> 1178
> (1 row affected)
> 'Bottom of text file
>
> I need a script that will take the 1178 and assign it to a string value.
>
> Can anyone help me with this? Any thoughts or ideas will be appreciated.
> Thanks.



Relevant Pages

  • Re: Script: Remote shutdown of all domain computers
    ... When trying to run the script from a XP workstation, where i am logged in as ... Dim strBase, strFilter, strAttributes, strQuery, objRecordSet ... 2000 or above and allow shutdown, ... Public Function AllComputersAs String() ...
    (microsoft.public.windows.server.scripting)
  • Script: Remote shutdown of all domain computers
    ... I'v searched through the newsgroups for a complete script but to no result. ... I'v also found a script to search trough AD for the computers and added the ... Public Function AllComputersAs String() ... 'Dim sArray() As String ...
    (microsoft.public.windows.server.scripting)
  • Re: Script: Remote shutdown of all domain computers
    ... Also with this script: What if the IPadress of the PC changed recently? ... 2000 or above and allow shutdown, ... Dim strBase, strFilter, strAttributes, strQuery, objRecordSet ... Public Function AllComputersAs String() ...
    (microsoft.public.windows.server.scripting)
  • Re: Script: Remote shutdown of all domain computers in spec. OU
    ... I'v searched through the newsgroups for a complete script but to no ... I'v also found a script to search trough AD for the computers and added ... Public Function AllComputersAs String() ... 'Dim sArray() As String ...
    (microsoft.public.scripting.vbscript)
  • Script: Remote shutdown of all domain computers in spec. OU
    ... I'v searched through the newsgroups for a complete script but to no result. ... I'v also found a script to search trough AD for the computers and added the ... Public Function AllComputersAs String() ... 'Dim sArray() As String ...
    (microsoft.public.scripting.vbscript)