hello friends,
i want to seach for a file in the computer. i dont know the exact location where it is. so the requirement is to search entire hard disk and get the path of the specified file.
after that we now save the path in a string variable.
now, we have to execute the appication with the path stored in the string.
may be using shell.
my problem is, i know only how to search for a file in a particular drive, but how do we perform a entire hard disk check?
and after we store the path in a string variable, say st.
if i execute with the code
Shell st,vbNormalFocu s
or Shell " & st & ",vbNormalF ocus
and in many ways i tried.
but i couldnt work out.
can any body please help me
i want to seach for a file in the computer. i dont know the exact location where it is. so the requirement is to search entire hard disk and get the path of the specified file.
after that we now save the path in a string variable.
now, we have to execute the appication with the path stored in the string.
may be using shell.
my problem is, i know only how to search for a file in a particular drive, but how do we perform a entire hard disk check?
and after we store the path in a string variable, say st.
if i execute with the code
Shell st,vbNormalFocu s
or Shell " & st & ",vbNormalF ocus
and in many ways i tried.
but i couldnt work out.
can any body please help me
Comment