Results 1 to 2 of 2
Hybrid View
-
25th Jun 2010, 07:37 PM #1OPMemberWebsite's:
maxneeds.info[PLS HELP]VBS or JS solution to find and use path...
Hi guys !
Is there a way to search for example GTR2.exe in all drives and get its path and use that path for something ???
ThanksPorsche_maniak Reviewed by Porsche_maniak on . [PLS HELP]VBS or JS solution to find and use path... Hi guys ! Is there a way to search for example GTR2.exe in all drives and get its path and use that path for something ??? Thanks Rating: 5
-
28th Jun 2010, 05:59 PM #2Respected Member
try here
http://www.daniweb.com/forums/thread144152.html
Here is another example I found.
[JScript]
function ShowFolderFileList(folderspec)
{
var fso, f, f1, fc, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFolder(folderspec);
fc = new Enumerator(f.files);
s = "";
for (; !fc.atEnd(); fc.moveNext())
{
s += fc.item();
s += "<br>";
}
return(s);
}
[VBScript]
Function ShowFolderList(folderspec)
Dim fso, f, f1, fc, s
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder(folderspec)
Set fc = f.Files
For Each f1 in fc
s = s & f1.name
s = s & "<BR>"
Next
ShowFolderList = s
End Function
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
What is the path to FFMpeg?
By Areon in forum Server ManagementReplies: 0Last Post: 20th Mar 2014, 01:35 PM -
What is the path to...
By Areon in forum Server ManagementReplies: 0Last Post: 20th Mar 2014, 01:21 PM -
Clipping Path Services, Clipping Path
By happyvalentine in forum Graphics AreaReplies: 0Last Post: 4th Feb 2012, 07:55 AM -
Help me to find the right remote windows solution for me
By flytothemoon in forum Hosting DiscussionReplies: 4Last Post: 3rd Feb 2012, 09:46 AM -
$5 for who can help me find a solution...
By Divvy in forum Webmaster DiscussionReplies: 8Last Post: 1st Apr 2011, 01:02 AM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...