mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
Check \
This commit is contained in:
parent
eb018f3d29
commit
939999f43c
@ -12,6 +12,10 @@ if [%arg%] == [] (
|
||||
exit /B
|
||||
)
|
||||
|
||||
if not "!arg:~-1,1!" == "\" (
|
||||
@set arg=!arg!\
|
||||
)
|
||||
|
||||
|
||||
for /f %%f in ('dir /B %arg%') DO (
|
||||
@set fname=%%f
|
||||
|
Loading…
Reference in New Issue
Block a user