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!

Search results for query: *

  • Users: PerditaX
  • Content: Threads
  • Order by date
  1. PerditaX

    Assign command output to variable

    Hi, New to batch scripting & have not been able to find examples or info on the following... want to assign the output of the 'find' command to a variable, in batch script. eg: MyVariable = find /c "myString" c:/myfile.log so, looking for the number of times myString appeard in myFile &...
  2. PerditaX

    How to set command output to a variable

    Hi, New to batch scripting & have not been able to find examples or info on the following... want to assign the output of the 'find' command to a variable. eg: MyVariable = find /c "myString" c:/myfile.log where MyVariable contains the count of how may times 'myString' appeared in 'myFile'...

Part and Inventory Search

Back
Top