We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


Files not being moved into correct directory

dba123 asked
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

Watch Question

Distinguished Expert 2017
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\"

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.