.vbs Need Help with 3 Problems.
## 3 Major aspects I still need if someone can help me.** ##
**1.** I need to open a folder/file by using an input box, only giving the name NOTHING ELSE.
**2.** It must be able to search all drives connected to the computer.
**3.** It must also create a .LOG kind of thing which can save the time spent in set folder/file as well as show what has been changed in the folder/file.
----------
Lets say the file name I'm looking for is "**MyPCACCLOG.txt**"
----------
**1.** I need to open a folder/file by using an input box, only giving the name NOTHING ELSE.
------------------------------------------------------------------------
***So this is what I could find to open it.***
Set objShell = CreateObject("Wscript.Shell")
strPath = Wscript.ScriptFullName
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(strPath)
strFolder = objFSO.GetParentFolderName(objFile)
strPath = "MyPCLOG.txt /e," & strFolder
objShell.Run strPath
*But now I don't always want to find only that one file.*
*I need to have an **input box** to go with script **no.1***
*So I can **search any file** by just putting in a **the name of set file I'm looking for**, oh plz check if it can search by **file** and **folder** name.*
----------
**2.** It must be able to search all drives connected to the computer.
-----------------------...
RELATED QUESTIONS
RELATED TOPICS
ABOUT ANSWERBAG
Answerbag wants to provide a service to people looking for answers and a good conversation. Ask away and we will do our best to answer or find someone who can.We try to vet our answers to get you the most acurate answers.
Copyright 2023, Wired Ivy, LLC