Can anyone tell me how to take name from specific file with specific extension (.pdf) and use it as variable? Thanks in advance...
for %%f in (*.pdf) do (
set x=%%f
)
echo %x%
Assuming there's only one PDF in the current directory.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments