Then filter the output to be only "jre1. Try the following vbscript. Sign up today to participate, stay informed, earn points and establish a reputation for yourself! Log in. VBScript to search for file and return filtered folder. Here is the. Answer Summary:. Posted by: dugullett 9 years ago.
For whatever reason I skipped VB and went straight to powershell. You can use this. If you want to output it to a text use out-file. Any ideas on the VB side to return the folder name? My knowledge of VBScript is not even close to Powershell. United States English. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Windows PowerShell. Sign in to vote. Tuesday, May 10, AM. This one should get you going. You have to use Get-ChildItem cmdlet.
Edited by mukesh-kumar Tuesday, May 10, AM. The folder in question is valid. How do I get all updated files without changing the source path? But there are too many commands and code!
Can we simplify it? I works both on windows and for FTP. Its really easy to use, you should also try it! Get the code. Note you may want to remove remarks or change echo statement to fit your preference. Source Code This script has not been checked by Spiceworks.
0コメント