Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 20th, 2007, 02:48 PM
kc0tma@gmail.co kc0tma@gmail.co is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: North Platte, NE
Posts: 29 kc0tma@gmail.co User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 16 m 14 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old April 20th, 2007, 03:08 PM
Oler1s Oler1s is online now
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,489 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 18 h 19 m 29 sec
Reputation Power: 440
Quote:
Originally Posted by kc0tma@gmail.co
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 should.

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!
__________________
C/C++: Books, C FAQ, C++ FAQ, C/C++ Reference.
Python: Website, Beautiful Soup.

Reply With Quote
  #3  
Old April 20th, 2007, 03:54 PM
kc0tma@gmail.co kc0tma@gmail.co is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: North Platte, NE
Posts: 29 kc0tma@gmail.co User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 16 m 14 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old April 22nd, 2007, 12:34 AM
Oler1s Oler1s is online now
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,489 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 18 h 19 m 29 sec
Reputation Power: 440
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Editing a .conf file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway