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

problems happened when using SQLCHECK #30

Closed
MoonforYoung opened this issue Jul 26, 2022 · 3 comments
Closed

problems happened when using SQLCHECK #30

MoonforYoung opened this issue Jul 26, 2022 · 3 comments

Comments

@MoonforYoung
Copy link

it is strange that i start the sqlcheck.exe file in Windows terminal and do generate a log file. but got noting in it,what happened?

@Malcolm-Stewart
Copy link
Contributor

Malcolm-Stewart commented Jul 26, 2022

This command worked in my Terminal using the default PowerShell command-line.

PS C:\tools> .\sqlcheck > sqlcheck.log
PS C:\tools> notepad sqlcheck.log

Does it have the same behavior when run from cmd.exe?
Are you running it locally and not in a remote session?
Are you running "As Administrator"?
Please try running it without the pipe redirection. What shows in the console window?

@MoonforYoung
Copy link
Author

MoonforYoung commented Jul 27, 2022

already fixed.
I used a "start" command before the .exe file, just shown below.
PS C:\tools> .\ start sqlcheck > sqlcheck.log

I think that's why I can't get any output from the .log file cause a new window captured these outputs.
I tried to replace the "start" command with "&" in PowerShell, correct output did I get.

I think it's stupid for such a question to be posted. and thank you for your patience.

@Malcolm-Stewart
Copy link
Contributor

Thanks for confirming it was just a syntax issue in the command prompt. I hope you find the tool useful.

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

2 participants