Skip to content

Instantly share code, notes, and snippets.

for i = 1, MAX_LOOP do
things...
if exit_loop then
break
end
end
local j = 1
while j <= MAX_LOOP
lnw() {
echo "ni \"$(wslpath -w $(dirname $2))\\$(basename $1)\" -i SymbolicLink -ta \"$(wslpath -w $1)\""
powershell.exe "ni \"$(wslpath -w $(dirname $2))\\$(basename $1)\" -i SymbolicLink -ta \"$(wslpath -w $1)\""
}