Using Shell to run a DOS program
davidocoker at gmail.com
Mon Jan 17 16:04:36 EST 2011
I just noticed that I pasted a non-working version in my earlier
message. Try this one, which works on this end:
-- must set the folder location to the same as crc32.exe
set the defaultFolder to "C:\crc32\"
put "crc32.exe" into tCommand
put " readme.txt > c:\crc32\output.txt" into tArg
put tCommand & tArg into tShellText
set the hideconsolewindows to true
get shell (tShellText)
get URL "file:c:\crc32\output.txt"
put it -- put in message box
--put it into fld "Field1" -- put in field
Sorry about that...
Watch for line wrap on the commenting.
More information about the Use-livecode