Cory Posted August 3, 2005 Report Share Posted August 3, 2005 This is one that I use a lot when dealing with scanned PDF files and such. It basically takes a proposed file name and tests to see if it already exists. If it does it adds a numerical sequence on the end. Very handy for blind copies. Avoids the need to test for existence and re-prompt the user when the exact file name isn’t important. The routine doesn’t do any file manipulation but rather returns a unique name. Quote Link to comment Share on other sites More sharing options...
mcZenner Posted July 12, 2007 Report Share Posted July 12, 2007 could use a timestamp instead random generation .. immediately unique Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.