Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
BATCH: Filename from absolute path
Name: carlyman Date: September 16, 2008 at 13:40:37 Pacific OS: DOS CPU/Ram: P4 - 2GB
Comment:
I'm passing an absolute path (e.g. c:\folder\file.txt) as a variable to my batch script. Is there a way to get just the filename (file.txt) from this variable?
Summary: Hi, I receive a file that contains the following: \direcotry1\directory2\directory3\file1 \direcotry1\file2 \direcotry1\directory2\directory3\directory4\file3 \direcotry1\file4 \direcotry1\directory2...
Summary: Private compilerPath As String, j2RE As String, javaFile As String Private Sub Command1_Click() ' Compile button On Error GoTo eh: Dim cmdLn As String, fileName As String, shRet As Double fileName ...