Alien-BatToExeConverter
view release on metacpan or search on metacpan
# won't show a DOS box, and will suppress to the command line.
Alien::BatToExeConverter::bat2exe(
bat => 'C:\strawberry\perl\bin\foo.bat',
exe => 'C:\strawberry\perl\bin\foo.exe',
ico => 'C:\strawberry\perl\bin\foo.ico',
dos => 0,
);
The "bat2exe" function is used to execute Bat_To_Exe_Converter.exe and
generate an executable from the batch script. It takes a series of named
params, returning true on success or throwing an exception on failure.
The default settings are intended to produce an .exe script for
launching a GUI application.
The compulsory "bat" param should be the name of the source batch
script.
The compulsory "exe" param should be the path to white the executable
to, and must NOT already exist.
The optional "ico" param will bind an icon to the executable.
lib/Alien/BatToExeConverter.pm view on Meta::CPAN
# won't show a DOS box, and will suppress to the command line.
Alien::BatToExeConverter::bat2exe(
bat => 'C:\strawberry\perl\bin\foo.bat',
exe => 'C:\strawberry\perl\bin\foo.exe',
ico => 'C:\strawberry\perl\bin\foo.ico',
dos => 0,
);
The C<bat2exe> function is used to execute F<Bat_To_Exe_Converter.exe> and
generate an executable from the batch script. It takes a series of named
params, returning true on success or throwing an exception on failure.
The default settings are intended to produce an .exe script for launching
a GUI application.
The compulsory C<bat> param should be the name of the source batch script.
The compulsory C<exe> param should be the path to white the executable to,
and must NOT already exist.
The optional C<ico> param will bind an icon to the executable.
( run in 0.347 second using v1.01-cache-2.11-cpan-496ff517765 )