The following script to split a file into 50 MB chunks works fine in the Mac version.
do shell ("split -b50m" && theFile)
But not being familiar with Windows I'm having problems getting my head around how to do the same in the Windows version.
Using a shell script in Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Using a shell script in Windows
I don't believe DOS has a "split" command. I believe split is among the many Linux shell commands available for Windows with CygWin:
http://www.cygwin.com/
http://www.cygwin.com/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Using a shell script in Windows
Check out "read from file/until" in the dictionary.
50 MB is a lot to stuff into memory but I guess shell does the same.
Never tried reassembling a file using this.
Simon
50 MB is a lot to stuff into memory but I guess shell does the same.
Never tried reassembling a file using this.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!