WriteLine strNotFound objFile3. Answer this question. Posted by:. Don't be a Stranger! Sign up! View more:. Scripting Questions.
Unassigned Ticket Notification Rule. Trying to run a Script that keeps failing. Getting Status code I am able to run the batch file from command prompt it works just fine.
But when trying run it through kace it fails. Remove an Agent from the K Console via a Script. Any quick scripting way to do this? ReadLine If dicMachines.
Exists strMachine Then dicMachines. I just whipped this up real quick. This should work for you. Close objTextFile2. Close objTextFile3. You know I was wondering what the "pluto" and "pluto1" meant and then it hit me, instr will not distinguish between the two. I agree with mrmovie about using a dictionary. This is what I had in mind, pretty much the same as mrmovie's approach. ReadLine If Not objDict.
Exists strLine Then objDict. I tried this and it worked on a couple of systems that I tried but I will have to deploy it on many more and who knows what the configurations might be. Using "with.. Binary comparison of two files? Quering two tables in two different files. Proposal: alt. Open Two Database with Two System. Mda and Two different User Names and Password.
I need to check whether a file in a directory is identical to a file in another directory. What is the easiest way to do a binary file comparison? I would prefer not to have to depend on an external program like diff or fc. Scripting -- Quote:. Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search. I have 2 files that I want to see if the contents inside are equal or not.
Say one of them is a text file like Sample1. If your just interested in whether or not the files are different the easiest way would be shelling out to fc :. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 8 years, 6 months ago. Active 8 years, 6 months ago.
0コメント