[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A Lua script and a Bash script in one file
- From: Egor Skriptunoff <egor.skriptunoff@...>
- Date: Tue, 8 May 2012 21:10:19 +0300
> %~f0 seems to do the job
Neither %~f0 nor "%~f0" works correctly if filespec contains spaces.
Move your file to C:\Program Files\hello.bat and try to run this:
"c:\program files\hello" one two three
Batch file starting, but not lua script.
"if exist" works fine in all situations ;-)
- References:
- A Lua script and a Bash script in one file, Rena
- Re: A Lua script and a Bash script in one file, Egor Skriptunoff
- Re: A Lua script and a Bash script in one file, Michael Wolf
- Re: A Lua script and a Bash script in one file, Michael Wolf
- Re: A Lua script and a Bash script in one file, T T
- Re: A Lua script and a Bash script in one file, steve donovan
- Re: A Lua script and a Bash script in one file, Egor Skriptunoff
- Re: A Lua script and a Bash script in one file, Daurnimator
- Re: A Lua script and a Bash script in one file, Egor Skriptunoff
- Re: A Lua script and a Bash script in one file, steve donovan