[Rubyinstaller-devel] .bat files in vista
jon.forums at gmail.com
Tue Sep 1 10:06:11 EDT 2009
> Anybody else out there have problems running .bat files under vista?
> irb(main):001:0> system("ack.bat abc")
> => false
> irb(main):002:0> `ack.bat abc`
> Errno::EACCES: Permission denied - ack.bat abc
> from (irb):2:in ``'
> from (irb):2
> works XP, fails vista (same .bat file works fine from the command line)?
D:\Jon\My Documents\RubyDev>type ack.bat
echo %0 %*
both of your examples work on 2Ksp4 for 1.8.6p383 and 1.9.1p243 and 1.9.1p243 on vista home premium sp2, although the vista account was an admin account.
More information about the Rubyinstaller-devel