Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
C++ - Check for file AND folder
Name: chazco Date: January 10, 2005 at 08:07:09 Pacific OS: Windows 98+ CPU/Ram: 128MB+
Comment:
All my C++ applications call a file called: C:\Program Files\CHAZCO\registry.ini to load their settings via an INI class. However, my new application, standalone, no installer, needs to be able to check if the folder C:\Progra~1\CHAZCO exists, and if the file exists, and create them if not.
I'm using Visual C++ 6, and the application is an MFC Win32 application.
Name: BlueRaja Date: January 10, 2005 at 16:12:34 Pacific
Reply:
Uhh..is there anything specific you need help with?
BlueRaja.admin@gmail.com
0
Response Number 2
Name: chazco Date: January 10, 2005 at 23:42:18 Pacific
Reply:
Yes, it was poorly written. I need to know how to: - Check if the folder C:\Progra~1\CHAZCO exists, create it if not - And how to check if the file REGISTRY.ini exists inside that folder, and create if not (plain text)...
Summary: I'm looking for a way to enumerate all the files and folders in a given directory using C++ (Visual C++ 6 specifically) in Windows. Looked online, but haven't found anything that will work. Does anyon...
Summary: Hi, Its me again with yet another problem.... I'm making a program that checks for file existence on a server, and then compares the text from two textboxes to lines in a file on the server.. thing is...
Summary: I'm using MS C#. Currently I'm only able to make the program retreive picture files from a certain folder I've designated. If any user were to delete some of the pictures or rename the folder, etc, th...