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

Vbs scripts runs from wrong directory #3713

Closed
KakoitoTatar opened this issue Feb 24, 2021 · 1 comment
Closed

Vbs scripts runs from wrong directory #3713

KakoitoTatar opened this issue Feb 24, 2021 · 1 comment
Labels
bug Something isn't working 👀

Comments

@KakoitoTatar
Copy link

Describe the bug
VBS script execution directory always C:\Winows\System32

To Reproduce
Steps to reproduce the behavior:

  1. Create vbs script with code
  2. Dim fso Set fso = CreateObject("Scripting.FileSystemObject") curDir = fso.GetAbsolutePathName(".") WScript.Echo curDir
  3. Run it
  4. It will return alert windows with C:\Winows\System32 path printed

Expected behavior
Expected to return path to directory In which the file is located

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS Version: Windows 10 Pro 20H2 19042.844
  • App version: 1.3.0.0

Additional context
It occur after restart

Log file
debug_fulltrust.txt
debug.txt

@KakoitoTatar KakoitoTatar added the bug Something isn't working 👀 label Feb 24, 2021
@gave92 gave92 closed this as completed Feb 24, 2021
@gave92
Copy link
Member

gave92 commented Feb 24, 2021

Thanks for the report. Merging with #3360 (working folder not respected)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀
Projects
None yet
Development

No branches or pull requests

2 participants