Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i need to solve this problem where i have to move files from one folder to another one at a time. i've 3 folders pipe,process,completed, in pipe there are lots of pdfs now in need to move one pdf from pipe to process. if i move the pdf from process to completed, another pdf must move from pipe to process.
all this should be done in such a way that one pdf is moved to another folder one at a time.
i am able to move all files in one go. but now i should do it one at a time

please guide me to solve this problem
Posted

1 solution

You have not really given enough detail to guess which parts you cannot do, so I suggest taking a look at https://docs.oracle.com/javase/tutorial/essential/io/dirs.html[^] for getting a list of files. You then just need to pass them between your three processes one at a time.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900