October 30th, 2012, 12:44 PM
copy pdf file and place the file into different folders
I am using Vb.net 2010 I want to copy pdf files (invoices) with numeric prefix (33.pdf, 226.pdf, etc.) from one folder and create new folder based on file name. For example file 33.pdf will go newly created folder call 33, file 226.pdf will go newly created folder call 226, etc. The number represents customer ID number. How do I achieve this? any insights will be appreciated. Thank you.
October 30th, 2012, 10:27 PM
Re: copy pdf file and place the file into different folders
To create folder, search about:
To copy a file, search about:
System.IO.File.Copy( FileToCopy, NewCopy )
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.