tabula-java icon indicating copy to clipboard operation
tabula-java copied to clipboard

Windows 10 Batch mode - directory cannot end in slash

Open blkemp opened this issue 6 years ago • 0 comments

It took a bit of troubleshooting to determine my issue, but when I was trying to use cmd for batch processing it kept erroring out stating "Invalid directory or filename". After a lot of different items I finally found the solution was to drop the final "\" on my directory input. From "C:\Example directory\Example\" To "C:\Example directory\Example"

Adding in a check in the script itself to remove this unnecessary character seems like a fairly simple code solution, but I thought I should put this here for anyone else who faces this issue. Not sure if it only happens with directories enclosed in quote marks as in my example or if it is universal.

blkemp avatar Apr 23 '19 00:04 blkemp