Skip to content

Commit

Permalink
add test for issue #97 Extended Command Line LFN issue (spaces in LFN…
Browse files Browse the repository at this point in the history
… make hard to parse CMDLINE env var, so add quotes if needed)
  • Loading branch information
PerditionC committed Dec 24, 2024
1 parent 158fc0f commit 6528c46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/tstcmdln.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@ECHO OFF
mkdir "a long dir" > NUL
copy testenv.exe "a long dir\testenv.exe" > NUL
"a long dir"\testenv aaaaaaaaa realllly long command line to create a env variable that can pass the long name to it oh yeah a really long command line still going. Oh yeah is is at the end yet, nope, lets keep going untilout of characters.
ECHO CMDLINE should start with quoted "a long dir\testenv.exe"
del "a long dir\testenv.exe" > NUL
rmdir "a long dir" > NUL

0 comments on commit 6528c46

Please sign in to comment.