dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Folder Name contain slash / or \

  1. #1
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Question Folder Name contain slash / or \

    Hi,

    I have facing prblm when create folder...my folder name contain "/" like

    folder\name or foler/name....
    so due to slash i can not create a folder or read data from that folder...
    can anyone help me...


    thanx

    adnanio
    brzzzz

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,943

    Re: Folder Name contain slash / or \

    Having slashes in folder names is invalid on a Windows machine. You cannot have them. Sorry, but you are going to have to rename your folder.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Folder Name contain slash / or \

    The Slashes (/ or \) are used to seperate folders, (File '\' & Web '/') With The web been intergrated into windows, windows identifies both as pretty much the same .. when passing any slash via a path, the OS automaticaly uses it as a sub folder devider..

    As PJ has already said.. you will have to rename the folder..

    Gremmy..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)