1.

Solve : how to make file splitter??

Answer»

hi friends,

i am not asking the actual logic for, HOWEVER i just want to know what commands should be used to write/read data to/from the files.
my question is not limited to text data however for for binary data also(like .dat files).

regards
sanYour question does not MAKE any sense. Please rewrite it so it does.
Quote from: san_crazy on May 11, 2008, 06:19:07 AM

hi friends,

i am not asking the actual logic for, however i just want to know what commands should be used to write/read data to/from the files.
my question is not limited to text data however for for binary data also(like .dat files).

regards
san

you need a a better language that KNOWS how to read files and cater for number of bytes read. A vbscript snippet
Code: [Select] Dim fso, f, MSG
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("c:\testfile.txt", ForReading)
ReadTextFileTest = f.Read(10)

the example above reads in 10 characters. You can do a loop to read in the rest, then write them out to INDIVIDUAL files.
is it not possible using dos shell script?


Discussion

No Comment Found