Files not being moved into correct directory

Posted on 2006-04-03
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 62

    Accepted Solution

    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\"

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    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 (…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now