Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Reading a text file from a script
Name: oilernut Date: November 6, 2007 at 14:59:05 Pacific OS: Win 2000 CPU/Ram: 1gb Product: Dell
Comment:
I am trying to create a batch file that will read a text file full of computer names and the location of a license key for a program. So for example: WS123 C:\UN5.esu WS124 C:\UN6.esu Right now the file is tab delimitated but that could be changed if required.
Basically I want a script to look up the computer name and match it to a file location for a license, possibly into a variable. It would then pass that file location to an exe file that can register it like this: RegisterFixed92.exe /s /LIF=%licensefile%
Summary: Dear friends, I´m having trouble assigning a env variable with a line from a text file. Does anyone could give me some light? I´d really appreciate. Thanks in advance, Alberto ...
Summary: Hi, I would like to read text file e.g. abc.txt from batch file. There will be only one line in abc.txt file as given below... InstallationPath REG_SZ C:\Program Files\XYZ\My SoftwarePath\ I wo...
Summary: I need a script that will receive one text file as input and create another smaller text file from the first file. I think this can be done with find command, but I'm not sure how to proceed. This is ...