Scenario: To test the SharePoint Document Library Upload functionality and judge the # of files the Upload can really handle! In another words, look for any limitations of SharePoint.
Problem: Where do I get bunch of sample files at one easy location (I may need more than 2000 files at single location)
Environment: Windows 7 and a Virtual Machine with Windows SharePoint Services 3.0 (WSS 3.)
Solution: DOS is the BOSS. The good old FOR command in MS-DOS came to rescue. You can access this command from Windows 7 Command Prompt:

In the above example:
- I created a simple Text file named MyFile.txt
- Ran the FOR command as shown above.
- %C is the variable which gets incremented during the loop execution.
- Isn’t the FOR command sounds similar to FOR statement in most of the Programming Languages like C, Visual Basic.
- DO is the action being performed, where I have used the COPY command.
- The Newly Copied (Destination) File name is appended with running number ( MyFile1.txt to MyFile2000.txt).
After the command runs, I get total 2001 files in this single directory:

Now, I can try my further experiments with SharePoint Document Library Upload functionality. I am sure that the New Scripting Languages (like PowerShell) will also have such functionality. I would be glad to hear from you, if there are any other better options to generate test files like the above one.
- Brain LOGs
Yesterday, when I returned home from work, my son complained that his favorite Television Channels are not coming on our 












