Skip to content

Commit 8ba576b

Browse files
Update makestudy.bat
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ec6ee70 commit 8ba576b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

makestudy.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set "file1=!file1:\=\\!"
1313
set "dir1=!dir1:\=\\!"
1414

1515
:: when the input file is 'something.graphml.jpg'
16-
set "name1=!name1:.graphml=!"
16+
if /I "!name1:~-8!"==".graphml" set "name1=!name1:~0,-8!"
1717

1818
:: If the second argument (file2) is not provided
1919
if not defined file2 (

0 commit comments

Comments
 (0)