TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Baris Turkoglu
NA
14
30.3k
app.config file path with space
May 4 2012 8:27 AM
Hello
I have a app.config file and one of the parameters in there is a path to the filelistener folder.
The problem is that the path to this folder contains space in it, and it doesn't want to take it. I've tried to put the following:
<add key="WatchPath" value="G:\Data\Salg & Logistik\DMR FILEDROP\" />
<add key="WatchPath" value="G:\\Data\\Salg & Logistik\\DMR FILEDROP\\" />
<add key="WatchPath" value=@"G:\Data\Salg & Logistik\DMR FILEDROP\" />
When I was developing the program, I put the watchpath to this:
<add key="WatchPath" value="c:\\temp\\watch_directory\\" />
And it worked like a charm ... but on the server where the service is going to run, the path contains spaces .. :(
can someone help?!
Best regards
Baris
Reply
Answers (
1
)
Which is better Linq or Ado.not?
Primary key exist check not functioning