Closed juergenhoetzel closed 3 years ago
Thank you! Using file-name-base
instead of file-name-nondirectory
was really my mistake, I just never noticed since on non-Windows the file is called without extension, so they both give the same result in that specific case. But some other things I wouldn't be able to catch without access to Windows at all.
This is really an obscure issue. Fixes:
and
Appending the "rem" comment instead of prepending fixes the issue.
Running a
.bat
script while it is updating itself seems to lead to obscure errors as listed above.