Using Shell to run a DOS program
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Jan 17 06:52:51 EST 2011
Hi Alejandro,
Are you sure that the file name should contain an additional space?
> "file:C:\CRC32OUTPUT.txt "
You give very little information. Does crc32 do anything at all when called from LiveCode? Errors? Files created? Anything? Nothing?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce
On 17 jan 2011, at 06:31, Alejandro Tejada wrote:
> Hi all,
>
> I have been trying, without sucess, to run
> the program CRC32.EXE using Shell
> from LiveCode.
>
> This is the code that I am using:
>
> put "C:\crc32.exe CRC32INPUT >CRC32OUTPUT.txt" into tCommand
> set the hideconsolewindows to true
> get shell (tCommand)
> get URL "file:C:\CRC32OUTPUT.txt "
> put it
>
> Notice that I had already created the files
> named CRC32INPUT and CRC32OUTPUT.txt
>
> On the command prompt it works,
> but not inside LiveCode.
>
> I am testing this using Rev 2.8 and 4.0
> using this DOS program
> http://www34.brinkster.com/dizzyk/download/crc32.zip
>
> downloaded from this page:
> http://www34.brinkster.com/dizzyk/crc32.asp
>
> Thanks in advance!
>
> Al
More information about the use-livecode
mailing list