Jump to content
Sign in to follow this  
Michael Reade

Same File Name / Different Folders

Recommended Posts

I'm wondering if it's OK for me to have files with the same name, running at the same time, but placed in separate folders.

It's an inventory management system for graphic designers. There are two companies, but I develop the program in parallel for both companies. The solution has a data file and an image file.

Right now, every time is do an update, I have to do the importing, then go into change the name of the files and change the file references. This is a bit cumbersome. It would be easier if I could just run the importing and place each system under its own folder.

So, instead of this.....

Data/OneDataFile.fp7

Data/OneImageFile.fp7

Data/TwoDataFile.fp7

Data/TwoImageFile.fp7

I'd implement this....

Data/CompanyOne/DataFile.fp7

Data/CompanyOne/ImageFile.fp7

Data/CompanyTwo/DataFile.fp7

Data/CompanyTwo/ImageFile.fp7

Are there any drawbacks to doing this?

Thanks,

Michael

Share this post


Link to post
Share on other sites

if your using FileMaker advance you can use the Developer Utilities under Tools menu to RENAME your files in your solution to companyA_data.fp7 companyA_image.fp7 companyB_data.fp7 companyB_image.fp7 and then revisit this process once your ready to deploy, or just leave the company name or initials include w/ the file name.

This process will update all internal file references to the associated files.

Share this post


Link to post
Share on other sites

Thanks. That's good to know.

But do you foresee any issues keeping the same file names but putting them in different folders?

Thanks,

Michael

Share this post


Link to post
Share on other sites

Only one copy of a file with a specific name can be opened at a time. The simplest option would be to use the developer tool to change the names of both sets of files to include the company name.

Steven

Share this post


Link to post
Share on other sites

Only one copy of a file with a specific name can be opened at a time. The simplest option would be to use the developer tool to change the names of both sets of files to include the company name.

Steven

That's not true when the files are running on different servers, we have duplicate files running on servers and both can be opened fine.

May be an issue when they are both running on the same server though.

Share this post


Link to post
Share on other sites

That's not true when the files are running on different servers

OI don't think that's what we were talking about here.

Steven

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.