View Full Version : Finding a path
degthat
06-23-2003, 10:15 AM
I can do a search for a file and save it to variable. Unfortunately, I need the path to which that file exists. The variable includes the file name. Is there a way to remove the file name and store just the path ?
Use the String.ParsePath action using the Drive and Folder as the information you want.
%DriveAndPath% = String.ParsePath ("%YourFile%", DriveAndFolder)
degthat
06-23-2003, 10:48 AM
Thanks. Learning as I go.
IMO it's the best way to do it /ubbthreads/images/icons/smile.gif
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.