Files not being moved into correct directory

Posted on 2006-04-03
Medium Priority
Last Modified: 2010-04-23
In my code below, for some reason, the ProcessFiles Sub creates the .mnt files into the root of \\bg-20nas\g$\hedi\ rather than \\bg-20nas\g$\hedi\output and I'm not sure why. I checked the permissions on the output folder aand realized the everyone group has no read rights.  But g$ is a sensitive drive. How can I determine what network ID I need to add to the directory for my app in order to let it write there? It seems to get to \\bg-20nas\g$\hedi\  just fine so I am not certain if that's the reason it's not able to create the files in \\bg-20nas\g$\hedi\output.  You'd think that since it's creating them in \\bg-20nas\g$\hedi\ , then somehow it's pointing there but I don't see how since I defined \\bg-20nas\g$\hedi\output as the output directory

Question by:dba123
1 Comment
LVL 64

Accepted Solution

Fernando Soto earned 2000 total points
ID: 16363978
Should this line of code:

    Dim OutputFolder As String = "\\bg-20nas\g$\hedi\output"

Be this:

    Dim OutputFolder As String = "\\bg-20nas\g$\hedi\output\"

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question