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

clink 0.45 does not expand environment variables in doskey macros if they loaded via doskey /MACROFILE... #344

Closed
gkruschina opened this issue Aug 31, 2015 · 1 comment

Comments

@gkruschina
Copy link

clink 0.45 does not expand environment variables in doskey macros if they loaded via doskey /MACROFILE...

You can check this by a simple test:
Create a file "doskey.txt" with the content:
mynotepad="%WINDIR%\notepad.exe"

And a file "startup.cmd" with the content:
doskey /MACROFILE=doskey.txt

Copy these two files in the the extracted "clink_0.4.5.zip" and call clink.bat.
Afterwards run "startup.cmd" and then the doskey macro "mynotepad".

Then you will get an error message: FILE NOTE FOUND.
This works without any problems with clink 0.44.

@VictorVG
Copy link

VictorVG commented Sep 2, 2015

Added - this bug exists on v0.44 - lua:

local hunspell=ffi.load("hunspell"..(win.GetEnv("PROCESSOR_ARCHITECTURE"):gsub("AMD64","x64")))

and result's:

luafar

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