1.

Solve : how to make 1GB text file by batch file?

Answer»

how to make 1GB text file by batch file?
thank you!Make a 1 KB text file and append it to itself the required number of times.Is there are kind of command?You mean you want somebody to write you a batch file?

Why do you need to do this?
that's not important. 1 minute can be done?yesokay, thank you. i try itI can see how this would make a 'funny' practical joke.......any idea?If you know how to make a 1 byte text file and you know how to copy a file you can make a text file of any desired size.

Quote from: Carbon Dudeoxide on November 23, 2008, 04:39:47 AM

I can see how this would make a 'funny' practical joke.......

Which is why I am being coy. If you know anything at all about batch coding, the task is a trivial one.

Quote
that's not important.

Just the sort of answer that makes me want to help! (not)

Quote from: Carbon Dudeoxide on November 23, 2008, 04:39:47 AM
I can see how this would make a 'funny' practical joke.......

I can think of one or two legitimate reasons, but we're not being given them, in fact I think the WELL is poisoned.
can you show the code to me Quote from: beckenbauerwang on November 23, 2008, 05:02:27 AM
can you show the code to me

No, but I'll show you the output of my batch file

Code: [Select]D:\bigfile>bigfile1.bat
23/11/2008  12:06             1,024 big.txt
23/11/2008  12:06             2,048 big.txt
23/11/2008  12:06             4,096 big.txt
23/11/2008  12:06             8,192 big.txt
23/11/2008  12:06            16,384 big.txt
23/11/2008  12:06            32,768 big.txt
23/11/2008  12:06            65,536 big.txt
23/11/2008  12:06           131,072 big.txt
23/11/2008  12:06           262,144 big.txt
23/11/2008  12:06           524,288 big.txt
23/11/2008  12:06         1,048,576 big.txt
23/11/2008  12:06         2,097,152 big.txt
23/11/2008  12:06         4,194,304 big.txt
23/11/2008  12:06         8,388,608 big.txt
23/11/2008  12:06        16,777,216 big.txt
23/11/2008  12:06        33,554,432 big.txt
23/11/2008  12:06        67,108,864 big.txt
23/11/2008  12:06       134,217,728 big.txt
23/11/2008  12:06       268,435,456 big.txt
23/11/2008  12:07       536,870,912 big.txt
23/11/2008  12:09     1,073,741,824 big.txt
I just made one and I let it run as I went to go get water.
Now I'm busy removing 4GB off my external hard drive....

Beckenbauerwang.....think how cells divide...I found it went quite slowly on my USB external drive COMPARED with a 7200 rpm IDE internal.cells divide ???It went slowly on my External, which is why I went to get water.

Don't want to try it on my internal, at LEAST not now. Quote from: beckenbauerwang on November 23, 2008, 05:33:28 AM
cells divide ???
Or rabbits.

At first there's 1, and then there's 2, and then there's 4, then 8, 16, 32, 64.........i got it, can you show the code to me
i'm a BEGINNER Quote from: beckenbauerwang on November 23, 2008, 05:36:57 AM
i got it, can you show the code to me
i'm a beginner

This is dangerous code in the wrong hands. You have not said why you want it, and even if you did, I am not sure it should be posted here.
i want to make a test file, for ftp test Quote from: beckenbauerwang on November 23, 2008, 05:41:57 AM
i want to make a test file, for ftp test

What do you think, carbon?
What kind of FTP test?

Maybe it's my lack of knowledge in that area, but do you need  a file that keeps increasing in size to perform an FTP test? Quote from: Carbon Dudeoxide on November 23, 2008, 05:59:40 AM
What kind of FTP test?

Maybe it's my lack of knowledge in that area, but do you need  a file that keeps increasing in size to perform an FTP test?

I think he just wants a 1 gb file actually, it was me that introduced the notion of creating such a file by making a 1 kb file and DOUBLING it 20 times.

See how the time increases as the file gets bigger. My cpu went up to 100% as well.

Code: [Select]23/11/2008 13:01:40.73: 1024
23/11/2008 13:01:40.73: 2048
23/11/2008 13:01:40.75: 4096
23/11/2008 13:01:40.75: 8192
23/11/2008 13:01:40.75: 16384
23/11/2008 13:01:40.76: 32768
23/11/2008 13:01:40.76: 65536
23/11/2008 13:01:40.78: 131072
23/11/2008 13:01:40.81: 262144
23/11/2008 13:01:40.87: 524288
23/11/2008 13:01:40.97: 1048576
23/11/2008 13:01:41.12: 2097152
23/11/2008 13:01:41.45: 4194304
23/11/2008 13:01:42.20: 8388608
23/11/2008 13:01:43.59: 16777216
23/11/2008 13:01:46.54: 33554432
23/11/2008 13:01:52.11: 67108864
23/11/2008 13:02:03.78: 134217728
23/11/2008 13:02:27.76: 268435456
23/11/2008 13:03:17.64: 536870912
23/11/2008 13:05:10.09: 1073741824how to make 1kb file?
the point is how to set the sizeUmmmmm......Press the space bar 1024 times in Notepad and then save the file, duh! Why not just use the fsutil program? Why is it that the paranoia levels always increase on the weekends?

  Quote from: Sidewinder on November 23, 2008, 06:41:16 AM
Why is it that the paranoia levels always increase on the weekends?
All the kids aren't at school on the weekends.


Discussion

No Comment Found