Problem in opening filename with space

Hi Folks,
I am trying to open a file located on websphere appserver. file name has a space in between. (e.g. abc xyz.xls)
I could not open the file in netscape and IE both.
Has any one come across such problem?

If the filename is part of an URL, you have to replace the
spaces by plus signs: http://.../.../abc+xyz.xls.

Similar Messages

  • Process.start("winword", filename) can not open file with space in the path and name

    Hi,
    I am trying to write a class which can open file with selected application. for simplicity, now I just hard code the varaibles.
    the problem: if the path or file name has space in it, even it exist, winword still can not open it.
    could someone kindly show me what I did wrong and how to do it properly.
    Thanks in advance.
    Belinda
    public static class FileOpen
    public static void info()
    string path = @"c:\a temp folder\aaa 1.txt";
    if (File.Exists(path))
        // the file I am using in the sample does exist
         MsgBox.info("yes");
    else
         MsgBox.info("no");
    // working
    //Process.Start("winword", "c:\\aaa.txt");
    // not working
    //Process.Start("winword", "c:\aaa.txt");
    // not working
    Process.Start("winword", "c:\\a temp folder\\aaa 1.txt");
    // not working
    Process.Start("winword", path);

    string AppPath;
    AppPath = ReadRegistry(Registry.CurrentUser, "Software\\FabricStudio", "TARGETDIR", value).ToString() + @"help";
    string FileName = "'"+ AppPath + "\\ImageSamples.doc" + "'";
    try
    System.Diagnostics.Process.Start("Winword.exe", FileName);
    can any body please help for this.
    where i am making mistake?

  • Numbers - problem to open files with iPhone.

    Hello! I have a problem to open a numbers file on Iphone. this file is made with Mac and use the function "SE". I understand tha t the problem is on a table where I use this function. If I delete this part I'm able to open with the Iphone. I try also to cut the expression on 2 different "se" but not work. I'have a dubt about the possibiliy of use the "se" function on the numbers on Iphone.
    Someone have a problem like this? And find a soluction?
    Can you help me?
    Thanks
    Paolo

    Hi, I see your answer but I don't agree for 3 reasons:
    1 -  On numbers on mac the functions with ";" work good;
    2 - I try to put the comma like your suggestion but the system show me an error on the formula with the red triangle
    3 -  I read another time the online help about the instruction and is correct the ";"
    Follow I put a short screen-shot of the instruction help:
    SE
    La funzione SE restituisce uno dei due valori specificati a seconda che il suo risultato sia il valore booleano VERO o FALSO.
    SE(se_espressione; se_vero; se_falso)
    Thanks for your help but for the moments i follow to don't solve my problems.
    bye
    Paolo

  • [SOLVED]Audacious can't open files with spaces on name

    I open audacious
    Type Ctrl+o and select a directory with spaces on it names,
    Audacious opens nothing
    Any ideas?
    I have deep trees of music with spaces, I was working on a script to rename one by one, but I'm too lazy
    Cheers
    Last edited by geckos (2014-01-29 21:32:33)

    Here is my solution, I did this for every error that apears like that...
    [geckos@localhost ~]$ audacious
    (bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
    *** ERROR: /usr/lib/audacious/Input/cdaudio-ng.so could not be loaded: libcdio_cdda.so.1: cannot open shared object file: No such file or directory
    ^C[geckos@localhost ~]$
    [geckos@localhost ~]$ pkgfile -r '.*/libcdio_cdda.so.1'
    extra/libcdio-paranoia
    [geckos@localhost ~]$ sudo pacman -Syu libcdio-paranoia
    :: Synchronizing package databases...
    (3/3) installing libcdio-paranoia [###########################################] 100%
    [geckos@localhost ~]$
    [geckos@localhost ~]$

  • Filename with space problem

    Does anyone know why this code is giving me to save the file with the wrong filename? It converts spaces to + signs.
    Currently it gives the filename: "test+filename.abc"
    The variable resourceName is: "test filename.abc" (<-- this is required filename)
    IWDResource resource = WDResourceFactory.createResource(baos.toByteArray(),"test filename.abc",WDWebResourceType.UNKNOWN);
    String url = resource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
    String resourceName = resource.getResourceName();
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"download").show();
    Edited by: Tom Franssen on Mar 25, 2010 6:04 PM

    Hi Tom,
    I know exactly what you are looking for.
    I have implemented it in my web dynpro application.
    Here is the code which you can write in action handler of the download button:-
    This will open up a pop-up window asking user to Open/Save As/Cancel type of dialogue.
    And you need to perform String manipulation on "p_FileName" to remove all the leading, trailing and intermediate spaces in filename.
         try {
              //Get Url connection and inputStream
              l_url = new URL("<URL STRING>");
              l_urlConnection = l_url.openConnection();
              l_inputStream = l_url.openStream();
              //fill up byte array
              int l_int_arraySize = l_urlConnection.getContentLength();
              l_byteArray = new byte[l_int_arraySize];
              l_dis = new DataInputStream(l_inputStream);
              l_dis.readFully(l_byteArray);
              //reset buffers
              l_inputStream.close();
              l_dis.close();
              //Set the Resource for file
              l_resource = WDResourceFactory.createResource(l_byteArray, p_FileName, WDWebResourceType.UNKNOWN);
              l_byteArray = null;
              //Get the url of created resource
              l_str_url = l_resource.getUrl(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal());
              //Call external window passing the above url
              l_win_MultiFileWindow = wdComponentAPI.getWindowManager().createNonModalExternalWindow(l_str_url);
              l_win_MultiFileWindow.show();
         catch (Exception e) {
    Hope it helps.
    Let me know in case you need more information.
    With regards,
    Amey Mogare

  • Problem opening email with space in subject

    I have a report region which displays the date, who sent and subject of emaisl from the users inbox. If they click on the subject then Outlook is meant to open and display the email in full.
    This works ok for email with only one word in the subject but gives an error when there is more than one word.
    I have tried replacing spaces with %20 but without any joy.
    An example of the html link generated is "<a href="outlook:Inbox/~test%20subject>test subject</a>"
    Has anyone done this sort of thing and got it to work?
    Fintan.
    Edited by: Fintan Stack on Dec 8, 2010 7:19 AM

    Has anyone done this sort of thing and got it to work?No. Didn't even know that it was possible.
    <a href="outlook:Inbox/~test%20subject>test subject</a>
    {code}
    Is that *exactly* how it appears in the HTML? If so, generating the link so the href attribute is properly terminated might help:
    {code}
    <a href="outlook:Inbox/~test%20subject">test subject</a>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • LibreOffice can't open files with spaces in the name

    Hi, so I recently installed LibreOffice (from extra) over go-OO. I know the site says it's not for production use but I have heard good things about the stability of the current version so I decided to see if it was in a usable state. In general things are going great, but I do have the problem mentioned in the thread title. The program has trouble parsing the spaces, and instead I am trying to open each space-delimited section of the filename as a separate file. Trying to open "My File.odt", for example, will simply return two error messages, one about "path/to/current/directory/My" not existing, and another about "path/to/current/directory/File.odt" not existing. I can't seem to get around this behaviour and, surprisingly, I can't find anything on it by Googling.
    I know that LO is in beta and this may just be a bug that is being worked on, but since I can only find one reference to it on the net I thought that maybe others were not having this problem or had found a way around it.  Can anyone provide any insight? Cheers!

    vimex wrote:
    comment these lines in /usr/lib/ooo-3.3/program/soffice
    the $* has some problem, but I do not know how to correct this...
    # Setup our app as oosplash, but try to avoid executing pagein,
    # and other expensive environment setup pieces wherever possible
    # for a second started office
    #if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ "$no_oosplash" != "y" ] ; then
    #    sd_binary="oosplash.bin"
    #    export QSTART_CHECK_ONLY=1
    #    if "$sd_prog/$sd_binary" $*; then
    #   exit 0
    #    fi
    #    unset QSTART_CHECK_ONLY
    #fi
    I noticed that commenting out that code allows LibreOffice to open spaced filenames, but seems to slightly increase startup time.
    I tried replacing $* with "$*", and opening from the command line seems to work even for files with spaced names, with the faster startup time too. The only problem is that now LO does not work at all by clicking; only from command line.

  • Programmatic launch of reader 11.0.3 won't open file with spaces in the path?

    The application I work on uses a PDF file for online help.  We programmatically launch the help file into the user's PDF viewer.  The path to the help file may have spaces in the directory names or filename.  With previous versions of Adobe Reader, it would launch just fine (path passed in on the command line).  However, with 11.0.3, I find that if I don't include an extra set of quotation marks around the path, it fails to open when there are spaces in the directory name.  What changed between then and now to cause this problem?  If I add extra quotation marks, will users with an older version of Reader not be able to open the file?
    Edit -- running in Windows 7, launched from C# .NET 3.5.

    benten2000 wrote:
    Install is fine and the icon is shown on the desktop and pdf files icons also change to Acrobat.
    I seem to have missed this part when reading your original post.  See if anything in this article fixes your problem: http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • Apex Listener/Apache Tomact and filenames with spaces

    I've installed the Apex Listener with Apache Tomcat, and all seems to work fine. Except when I try to do a CSV file data upload via the utilities screen in apex. If the filename/directory path contains spaces, then Apex reports "File Must Be Specified" error - yet if I do this same operation via EPG instead of Tomcat, it works. Are there any restrictions in Tomcat to using spaces??

    Look at this thread. Re: File upload problem
    regards.

  • Can't open files with spaces from gui applications

    When I try to open a file or directory from say qbittorrent or clementine in xfce, I get the message:
    "Failed to open URI "file:///somewhere/filename%20with%20spaces".
    Googling told me this problem was due to passing a "%U" instead of a "%F" somwhere, but I don't know where to change this.

    I don't use any DE or those kinds of gui tools, but the "%U" instead of an "%F" issue would be in the .desktop files.  There are systemwide .desktop files in /usr/share/applications/ and you can override these with your own customized versions in ~/.local/share/applications/
    So a workaround at least would be to copy the relevant desktop files from the system-wide folder to your user's folder and edit them appropriately changing %U to%F.

  • When saving filename with space, the space char convert to %20. How can i solve this?

    Each time when i try to save a file. Firefox always convert the space char to %20. This is really irritating.
    Any solution?

    Thanks for trying to help. Maybe i did not specific my issue clear enough, each time when i try to download a file from my university elearning site. The filenames suggested by firefox automatically change space char to %20. I need to manually remove those %20 to space char again when i save the file, this is really not convenient. I tried on Chrome and IE, both of them do not have this problem with the same file.

  • Tricky problem. Opening RAW with Javascript. White balance problem.

    Hi all. Hopefully someone can help with this - its a tricky one.
    I've been using a javascript to send RAW and DNG files to Photoshop CS5 for automatic processing. The script opens the files directly into PS, apparently bypassing Adobe Camera Raw. It always renders the photos with the ACR default settings which can be set in either ACR on Lightroom. The standard Adobe settings are WB (As Shot), Brightness (+50), Contrast (+25).
    My problem is that it ignores any changes I have made to the RAW files in ACR. So if I want to use a custom white balance, its not possible to use the javascript. The script ignores the 'custom' white balance and resets it to 'As Shot'.
    I've tried changing the default values in ACR but the options are As Shot, or a set Kelvin preset such as Tungsten, Sunlight etc. Nothing helps.
    Is it possible for the script to be mindful of the custom adjustments - especially subtle changes to WB - that I have made in ACR?
    The script is below...
    var stacks = app.document.stacks;
    var stackCount = stacks.length;
    for(var s = 0;s<stackCount;s++){
          var stackFiles = getStackFiles( stacks[s] );
          if(stackFiles.length> 1){
               var bt = new BridgeTalk;
               bt.target = "photoshop";
               var myScript = ("var ftn = " + psRemote.toSource() + "; ftn("+stackFiles.toSource()+");");
               bt.body = myScript;
               bt.onResult = function( inBT ) {myReturnValue(inBT.body); }
               bt.send(500);
    function getStackFiles( stack ){
          var files = new Array();
          for( var f = 0; f<stack.thumbnails.length;f++){
               files.push(stack.thumbnails[f].spec);
          return files;
    function myReturnValue(str){
          res = str;
    function psRemote(stackFiles){
          var loadLayersFromScript = true;
          var strPresets = localize ("$$$/ApplicationPresetsFolder/Presets=Presets");
          var strScripts = localize ("$$$/PSBI/Automate/ImageProcessor/Photoshop/Scripts=Scripts");
          var strFile2Stack = "Load Files into Stack.jsx";
          var ipFilePath = app.path + "/" + strPresets + "/" + strScripts + "/" + strFile2Stack;
          var ipFile = new File (ipFilePath);
          $.evalFile( ipFile );
          loadLayers.intoStack(stackFiles);
          app.doAction ('My Action');
          var saveFile = new File('~/desktop/'+(new Date().getTime().toString())+'.psd');
          app.activeDocument.saveAs(saveFile);
          app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

    Paul,
    this script do perfectly what i need... But unfortunately not in Bridge CS6 :-(
    I use Windows7 64 and CS6. When I run the script from the Extended Script Toolkit, everything works great.
    Then I saved the script in the Bridge folder "startup scripts". At the start of Bridge I get the following error message:
    "Error in C: \ Users \ ... \ AppData \ Roaming \ Adobe \ Bridge CS6 \ Startup
    Scripts \ Stack Batch.jsx
    Line 1: var = app.document.stacks stacks;
    undefined is not an object "
    Bridge and then starts the script is not enabled.
    Thanks for any help
    -kai

  • Problem with spaces in filenames

    Created a photo album in iPhoto and exported to iWeb. When I try to upload to my Comcast homepage, several graphics elements in the photo album page have spaces in their filenames and Comcast balks. Is there a way to keep iPhoto/iWeb from utilizing filenames with spaces in them? Thanks.
    MacBook Pro   Mac OS X (10.4.8)  

    Hi Stanley...
    I'm glad that you got your space problem fixed. If you ever update your site, though, you'll have to redo all of your hard work eliminating the spaces. Here's a little utility that will do this for you a little bit more automatically...
    http://www.brokenropesoftware.com/iWebFTPUtility/iWebFTPUtility.html

  • Problems with spaces in file or directory names and Word.exe

    Hi
    I'm trying to open a file with Word from my java aplication, and I have a problem with some file/directory names.
    I have this
    String cmd = "c:\\Program Files\\Microsoft Office\\Office10\\WINWORD.EXE" + " " + path;
    try {
    Runtime.getRuntime().exec(cmd);
    } catch (Exception errorea){ }
    Here is what happens:
    if path is something like this: "c:\people\info.doc" , there's no problem, Word opens the document, but if path contains blank spaces somewhere, it doesn't work. For example:
    path = "c:\Documents and Settings\info.doc"
    path = "c:\Hi everybody\info.doc"
    path = "c:\tests\test results.doc"
    with the above examples it doesn't work :( Word tries to open "c:\Documents", "c:\Hi" or "c:\tests\test".
    Can anyone help? thanx a lot ! : )

    Hint: use the variant Runtime.exec(String[] args).
    Create a command array, with each token in a separate argument. The entire filename with spaces goes into one argument.

  • Unable to access files with spaces in the path

    Hi all, I am accessing files which reside on the server using a java applet.
    The typical path of a file could be:
    http://192.168.0.2/agat/data/AF190701 0003.agt
    (not the space in the filename).
    When I try to open this file using a URL object:
    URL file = new URL(filename);
    BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
    I get exception 400 ( I think) whihc I assume is file cant be found.
    However when I rename the file (to get rid of that space) and also change the filename variable to suit. The file is opened as expected.
    What should I do to make the applet able to open paths with spaces? Or is this just not possible.
    I did try including quotes with the special characte precessor:
    filename = "/"http://192.168.0.2/agat/data/AF190701 0003.agt/""
    But this didnt work either, please could someone tell what I need.
    Thanks.

    Thanks guys, although before I got your replies I did the following - it seems to work, but shall try your suggestions.
    while (file.lastIndexOf(" ") >0)
    String temp;
    int num = file.lastIndexOf(" ");
    temp = file.substring(0, num) + "%20" + file.substring(num+1, file.length());
    file = temp;
    }

Maybe you are looking for

  • New to the forums, not new to Mac. Need help on failing hard drive.

    Hello, glad to have found this forum...I need all the help I can get. Let me explain what I have, what it's doing, what I want it to do, what I "think" I need to do. *What I have:* 733 G4 with superdrive, 512 MB SDRAM, 40 & 60 gig internal original h

  • Remote Access VPN to Router

    Hi Guys I configured a remote access vpn to our secondary office router (no failover or anything on configured) I can login but i cannot access the internal lan. I've attachted the config, if anyone has an idea please let me know. Regards

  • No value at run time

    hi friends I have created zattribute for business object and i have delegated. when i debug the zattribute(ZSUBTYPE) its getting the value.Am using the zsubtype in my mail step to get the subtype.. But at run time am not getting any value in zsubtype

  • How do i turn off automatic download and make it stay off

    I use the preferences in ITUNES to turn off automatic down loads and every time i start iTunes it  tries to force me to sign to an ICLOUD account and automatic download. I have tried everything I can find on apple help sites. But you Apple carefully

  • Image Text Wrapping html/css

    Ok, I've searched around and I don't think this is possible but... Every example of image text wrapping I can find requires that you put the <img> into your html before or after a paragraph. I'd like have it so that I can move my image anywhere on th