Check for multiple files




















But i am getting an error like "Error in script - 76 path not found". Yes its working now but the output is not as expected. I looped the script but the output was giving only 1 file every 3 times. Sure no probs. So far what i observed is the output is displaying the file which is at first. Updated, it seems WScript.

WriteLine doesn't support multiple lines. Click on check box regular expression and assign the output to a variable. If it is 1 that means its a valid case and all files are present. Active 3 years, 11 months ago. Viewed 3k times. Improve this question. Rand Random 6, 10 10 gold badges 37 37 silver badges 80 80 bronze badges.

Dibsy Dibsy 1 1 1 silver badge 2 2 bronze badges. Except files2 ; — Sebastian Siemens. Add a comment. Active Oldest Votes. GetFileName obj. Intersect with the created IEqualityComparer to get the files shared by your two collections: using System; using System. Generic; using System. IO; using System. Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

Please don't ask several questions in the same thread. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Improve this question.

Gilles 'SO- stop being evil' k gold badges silver badges bronze badges. Aravind Aravind 1, 9 9 gold badges 30 30 silver badges 44 44 bronze badges.

If they are required , then it seems to me your script should fail if any of them is missing, not if all of them are missing. Add a comment. Active Oldest Votes. Improve this answer.



0コメント

  • 1000 / 1000