Max Files in a Folder

K

kingkash

Is there a maximum number of files I can have in one
folder in WinXP that I can address via a batch file from
the cmd prompt?

I have ~500,000 images in one folder in an ntfs
partition.

I have a listing (from sql) of the file names & dates,
from which I have created a huge batch file moving the
files to destination folders by year. But each time I run
the bat file it says

C:\>move g:\images\allimages\A3103379.tif g:\images\2003\
The system cannot find the path specified.

I know the file and path exist, but the bat file always
fails. I even tried it this way:

G:\images\allimages>move g:\images\allimages\A3103379.tif
g:\images\2003\A3103379.tif
The system cannot find the path specified.

I also tested my syntax to verifiy it worked by creating
a file abc123.tif on the root g: and moved it to
g:\images and it worked.

G:\>move g:\abc123.tif g:\images\

So I am thinking there is a max files limit in DOS that
will not address files in a folder with so many files in
it, although I can not find a reference to it anywhere.

Any suggestions?
 
J

Jim Macklin

Try this "C:\>move g:\images\allimages\A3103379.tif
g:\images\2003"



message | Is there a maximum number of files I can have in one
| folder in WinXP that I can address via a batch file from
| the cmd prompt?
|
| I have ~500,000 images in one folder in an ntfs
| partition.
|
| I have a listing (from sql) of the file names & dates,
| from which I have created a huge batch file moving the
| files to destination folders by year. But each time I run
| the bat file it says
|
| C:\>move g:\images\allimages\A3103379.tif g:\images\2003\
| The system cannot find the path specified.
|
| I know the file and path exist, but the bat file always
| fails. I even tried it this way:
|
| G:\images\allimages>move g:\images\allimages\A3103379.tif
| g:\images\2003\A3103379.tif
| The system cannot find the path specified.
|
| I also tested my syntax to verifiy it worked by creating
| a file abc123.tif on the root g: and moved it to
| g:\images and it worked.
|
| G:\>move g:\abc123.tif g:\images\
|
| So I am thinking there is a max files limit in DOS that
| will not address files in a folder with so many files in
| it, although I can not find a reference to it anywhere.
|
| Any suggestions?
|
|
 
D

David Candy

You aren't using Dos. Can you move the file in explorer. Are there other files this happens too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top