This works:
How can I get the folder path where the bat-file is? Something like:
Can anyone spot my typo?
VBA Code:
cscript script.vbs "C:\Users\%username%\Documents\Script\Makro.xlsm"
How can I get the folder path where the bat-file is? Something like:
VBA Code:
set batdir= %~dp0
cscript script.vbs batdir & "Makro.xlsm"
Can anyone spot my typo?