Why are certain characters invalid in SharePoint file names/folders?

Hello. I know which characters are not accepted in file names, but someone asked me today why that was and I was stumped! Does anyone know?

They are usually invalid because the have a special meaning to the operating system or to URLs. For example the slash "/" is not allowed because it is used as a seperator in a URL.  (http://yourserver/yousite/somepage.htm).
Greater than (>) and less than (<) are not allowed as they are used to redirect output from a DOS command to a file ( DIR *.doc > listofwordfiles.txt )
So each reserved character has a special use somewhere... in DOS, in HTTP, in SharePoint, etc.
Mike Smith TechTrainingNotes.blogspot.com
my SP customization book

Similar Messages

  • [SOLVED] Why are control characters visible in text files??

    Hi,
    If I direct the output of 'ls' to a file like:
    ls > file.txt
    and open the file in a editor such as vi, joe or mousepad, it looks like this:
    [[01;34m22x22[[0m
    [[01;34m24x24[[0m
    [[01;34m32x32[[0m
    [[0mindex.theme[[0m
    [[01;34mscalable[[0m
    [[m
    I just did the same thing on an old slackware box and no control characters are visible. The same for a recent LFS build. I realize I could probably pipe through dos2unix, but it shouldn't be happening anyway. Any input is appreciated.
    Thanks
    -Frank
    Last edited by fianella (2007-10-24 10:37:00)

    at the DOS prompt (sorry, old habits die hard :-) ) type
    alias ls
    and see what the results are.  Compare that against your slackware or lfs builds.  You will probably find that the color= option is different - most builds will not include the color ANSI sequences if you pipe the output, but if it says color=always the color codes will be included in the redirected file.
    Assuming you find an alias for ls that forces color output, you need to find where that is taking place... in your ~/.bashrc file?  in /etc/profile.d?  And change that to alias ls='ls --color=tty' or something sensible like that.

  • HT202020 Why are certain videos that I have taken with my iPhone 4 not supported by Aperture.

    Why are certain videos that I have taken with my iPhone not supported by Aperture?  That's weird.  I expect that since both iPhone and Aperture are Apple products, file support should be seamless between the two. 
    Also, iPhone 4 does not appear as Camera Model in the metadata of the unsupported video file in Aperture .  But other videos I have taken with the same iPhone 4 appear in Aperture and the Camera Model appears correctly.  Why is that?

    Have you done some cleaning and cleared caches on your Mac? Maybe the  com.apple.xpchelper.cache file is missing. Check the folder /System/Library/Caches/
    Re: Import video to Aperture library on Mountain Lion https://discussions.apple.com/message/19304702#19304702
    If this file should be missing, you need to restore it from a backup or reinstall it by reinstalling your system.
    Regards
    Léonie

  • Why are certain albums like ones from Tool or Ozzy era black sabbath not available in the U.S. store

    why are certain albums like ones from Tool or Ozzy era black sabbath not available in the U.S. store

    Also, in some cases the artist will not allow download sales, or insists on a download store selling complete albums only rather than offering individual tracks, something Apple resists. In any case, it's not by Apple's choice; it's by decision of the content owners.

  • Why are certain sites suspended? some of the backdoors for game sites show "This Account has been Suspended" when you try to access them.

    What does "This Account has been Suspended" mean and why are certain sites suspend?

    This is what I get:
    ISP: Be Un Limited
    Organization: Be Un Limited
    Connection: Broadband
    Services: None Detected
    City: Horsham
    Region: West Sussex
    Country: United Kingdom
    It can't be a problem with my ISP or my IP address since it only happens with Firefox. When I try out the same listings with other browsers it doesn't happen. eBay said Firefox must be making it seem as though I am in France. Goodness knows how or why??

  • Why are certains applications not available in South African App Store?

    Why are certain applications such as Google Earth, Google Mobile App, and most games not available in the South African App Store.
    We speak English so localisation should not be a problem.
    I'm sure there are no legal reasons why these applications are not available here, as we have desktop equivalents for most of them.
    Why does South Africa have to have a diminished iPhone experience?

    No idea.
    You would have to ask Apple and/or the company that makes the app and/or - most likely - the Government of your country.
    I'm sure Apple and the app developer would love to sell more apps.
    Since this is a user forum, made up of iphone users, like you - there is nothing we can do about it.
    Sorry.
    You may leave feedback for Apple at:
    http://www.apple.com/feedback/iphone.html

  • Why are my contacts showing numbers and not names

    Why are my contacts showing numbers and not names?

    When you added your contact details in the contact app did you fill in the fields correctly.  For example in contacts where it says "first" did you enter a number instead of a name?

  • Why are desktop icon positions for some files forgotten on restart

    On restart/reboot some of the file icon positions are forgotten and the files reappear stacked over the startup drive icon.  The remainder of the files on the desktop are in their correct/previous positions.  Why are somefile locations not remembered?

    Sounds like the .DS_Store invisible file is corrupt.  That is my wild guess.  There is a .DS_Store invisible file for each folder that the Finder visits.  It is where the Finder stores this position information.
    NOTE:  The following suggestions will cause the Finder to forget the positions of everything in the target folder, but after that the Finder should be able to remember going forward.  If you have some icons in the correct positions and you do not want to forget where they were, you should take a screen shot, or create a map (with pencil and paper), or other way to memorize where they were.
    There are utilities that can toggle the Finder internal settings to display invisible files, and then reset the settings so they are again hidden (you would trash the .DS_Store of the misbehaving folder while it was visible, then reloaunch the Finder or reboot, but a Finder relaunch is faster).
    There are Terminal commands that can be used to just remove the .DS_Store file.
    The killall Finder is needed to relaunch the Finder.  You could also use Apple menu icon -> Force Quit... -> Finder -> Relaunch.
    If a folder does not have a .DS_Store when the Finder opens the folder, the Finder will create a new one and assigns all the icons a default position.  Then you should be able to reposition the icons as you desire, and it should remember them from that point forward.

  • Need to remove sixth and remaining characters from a PDF file name

    Typical file name:
    1925a - SomeotherTextHere.pdf
    Need to remove everything after and including the "-" symbol or the sixth position.
    I've tried this but to no avail:
    var filePath = this.path.replace(this.documentFileName,"");
    var newFileName = this.documentFileName.substring(0,6);
    this.saveAs(filePath + newFileName);
    Thanks in advance,
    Russell

    You were right......but a quick question. Why does this work without it? Thanks again!!!
    var filePath = this.path.replace(this.documentFileName,"");
    var newFileName = this.documentFileName.substring(1);
    this.saveAs(filePath + newFileName);

  • Max 255 characters in MS Office file name problem

    When saving files via WebDAV to KM folders within collaboration rooms we often hit this limit of 255 characters that Office documents allow for file names (218 for MS Excel).
    Because the complete webDAV URL to portal is made up of server name + a lot of portal stuff, the number of characters left for subcatalogs and document within each room is very limited.
    Has anyone got a good solution to this problem?
    WebDAV url example:
    oslpep.agra.int:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/room_extensions/
    cm_stores/documents/workspaces/303c5e8a-cb16-2810-9aa7-caaf71de197/subfolder/document.doc
    Error message in Excel when saving:
    "The file could not be accessed. Try one of the following:
    - Make sure the specified folder exists.
    - Make sure the folder that contains the file is not read-only.
    - Make sure the file name does not contain any of the following characters: < > ? [ ] : | *.
    - Make sure the file/path name doesn't contain more than 218 characters."

    Julian, Robert
    Thanks for help so far. I have now upgraded to SP2 and the situation is the same.
    As far as I see the Cumulative security update is specified to solve IE-related problems. The problem with WebDAV editing of files in portal does as such not involve opening Office documents through IE, but rather editing these in any Office program and saving directly to portal through a mapped network place (a KM folder).
    I still cannot see that Microsoft has published anything about a fix for this problem.
    About error when opening document: http://support.microsoft.com/default.aspx?scid=kb;en-us;325573
    About error when saving document: http://support.microsoft.com/default.aspx?scid=kb;en-us;213983
    Is there something I have overlooked?
    Regards
    Henning

  • When new CD are inserted, posible too automaticly copy files too folders??

    Hi.
    I get a lot of cds from customers.. Is it possible too get all the files/folders on a cd too copy automaticly too my desktop and then eject it???? I am soooo tired of doing this manualy:-D If it are posible too also put the files inn a folder with the name of the CD + Date it woud be too GOOD:-)
    Best regards
    Einar

    einar,
    Yes this is possible with an AppleScript or AppleScript/Automator combination.
    The challenge will be determining whether this is a new cd or not. Without knowing everytime you insert a cd it will copy the files to the desktop/folder. There are at least two ways around this:
    1) Have a database that keeps track of the CDs that have been processed;
    2) Have a dialog that comes up once the CD is recognized and lets you decide whether you want to process the cd or just mount it.
    I will see what I can come up with using the second method.

  • Why don't my videos (movies) display file names?

    I have about 20 movies on my Lumia 928, but the file names don't display.  The movies play fine, but it would be nice to know the names of the movies without having to play them.

    I can see how having to play the movie without knowing the file name would be a hassle.
    I have researched this matter & I do believe this is just a part of the design of the phone.
    I have even checked with HTC http://bit.ly/14DuBW3 to see if they know of any other way to do this, but nothing yet.
    Tamara_VZW
    Please follow us on twitter @VZWSupport

  • How Do I Copy File Names & Folders From A Hard Drive To A Word Document?

    Hi Gang:
    This may sound silly but I am having a herd time with the following - seemingly simple task.
    I have data DVD-Rs with audio files organized into folders. Each folder contains audio files related to the folder name.
    I would like to copy the file names and folders from a DVD-R and paste them into a MS Word file. I am just looking to get a listing of files as they appear on the DVD-Rs in their folders.
    The problem is that when I copy and paste, the order changes (seemingly randomly) and the file names are no longer under the folder names. In fact, the whole thing looks to be really random.
    Anybody know how to copy file/folder names from a hard drive or DVD-R to a word document and retain the file/folder structure?
    Thanks!
    LAHD

    There is an even easier method with no Terminal magic required. In the Finder, select all the files you want the names of, press Command-C, switch to Word and press Command-V. Poof, your done.
    If you view the DVD in List VIew, you can expand the folders you want the files for, then select all the files (and their folders if you want them too) and then do the Copy/Paste thing.
    Message was edited by: petrock

  • Why are certain sound files not playing correctly in iTunes?

    I have had iTunes for years and have never had prolonged or unsolvable problems with anything playback related until now. I recently acquired some music, and it plays perfectly when I use WMP. When I added it my iTunes library, however, the audio is compressed during playback and there is a lot of skipping and blips going on in every song. It still plays perfectly in WMP, but not matter what I do the same thing happens in iTunes.
    For reference, here is what the original audio songs like
    http://picosong.com/cNPn
    And here is what it sounds like in iTunes
    http://picosong.com/cNPe

    I have a similar problem. When I try to play TV episodes that were downloaded (in .m4v format) using iTunes, QuickTime (7.0.4) will play video without audio, and when I press "stop", QuickTime locks up!
    My system used to play these files PERFECTLY, until I downloaded some shareware video format conversion programs (that didn't work, anyway). I believe one of them installed a shared DLL or CODEC or something that is conflicting with QuickTime. I'VE UNINSTALLED AND REINSTALLED QUICKTIME AND ITUNES COUNTLESS TIMES, trying to follow different people's advice, mostly from posts on this site, but nothing helps!!
    The thing we have in common is that it sounds like you also have other video software that could have conflicting CODECs or shared DLLs. DOES ANYBODY KNOW HOW TO TRACK THIS PROBLEM DOWN??
    And why doesn't Apple make a CLEAN uninstaller and a COMPLETE installer? People shouldn't have to do the manual registry editing and file deletions that other people are recommending!!!!!
    Intel 915 Mo Bd. 3.2GHz 1G RAM   Windows XP  

  • Why are certain apps not restoring to iPad after restore from backup. Are these apps gone and more importantly the data if they are not on my iTunes ?? Please say I can get them back

    Recently restored iPad 2 to factory settings. Prior to this did a back up unfortunately when restoring my back up certain apps did not restore and are not on my iTunes. I really needed the app data I know I can re-download the apps but the data was all my work and it's not on my back up files help!!!!

    thanks but it seems that when i did my backup it didnt save those apps so i have lost their content. ot may also be due to an update of my itunes as previous backups are also missing
    just another great aspect of the ipad oh well i guees ill start from scratch...

Maybe you are looking for

  • Restrict qty based on customer

    Hi, I need to restrict qty of materials based on customers. So how to proceed. regards, sathya

  • Actual anf formal parameter in unicode system

    Hi All,          I am getting short dump error in a report program in a unicode system, It gives message like this : Name of function module...............: "SXPG_COMMAND_EXECUTE" Name of formal parameter..............: "TARGETSYSTEM" Technical type

  • Env-entry from web.xml not in generated plan.xml

    Hello, Recently I migrated a JDeveloper 10.1.3.4 project to 11.1.1.3 and from there to 11.1.2.4. When I deploy this project to an 10.3.5. weblogic server then the 'env-entry' entires in the web.xml are not available on the application server. Even wh

  • Program names L... are reserved for function group includes

    Hi All Im involved in a migration project from GTS  to ECC server where i have problem while creating a function group, when am creating a same include LZFR1T00 in ECC server am getting an error *'Program names L... are reserved for function group in

  • Encore 1.5 and Windows 8

    Will Encore 1.5 run on Windows 8 (64)?