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

SSDTTime.bat not running #28

Open
khyjb1995 opened this issue Jul 8, 2020 · 5 comments
Open

SSDTTime.bat not running #28

khyjb1995 opened this issue Jul 8, 2020 · 5 comments

Comments

@khyjb1995
Copy link

< was unexpected at this time.

@corpnewt
Copy link
Owner

corpnewt commented Jul 8, 2020

Using the latest commit? I've been working on this issue the past copule days - and the most recent changes were pushed a few hours ago.

-CorpNewt

@greengem
Copy link

greengem commented Jul 9, 2020

Same issue here on Windows 10 2004 (Fresh Install).

When double-clicking SSDTTime.bat it closes before getting to terminal. Running from command prompt produces same message described in post 1.

It was working around 1-2 weeks ago and now after a fresh install I can't use it.

@plastica99
Copy link

plastica99 commented Jul 9, 2020

The same issue here. It's definitely the latest commit.

by removing line 112
call :undouble "%~1" "%~2"
I can successfully launch the script but I couldn't know if the line is mandatory.

  • I changed :undouble function to
:undouble <string_name> <character>
    call :undouble_recur "%~1" "%~2"
goto :EOF

:undouble_recur <string_name> <character>
REM Helper function to strip doubles of a single character out of a string recursively
set "string_name=%~1"
set "character=%~2"
set "check=!%string_name%:%character%%character%=%character%!"
if not "!check!" == "!%~1!" (
    set "!string_name!=!check!"
    call :undouble_recur "%~1" "%~2"
)
goto :EOF

It seems like it's working, but I'm pretty new to batch, so I need someone to verify if this will work and tell the cause of the issue.

@ashun-kaede
Copy link

It works thx.

@VicMinhoto
Copy link

It works thx.

Could you post the file ".bat" still have the problem here

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

6 participants