No announcements
Found 1452197 threads
-
0 Votes
Reading, and comparing text extracted from a text file- Batch
I want it to open up, ask for the username, read it from the text file, see if it matches the input, and if not then say it's wrong, and exit and them does the ...Answered | 3 Replies | 2237 Views | Created by MR. ANGRY - Saturday, November 10, 2012 7:12 PM | Last reply by Bill_Stewart - Monday, November 12, 2012 3:41 PM -
1 Votes
Read excel file and replace string with text file
I need a little more help on this one: 1) My text file, has two values on each line: Read, ...Answered | 14 Replies | 6126 Views | Created by jawano - Tuesday, April 21, 2015 8:05 PM | Last reply by jrv - Friday, April 24, 2015 7:11 PM -
0 Votes
Read-host secure string
$SecretKey=Read-host -Prompt "Enter Secret-Key" -AsSecureString $Encryptedkey = ConvertFrom-SecureString -SecureString $SecretKey ...Answered | 5 Replies | 667 Views | Created by Powershell-Admin - Monday, August 1, 2016 1:00 PM | Last reply by Hello_2018 - Tuesday, August 2, 2016 6:06 AM -
1 Votes
Read Text file and count occurences of certain string
Hello, I have a text file with lines of data in it.Answered | 1 Replies | 1391 Views | Created by Matthewb90 - Tuesday, July 1, 2014 12:42 PM | Last reply by Amanda Zhu - Thursday, July 3, 2014 7:21 AM -
0 Votes
Reading multiple strings in an array and comparing against another array
Actually, I just did some testing and it appears to only compare to the last line by default...Answered | 7 Replies | 3408 Views | Created by TonyL1234 - Thursday, May 19, 2011 4:53 PM | Last reply by TonyL1234 - Thursday, May 19, 2011 7:39 PM -
2 Votes
Compare text file
Yes, I've fixed it with a Regex replace on the second text file.Answered | 5 Replies | 2047 Views | Created by Bill201 - Tuesday, September 25, 2012 12:06 PM | Last reply by Yan Li_ - Thursday, September 27, 2012 2:42 AM -
5 Votes
Read text file and return read lines after certain string is found
$text = Get-Content text.txt $x = 0 while ([array]::IndexOf($text,($text[$x ..Answered | 32 Replies | 8801 Views | Created by Champs League - Friday, November 11, 2016 11:44 PM | Last reply by - Tuesday, November 15, 2016 5:22 AM -
1 Votes
Compare 2 Text files in powershell
and other file which will tell prod or test.Answered | 12 Replies | 11365 Views | Created by Prashant Girennavar - Thursday, October 18, 2012 7:50 AM | Last reply by Sreenivasa G - Thursday, July 20, 2017 8:30 PM -
5 Votes
reading text from database instead of reading string
Regarding the application side (the C# if you want): As a developer you should know that a text is the value of a String.Answered | 5 Replies | 894 Views | Created by cacciu - Saturday, July 26, 2014 3:12 PM | Last reply by pituach - Tuesday, August 5, 2014 6:39 AM -
0 Votes
modify text string in file
The part I am having issues with is how to iterate through a txt file to capture the name and then have it output the reverse.Answered | 4 Replies | 936 Views | Created by rcjay272 - Monday, May 11, 2015 4:20 PM | Last reply by Brian Nadjiwon - Tuesday, May 12, 2015 1:30 AM -
0 Votes
compare two strings in if-then-else statement
The Compare-Object cmdlet compares two sets of objects.Answered | 7 Replies | 53396 Views | Created by PPatrick - Wednesday, August 20, 2014 7:26 AM | Last reply by Chen V - Monday, August 25, 2014 8:29 AM -
2 Votes
read-host -assecurestring | convertfrom-securestring | out-file
Read-Host -AsSecureString | ConvertFrom-SecureString | Out-File .Answered | 4 Replies | 9195 Views | Created by IvanSergeev - Wednesday, August 27, 2014 1:29 PM | Last reply by IvanSergeev - Wednesday, August 27, 2014 3:36 PM -
0 Votes
question regarding comparing two strings
It is also not a name or a string.Answered | 3 Replies | 580 Views | Created by FXFrosties - Monday, March 30, 2015 8:10 AM | Last reply by jrv - Monday, March 30, 2015 10:38 AM -
3 Votes
reading a text file
This might help you out: Dim counter As Integer = 0 Using sr As New ...Answered | 5 Replies | 5706 Views | Created by samir attalah - Wednesday, October 12, 2011 5:46 PM | Last reply by Carmelo La Monica - Monday, October 17, 2011 5:10 AM -
0 Votes
How to read a specific string from a text file as output variable in SSIS?
I was missing a quote in my variable and this didn't let me to download the file.Answered | 3 Replies | 1397 Views | Created by Bangaaram - Thursday, November 5, 2015 4:40 PM | Last reply by Bangaaram - Sunday, November 22, 2015 8:58 PM -
0 Votes
read-host compare string with text file
Hi Jon, here is an example: $text = Get-Content D:\test1.txt $prompt = Read-Host -Prompt 'number ' if($prompt -in ...Proposed | 4 Replies | 1079 Views | Created by JonDoe321 - Wednesday, June 28, 2017 12:36 AM | Last reply by BOfH-666 - Friday, June 30, 2017 4:25 PM -
0 Votes
ADO Text File Connection String
I had the same problem with a text file which name contained spaces; after I removed the spaces, the error disappeared.Answered | 10 Replies | 16507 Views | Created by 3ScriptsToMars - Tuesday, October 25, 2011 12:34 AM | Last reply by AlexTanner - Sunday, October 21, 2012 8:48 PM -
1 Votes
Reading a text file and extracting information.
I need a powershell script to read the text file and extract only the machine names.Answered | 7 Replies | 1686 Views | Created by AgentDrewski507943 - Tuesday, October 29, 2013 5:20 PM | Last reply by - Wednesday, October 30, 2013 3:47 PM -
0 Votes
Reading a text flat file
But I have asked simply about the mechanism reading of a text flat file, with first a header and the related details, then another header with the related details and so on.Answered | 6 Replies | 3436 Views | Created by pscorca - Wednesday, October 7, 2009 6:12 PM | Last reply by Todd McDermid - Friday, October 9, 2009 7:21 AM -
0 Votes
BAT file that read/compare from CSV and perform file copy action
Here are some starters: Use Import-Csv to load the file.Answered | 4 Replies | 1564 Views | Created by Tue Nguyen - Friday, March 29, 2013 5:37 AM | Last reply by jrv - Friday, March 29, 2013 12:18 PM - Items 1 to 20 of 1452197 Next ›
No announcements