I have a script which is apparently failing to write a binary file on
Windows (MC v2.3.2).  After running the script, I wind up with a file in the
correct location which is only a few bytes in filesize when it should be
multiple megabytes.

I used an almost identical script in previous versions of MC so I can't see
why this is failing -- perhaps someone has a suggestion?

# tSourcePath and tDestPath are source and destination paths
open file tDestPath for binary write
put url "file/binfile:" & tSourcePath into tSourcePath
write tSourcePath to file tDestPath
close file tDestPath

Am I missing something?

Thanks & Regards,

Scott

_____________________________________________________________________
Scott Rossi                       Tactile Media - Multimedia & Design
Creative Director                 Email: [EMAIL PROTECTED]
                                  Web: www.tactilemedia.com


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to