FileSystem.GetDirectories not finding folder

I have a app written in VS2010 using the FileSystem.GetDirectories(path) to return folder names found in path
works great until I search a folder that was created by a MAC user
The folder name has a space after the characters 'Y:\STAFF\Maura '
the exception reported "Could not find a part of the path 'Y:\STAFF\Maura\'."  -- notice the lack of space before the last "\"
thinking the issue might be that GetDirectories was simply truncating the name, I found a folder under folder in question (which also has folders) and added it to the path like this 'Y:\STAFF\Maura \Ready to edit'
EXception returned
"Could not find a part of the path 'Y:\STAFF\Maura\Ready to edit\'."
using debug and asc(mid(path,15,1)) told me the character was a 32 - just a space - nothing bizarre
Other directories (in the same drive map) also have spaces in the name and GetDirectories navigates them just fine
Another folder ""Y:\STAFF\WENDY2\ FOR WENDY " also experiences the same issue
Windows explorer has no problem changing to either of these folders and displaying folders underneath them
the only common information I can discover is that both these folders have a space after the name
Anyone have ideas how to resolve this issue with GetDirectories()

Hi slaprade,
Based on your description, it would be not the correct forum for this issue, since this forum is to discuss the VS IDE.
To help you find the correct forum, would you mind letting us know more detailed message about this issue? Which language are you using, VB or VC#? Which kind of app are you developing, web or others? Please share me the detailed message about it, I will
help you find the correct forum. Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Can not find folder to load camera raw presets on MAC.  I have searched and says to drop in the library/application support/adobe/camera raw/settings folder but I do not have this folder or can no locate it. I get as far as lib/appsupoort/adobe/camera raw

    I just made the switch to mac. I am have installed all the new PS6 CC and bridge and I am not trying to add some presets to my  ACR but when I search for the folder to place them it is not there.  From what I researched it says it should be under camera library/application support/adobe/camera raw/settings but I can only get to library/application support/adobe/ and then there are two different camera raw options I have checked both and there are not settings folder. If anyone can help me please thanks

    You want your user library
    Mac(user)/Library/Application Support/Adobe/Camera Raw/Settings
    In finder click on Go then hold down the Option key and then click on Library

  • Spotlight not finding folder names

    I’m not sure when this happened - perhaps when I changed my home folder to a FileVault image. Now Spotlight will not find any folders. I have, no doubt, selected folders in the pref pane. I tried deleting the Spotlight perf file. This did cause me to have to reconfigure the preferences - I selected folders - still didn’t find any! I have reindexed Spotlight by dragging the drive in and out - no change. I ran all the Cocktail cache deletions, etc. - no effect. I give up!
    Has anyone heard of this?

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /.Spotlight-V100
    Right-click or control-click the highlighted line and select
              Services ▹ Open
    from the contextual menu. A folder should open with a subfolder selected. Move the subfolder to the Trash. You may be prompted for your administrator login password. Restart the computer. If you try to search now from the magnifying-glass icon in the top right corner of the display, there should be an indication that indexing is in progress.
    You can't see the folder in the Trash because it's invisible. The next time you empty the Trash, it should be deleted.

  • Can not find "Work Folder" in windows server standard edition

    Guys, I have a testing lab and all is working with the exception of the fact that I can not find "work Folder" to install it.  I'm using windows server 2012 standard evaluation copy edition.  Normally work folder should be under >file
    and storage service>file and iSCSI services.  However, it is not there.  Can someone help please
    staphisco

    Hi,
    From the overview, Work Folder is not supported in Windows Server 2012 (only Windows Server 2012 R2). 
    Work Folders Overview
    http://technet.microsoft.com/en-us/library/dn265974.aspx
    Software requirements
    Work Folders has the following software requirements for file servers and your network infrastructure:
    A server running Windows Server 2012 R2 for hosting sync shares with user files 
    If you have any feedback on our support, please send to [email protected]

  • Can not find the Automation Folder.... neither its Key Command...HELP

    I would be grateful to anyone who could find a solution to the following issue:
    I have read in Logic's 7.2.3 help reference about track automation folder. The sort of arrange window that seems to lurk behind the main arrange page and the place where you can treat the automation data as proper region material. I have tried everything, .. there does not seem to be any key command of the sort, more over I can not find any other way that could give me access to such an editor like the Automation Folder.
    Thank you for reading this.
    Nik

    • 1 • If you choose 'New Track' from the Menu, or use Control-Click-&-hold, you can select from the various options.
    • 2 • No, you don't need to do anything — it's entirely voluntary… I feel guilty for even mentioning it… I just thought that since you seem to be genuinely grateful for the help you have been getting, you had probably not read the article fully. I see that you have just had a useful reply from John Alcock, so now's your chance!

  • Apple loop index is empty folder!!! Can not find loop in logic browser because they just no longer exist on my hard drive, what would be the new appropriate step to take?

    Apple loop index folder is empty from the hard drive, which may explain why i can not find loop in my logic pro browser, just sort of grey in disaabled format. what would be the next appropriate steps to take??? I do have an external back up disk.

    The IDE interface that the iBook and your desktop use are the same, just a different plug size. So with the rite adapter you could put the iBooks drive in your desktop, you could even boot off it too.
    If you want to install the laptops HD in your desktop this will do it for you. Or you can use the iBooks HD as an external hard drive with this

  • Can't Find Solution for Could not find Digital Editions folder

    I have checked many posts but I cannot get my ADE to work.  I get the message "Could not find Digital Editions folder."  I am running Windows 7 Enterprise.  I have tried several solutions but the things they are talking about do not exist on my computer (D drive for instance).  Can someone please, please, please help me or either direct me to the proper answer....

    I don't know much about your efforts from your email - such as what you did
    to install ADE and when, and whom you're talking to about your problem (ADE
    or Microsoft).  So, I'll have to wing an answer - and I hope it helps!
    When ADE installs, it sets up an Adobe Digital Editions folder, which
    contains the software and, by default, is installed on Drive C.  If you
    elected to install the software, but did not complete the installation, Win
    7 will show you an icon but won't have the software to back it up.  On your
    desktop, right-click on the ADE icon, and click on Properties at the bottom
    of the drop-down window.  A small window should appear with the location of
    the software.  If it's empty, ADE was not installed properly. It should show
    you a drive and folder.
    So, if it's there, then what's next, you say.  Something is wrong with the
    registry if Win 7 won't open ADE and it shows up in the icon properties.
    ================

  • Unable to Delete Folder, Could not find this item

    Currently, I'm having problem deleting an old Folder. Previously, I used its parent as a shared folder, but one day when I tried to clear that folder there is one folder that has duplicate. The problem is one of them (the old one) can't be deleted even after
    I deleted all files/folders in that folder, I can't remove/rename that folder (could not find this item) not even with cmd as Administrator. I've tried to defrag my Windows Sever 2012 but the problem still persists. How to fix this problem?
    Thanks in advance.

    I had this same problem using Server 2012 Std. I tried various options of taking ownership of the parent folder because the Security properties of the folder I was trying to delete were blank, using CMD and Dir /x etc. I even tried sharing
    the parent folder and then using Server 2008 R2. None of them worked. When I tried Dir /x Server 2012 doesn't show the 8 character filename with the ~1. I tried typing it in myself, but that didn't work either. I then found that there was a space at the end
    of the folder name. I then tried all the CMD options again using a space, still no luck. Then I finally stumbled upon this solution:
    Open CMD and then type:
    rd /s "\\?\D:\bad\folder\path "
    example: rd /s "\\?\D:\Sharedata\folder1\folder2 " - note the space after folder2 as per the space in the folder name. Obviously D: is the drive that has the folder on it.
    This worked for me
    I've had a similar problem as detailed above; a power shell script that I wrote incorrectly tested for the existence of a directory and created multiple instances of the same directory.
    I can confirm that the post from Rayza73 works like a charm!
    @Rayza73:  First up thanks for the information.  Would it be possible for you to describe how the command is able to find and delete the directory?
    Many thanks
    Shaun

  • Folder from my desktop has disappeared and I can not find it!

    I'm hoping someone out there can help me. To put it in short, I have been typing my notes for an exam that I need to pass for my medical license for the last couple of months. Yesterday I went to save the newest document to the folder (which I had saved on the Desktop of my Mac) and it wasn't there anymore. I'm not sure if any other files are missing because that was the main one that I was using at the time. I went into Microsoft Word and File > Recent and they are all listed there but when I click to open them it says that it can not find the file and if I would like to search for it myself. I do have an external hard drive but I guess I did not back up my stuff since I started working on these notes (yeah yeah I know dumb mistake). Can anyone help? I tried using StellarPhoenixMac recovery but I don't think it found anything worth while. Thanks.

    Try repairing disk permissions using Disk Utility.
    Repairing a disk's permissions using Disk Utility.
    Note: This should not delete any information or files from the disk.
    Repairing a disk's permissions can help solve various file-related issues.
    To begin, make sure your external disk that you are repairing is connected to the computer. If you are repairing an internal disk, skip this step.
    After the drive is connected, launch the Disk Utility application in any of the following ways:
    Type the first few letters of its name into Spotlight. Select it from the results.
    Go Finder > Applications > Utilities > Disk Utility
    Go Launchpad > Utilities > Disk Utility
    Once you are in the Disk Utility app, select the external drive from the sidebar on the left.
    Then, choose the Repair Disk Permissions button on the right.
    If this does not solve your issues, you may have no choice but to reformat the drive using Disk Utility.
    I hope I answered your question.
    Austin

  • "Could not find the watch folder endpoint to save this failure" message found in log

    Hi,
    We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.
    Following are the excerpt of log:
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details
    How to get rid of this issue????????????
    Regards,
    -Carter J

    Hi,
    We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.
    Following are the excerpt of log:
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details
    How to get rid of this issue????????????
    Regards,
    -Carter J

  • I can not find mozilla firefox folder in Start All Programs how can i open firefox in safe mode i am using win7 and firefox 4.ob10 ?

    i can not find mozilla firefox folder in Start>All Programs> how can i open firefox in safe mode i am using win7 and firefox 4.ob10 ?

    A quick workaround - Go to Start > Run, and paste this in the box: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -safe-mode

  • Dear friends I mistakenly erased my iphone5 by Find my iphone app. Now I want to recover my pics and videos. In icloud I am not finding any icon folder which used to be there. I am using ios 7. Plz help me what to do. Thanks

    Dear friends I mistakenly erased my iphone5 by Find my iphone app. Now I want to recover my pics and videos. In icloud I am not finding any icon folder which used to be there. I am using ios 7. Plz help me what to do. Thanks

    Shakirefl wrote:
    ... I mistakenly erased my iphone5 ...
    See  How to Restore from a Backup   Here...
    http://support.apple.com/kb/ht1766

  • Im tryting to install new itunes but says windows installer, you are tring to use is a network resource that is unavailable. find folder itunes.msi  i dont have a folder like that and anything i use that is related does not work. help me?

    "you are tring to use is a network resource that is unavailable. find folder itunes.msi" i dont have a folder like that and anything i use that is related does not work. ive tryed to uninstall but still does the same thing when.

    Should the advice above not fix things for you...
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Need some example to study but could not find sh.rpd and sh folder

    Dear all,
    I am new for OBIEE and want to use sh example to study.
    But I am so puzzle that I searched each space of the computer and could not find sh.rpd and sh folder.
    For some reason, I can't re-install dataware house.
    Is there someone could attach the sh folder and sh.rpd?
    Million thanks for any helps!

    hi
    see this
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html
    here you can download the sh rpd.. .

  • I can not find Mac Mail resource folder

    Step 1
    Open "Finder" and navigate to the stationery "Resources" folder. By default this is located in "Macintosh HD/Library/Application Support/Apple/Mail/Stationery/ Apple/Contents/Resources. Make sure you are in the hard drive library folder and not the user's library folder.
    I can not find this path. Below is what i do get????  I held the "OIption" key and under "GO" to get to Library

    ballardisgone wrote:
    I held down the option key,went to GO then Library icon???
    That is your user Library.
    Triple click the line below, press ctrl then click on the highlighted line
    /Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery
    Select from the pop up menu
    Services ▹ Reveal
    You are in the right folder

Maybe you are looking for