Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with persian name with space in command line #49

Open
mtabdar opened this issue May 27, 2024 · 1 comment
Open

error with persian name with space in command line #49

mtabdar opened this issue May 27, 2024 · 1 comment

Comments

@mtabdar
Copy link

mtabdar commented May 27, 2024

i am using snap2html to create a html file containing list of files in a directory. i wrote a batch script to automate the process. it works perfectly with command line capabilities of snap2html. though i have a problem with folders that have a persian name and space in their name when they are set as the root folder. this is my .bat file:
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in ('dir z:\scan\ /b /a:d') do call :myf1 "%%~a" :myf1 set "x=z:\scan\%~1" set "y=!x!\index.html" echo !x! rem echo !y! C:\Snap2HTML\Snap2HTML.exe -path:"!x!" -outfile:"!y!" -link:"" -title:"%~1" exit /B
does any one has any solution for that?

@mtabdar
Copy link
Author

mtabdar commented May 27, 2024

i tried
1- a persian string and space and a number -> it works
2- an english string and space and a persian string -> it works
3- two persian strings sepatated with space->it doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant