|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Editing a .conf file
Basically, what we have going on is we have an SD card reader, which we have designated the F: drive for. In a conf file for a special custom software (written by a programmer we cannot contact), it has the following written:
# MonPath - The path to monitor MonPath=C:\DCIM\ # CpyPath - The path to copy to CpyPath=C:\CanonPix\ # DfltExt - Extention to move DfltExt=jpg The camera creates a DCIM folder on the SD card, and we can succesfully look at pictures on the card through F: in the windows explorer. I am a very very beginning programmer, and I am owndering if changing the " MonPath=C:\DCIM\ " to the same, except with F: rather than C:, won't that make the custom software search the SD card rather than the hard drive? It seems like it should, but it is pretty inconvenient for us to edit a line of code and try it just to find it doesn't work. The computer we are working with is in the local county jail...it's a pain doing all the security stuff whenever we go up there and we'de like to get it right the first time. |
|
#2
|
|||
|
|||
|
Quote:
Just to clear up any confusion, conf files aren't code files. They are just plain data files, and something with a .conf extension usually signifies it follows the config file format. Will the software properly read off the F:\ drive? That depends on if it is programmed properly! |
|
#3
|
|||
|
|||
|
I went to the jail and tried it, and it didn't work. This custom software is kind of a middle man type of thing. What it is suppose to do is copy the pictures off the SD card and import them into another piece of software used for booking prisoners. I think what we will have to do is start talking with the origional programmers and get their ideas. The entire thing was working properly until yesterday when their old computer crashed and we setup a new one for them. That said, we must have missed something when we were doing all the installs and stuff.
|
|
#4
|
|||
|
|||
|
Talking to the original programmers is your best course of action. If you can't get a hold of the original programmers, you have the painful process of making educated guesses followed with trial and error.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Editing a .conf file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|