home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
filetest.zip
/
FILETEST.TXT
< prev
next >
Wrap
Text File
|
1995-12-17
|
1KB
|
40 lines
These are simple batch files to create sequentially numbered
files from any source file called TEST.DUD. I used them to
test OS/2 to see how it handled large file copies/moves from
the command-line and the desktop.
Do all of these steps from an OS/2 command-line session:
1) Place all the files in a seperate directory
2) I have included 3 files (without EA's) that you can use OR use
your own file; try files with/without EA's on FAT and HPFS.
Rename one of the following to TEST.DUD:
1BYTE.DUD
1KBYTE.DUD
10KBYTE.DUD
Guess how large each file is?
3) These files create the test files:
TEST1.CMD creates 1000 files.
TEST2.CMD creates 2000 files.
Note: If you rename a file to TEST.DUD on the OS/2 desktop and then
run TEST1.CMD you will have 1000 files with EA's and all called
TEST.DUD (on the OS/2 desktop). This is interesting.
Need more files? Use the System Editor (E) or the Enhanced Editor (EPM)
and edit TEST1.CMD. Do a Search->Replace->Change of "TEST0" to
"TEST2" and append this file to TEST2.CMD and it will create 3000
files. Need even more? Repeat the above... with the correct values of
course.
Rename the *.CMD files to *.BAT to execute them from a DOS session.