0
how can creat a empety text file whit a special size?
e.g 1000 mb
2 Réponses
+ 5
Depends of what language you would use, but I think opening a new file stream in binary mode, writing to it how many bytes you want to be the file size with any values, except the first byte to be EOF special ascii byte should be work ( with a 'txt' filename extention should be opened in text editor as empty file )... theorycally ( I've not tried :P )
+ 2
by putting 1000mb of data in it.
Although I doubt it will remain empty.
You can do it with pictures by parsing the binary content of two files together zipping the result and changing the file extension. I think text files will show some binary data no matter what, but I'm not sure as I did not try it yet.
Search "hiding files into pictures as shown on cheap pathetic detective drama series".