Open a form with space on the path with form builder from a batch

Hi,
I cannot open a form from a batch on Windows if the absolute path contains spaces.
For example, if I try to open a form in "C:\" from cmd with C:\ORANT\bin\ifbld60.exe C:\Form.fmb, I have no problem, if I try to open a form in "C:\Documents and Settings" with C:\ORANT\bin\ifbld60.exe "C:\Documents and Settings\Form.fmb" or C:\ORANT\bin\ifbld60.exe C:\Documents and Settings\Form.fmb, I have some dialog with info and the error FRM-90927 and form builder doesn't start.
Thank you,
tom
Edited by: 912104 on 16-ago-2012 3.17 - title

Hi,
>
I cannot open a form from a batch on Windows if the absolute path contains spaces.
For example, if I try to open a form in "C:\" from cmd with C:\ORANT\bin\ifbld60.exe C:\Form.fmb, I have no problem, if I try to open a form in "C:\Documents and Settings" with C:\ORANT\bin\ifbld60.exe "C:\Documents and Settings\Form.fmb" or C:\ORANT\bin\ifbld60.exe C:\Documents and Settings\Form.fmb, I have some dialog with info and the error FRM-90927 and form builder doesn't start.
>
Why is that you want to open a FMB in Form Builder with a Batch file?
Is it that your application has only one FMB and that you work with only one FMB all the time?
Cheers,
PS: And if you must open the FMB through a batch file then look up the Form Builder Help for "Command Line options". It is an excellent resource.
Edited by: Prabodh on Aug 16, 2012 3:06 PM

Similar Messages

  • 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

  • Bug: can't access static files with space in the path

    Please let me know if this a a wrong place to file bug reports.
    I installed webserver7u4 and when I try to access a static file within my war which contains a space in the path, I get HTTP404.
    $ ls webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black\ spinner/1.png
    webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black spinner/1.png
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png
    "--13:47:06-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 404 Not found
    13:47:06 ERROR 404: Not found.Now, if I create a symlink to a path that contains url encoded space, everything works:
    $ ls -l webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner
    lrwxrwxrwx 1 root root 13 Aug 1 2008 webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner -> black spinner
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png"
    --13:49:37-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,446 (1.4K) [image/png]
    100%[======================================================================== =======================================>] 1,446 --.--K/s
    13:49:37 (89.76 MB/s) - `/dev/null' saved [1446/1446]So to me it appears that webserver doesn't decode the path before searching the local file system, which to me looks like a bug.
    Let me know if you need more info.
    cheers,
    Igor

    HTTP/1.1 RFC [http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2|http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2]
    3.2 Uniform Resource Identifiers
    URIs have been known by many names: WWW addresses, Universal Document Identifiers,
    Universal Resource Identifiers [3], and finally the combination of
    Uniform Resource Locators (URL) [4] and Names (URN)  ... where
    3 is a link to [http://www.ietf.org/rfc/rfc1630.txt|http://www.ietf.org/rfc/rfc1630.txt] section BNF for specific URL schemes
      httpaddress              h t t p :   / / hostport [  / path ] [ ?search ]
      path                   void |  segment  [  / path ]
      segment                xpalphas
      xpalphas               xpalpha [ xpalphas ]
      xpalpha                xalpha | +
      xalpha                 alpha | digit | safe | extra | escape
      alpha                  a | b | c | d | e | f | g | h | i | j | k |
                             l | m | n | o  | p | q | r | s | t | u | v |
                             w | x | y | z | A | B | C  | D | E | F | G |
                             H | I | J | K | L | M | N | O | P |  Q | R |
                             S | T | U | V | W | X | Y | Z
      digit                  0 |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
      safe                   $ | - | _ | @ | . | &  | + | -
      extra                  ! | * |  " |  ' | ( | )  | ,
      escape                 % hex hex
      hex                    digit | a | b | c | d | e | f | A | B | C | D | E | F{code}
    4 is a link to RFC 1738 Uniform Resource Locators (URL)
    [http://www.ietf.org/rfc/rfc1738.txt|http://www.ietf.org/rfc/rfc1738.txt] section 5. BNF for specific URL schemes
    has :
    {code}
    httpurl        = "http://" hostport [ "/" hpath [ "?" search ]]
    hpath          = hsegment *[ "/" hsegment ]
    hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    uchar          = unreserved | escape
    escape         = "%" hex hex
    hex            = digit | "A" | "B" | "C" | "D" | "E" | "F" |
                                 "a" | "b" | "c" | "d" | "e" | "f"
    unreserved     = alpha | digit | safe | extra
    alpha          = lowalpha | hialpha
    lowalpha       = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
                     "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
                     "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
                     "y" | "z"
    hialpha        = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
                     "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
                     "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"
    digit          = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |"8" | "9"
    safe           = "$" | "-" | "_" | "." | "+"
    extra          = "!" | "*" | "'" | "(" | ")" | ","
    {code}
    I do not see space in these RFCs for httpurl.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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?

  • 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;
    }

  • XletApplication Manager - How to run Xlet, with spaces in the path

    Hi
    I am trying to use J9 implementation on PocketPC to run a simple Xlet. When I enter a path as below, the Xlet App manager fails to find the application.
    37#"\SD Card\IBM PPRO10\bin\j9.exe" -jcl:ppro10 com.ibm.oti.xlet.XletApplicationManager -filename:"\SD Card\ANSPOD\bin\PODXlet.txt"
    However, if I use a path that doesnt have any space, it works fine.
    Any hints ?

    Have you tried enclosing the entire shortcut in quotes?
    37#"\SD Card\IBM PPRO10\bin\j9.exe -jcl:ppro10 com.ibm.oti.xlet.XletApplicationManager -filename: \SD Card\ANSPOD\bin\PODXlet.txt"
    Or, if that doesn't work, maybe using a %20 in place of the space in the folder.
    Or, maybe this:
    37#"\'SD Card'\'IBM PPRO10'\bin\j9.exe" -jcl:ppro10 com.ibm.oti.xlet.XletApplicationManager -filename:"\'SD Card'\ANSPOD\bin\PODXlet.txt"

  • How can I specify the path in Form Builder 9.0

    Hi, everyone,
    could anybody tell me how can I specify the path in Form Buidler 9.0? there is problems when I want to attach library in form builder. thanks to Kuldeep RAwat and Natalia Vidal, I know I should specify the path, but I still don't know how to specify, how can I do?
    besides, when I run a form, sometime there will be a warnig:
    Please acknowledge message
    what's that meaning?
    thank you very much for your great help

    Shay Shmeltzer thank you very much for your so quickly response. I have modified the file and my form can run now!
    but, when I open my form, it always suggest me:
    FRM-10102: Cannot attach PL/SQL library TalbotStandard. This library attachment will be lost if the module is saved.
    so everytime I open my form, I must attach the library manully. I don't know the reason. do you know that or anybody else knows that? thank you very much!
    have a good weekend :-)

  • Upgrade of scvmm 2012 sp1 to scvmm 2012 r2 fails with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied"

    I had a working scvmm 2012 sp1 installation, and am attempting to upgrade to 2012 r2.
    The old SCVMM product was removed (retaining the database), as well as ADK 8.0.  I then installed ADK 8.1.
    The install fails after a number of minutes with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied".  From my reading of the log, that was the only obvious failure, and that the VMM server MSI installed successfully. 
    It doesn't appear to get so far as to upgrade the database.
    The OS is Windows Server 2012 R2 Standard, with all updates applied.  I have tried the install many times, noticed that the McAfee virus scanner was pushed to the box at some point, so I removed it, but still no dice.
    12:18:58:LaunchMSI: MSI C:\Users\mscott\Desktop\mu_system_center_2012_r2_virtual_machine_manager_x86_and_x64_dvd_2913737\amd64\setup\msi\Server\vmmServer.msi succeeded.
    12:18:58:Doing Postinstall task for PangaeaServer
    12:18:58:ProcessInstalls: Install Item VMM management server was successful.  We will launch the post process delegate.
    12:19:47:Windows feature RSAT-Clustering-PowerShell already enabled, skipping
    12:20:15:Windows feature WindowsStorageManagementService already enabled, skipping
    12:20:41:Windows feature UpdateServices-API already enabled, skipping
    12:23:31:VMMPostinstallProcessor threw an exception: Threw Exception.Type: System.UnauthorizedAccessException, Exception.Message: Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied.
    12:23:31:StackTrace:   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
       at System.IO.StreamWriter..ctor(String path, Boolean append)
       at System.IO.File.AppendText(String path)
       at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(String trace)
       at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(LogLevel level, String trace)
       at Microsoft.VirtualManager.SetupFramework.Trc.Log(LogLevel level, String trace, Object parameter1, Object parameter2, Object parameter3)
       at Microsoft.VirtualManager.SetupFramework.Trc.LogException(LogLevel logLevel, String customMessage, Exception exception)
       at Microsoft.VirtualManager.Setup.DBConfigurator.ExecuteScript(SqlContext ctx, String fileName)
       at Microsoft.VirtualManager.Setup.DBConfigurator.UpgradeDatabaseTables()
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.CreateDB()
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    12:23:31:ProcessInstalls: Running the PostProcessDelegate returned false.
    12:23:31:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    12:23:31:SetProgressScreen: FinishMinorStep.
    12:23:31:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    12:23:31:****************************************************************
    12:23:31:****Starting*RollBack*******************************************
    12:23:31:****************************************************************
    12:23:31:SetProgressScreen: StartMinorStep.
    Mark E. Scott Jr.

    Perhaps relevant, perhaps not. This error shows up right after the above log snippet. I assumed it was an error with the rollback routine, but just in case, here it is:
    12:23:31:SetProgressScreen: StartMinorStep.
    12:23:31:ProcessInstalls: Install Item VMM management server has a Preprocessing delegate of PangaeaServerPreinstallProcessor.  Launching it now.
    12:23:31:GetSqlLoginName: TThe login name for the vmm server service is [DGSLAB\tfs-vmm]
    12:24:49:no HAVMM name detected in DB. Doing VMM Uninstall
    12:24:53:Start setspn.exe parameters  -D SCVMM/tfsvmm1.dgslab.com DGSLAB\tfs-vmm
    12:24:56:Start setspn.exe parameters  -D SCVMM/tfsvmm1 DGSLAB\tfs-vmm
    12:25:00:DBConfigurationHander.SetupAsVMMServerRole() CarmineException : Threw Exception.Type: Microsoft.VirtualManager.Utils.FailedToAcquireLockException, Exception.Message: Unable to perform the job because one or more of the selected objects are locked by
    another job.
    To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
    12:25:00:StackTrace:   at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLockWithRetries(CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLock(CarmineObjectLockType lockType, Boolean doNotWaitForLock)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(RemoteServer server, Guid serverID, Version agentVersion, VersionState agentVersionState, AgentPackageType agentPackageType, Boolean wsManOverSSL, Int32 wsManPort, Nullable`1 complianceStatusID,
    Nullable`1 mostRecentTaskID, Nullable`1 mostRecentTaskUIState, Guid taskID, CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(SqlRow row, Guid serverID, Guid taskID, CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer.<>c__DisplayClass4.<GetInstance>b__3(SqlRow row)
       at Microsoft.VirtualManager.Engine.DbAccessHelper.GetFromCommand[_RetTy,_ColumnsTy](ReadOption readOption, SqlRetryCommand cmd, GetFromCommandWorker`1 worker)
       at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleReadErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo notFoundErrorInfo)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer.GetOne(String computerName, GetFromCommandWorker`1 ctor, ConnectionProperties properties)
       at Microsoft.VirtualManager.Setup.DBConfigurator.SetupAsVMMServerRole(Boolean isAssociate)
    12:25:00:InnerException.Type: Microsoft.VirtualManager.DB.DBCorruptionException, InnerException.Message: Unable to connect to the VMM database because the database is in an inconsistent state.
    Contact an experienced SQL administrator whenever this error occurs. In some cases, it may be necessary to restore the VMM database. If the problem persists, contact Microsoft Help and Support.
    12:25:00:InnerException.StackTrace:   at Microsoft.VirtualManager.DB.SqlRetryCommand.ValidateReturnValue()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
    Mark E. Scott Jr.

  • On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?

    On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?

    I have find the codec installed on my PC do you see an undesirable one I have highlighted the one that seems strange should I uninstall how can I do this safely
    Daniel
    Codecs audio
    Type
    Nom
    Format
    Binaire
    Version
    ACM
    Codec Microsoft IMA ADPCM
    0011
    ACM
    CODEC A-Law et u-Law Microsoft CCITT G.711
    0007
    ACM
    Codec audio Microsoft GSM 6.10
    0031
    ACM
    Codec Microsoft ADPCM
    0002
    ACM
    Fraunhofer IIS MPEG Layer-3 Codec (decode only)
    0055
    ACM
    Convertisseur PCM Microsoft
    0001
    DMO
    WMAudio Decoder DMO
    0160, 0161, 0162, 0163
    WMADMOD.DLL
    6.1.7601.17514
    DMO
    WMAPro over S/PDIF DMO
    0162
    WMADMOD.DLL
    6.1.7601.17514
    DMO
    WMSpeech Decoder DMO
    000A, 000B
    WMSPDMOD.DLL
    6.1.7601.17514
    DMO
    MP3 Decoder DMO
    0055
    mp3dmod.dll
    6.1.7600.16385
    Codecs vidéo
    Type
    Nom
    Format
    Binaire
    Version
    ICM
    Microsoft RLE
    MRLE
    msrle32.dll
    6.1.7601.17514
    ICM
    Microsoft Vidéo 1
    MSVC
    msvidc32.dll
    6.1.7601.17514
    ICM
    Microsoft YUV
    UYVY
    msyuv.dll
    6.1.7601.17514
    ICM
    Codec Intel IYUV
    IYUV
    iyuv_32.dll
    6.1.7601.17514
    ICM
    Toshiba YUV Codec
    Y411
    tsbyuv.dll
    6.1.7601.17514
    ICM
    Codec Cinepak de Radius
    cvid
    iccvid.dll
    1.10.0.13
    DMO
    Mpeg4s Decoder DMO
    mp4s, MP4S, m4s2, M4S2, MP4V, mp4v, XVID, xvid, DIVX, DX50
    mp4sdecd.dll
    6.1.7600.16385
    DMO
    WMV Screen decoder DMO
    MSS1, MSS2
    wmvsdecd.dll
    6.1.7601.17514
    DMO
    WMVideo Decoder DMO
    WMV1, WMV2, WMV3, WMVA, WVC1, WMVP, WVP2
    wmvdecod.dll
    6.1.7601.18221
    DMO
    Mpeg43 Decoder DMO
    mp43, MP43
    mp43decd.dll
    6.1.7600.16385
    DMO
    Mpeg4 Decoder DMO
    MPG4, mpg4, mp42, MP42
    mpg4decd.dll
    6.1.7600.16385
    De : sarika02 
    Envoyé : 17 juin 2014 19:26
    À : Daniel Cloutier
    Objet :  On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
    On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
    created by sarika02 <https://forums.adobe.com/people/sarika02>  in Photoshop Elements - View the full discussion <https://forums.adobe.com/message/6466796#6466796>

  • Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Hi .
    Apple no longer supports Safari for Windows if that's what you are asking >  Apple apparently kills Windows PC support in Safari 6.0
    Microsoft has not written IE for Safari for many years.

  • Is their a way to activate the "find my iphone" app with out having the iphone with you

    is their a way to activate the "find my iphone" app with out having the iphone with you

    how do i activate the lost mode on my "find my iphone" app without reporting it lost?  What do i have to do to activate this app prior to any loss?  [email protected] Thanks, JN

  • Can't open a file with spaces on the filename.

    Lets say I have a file:
    /home/orv/Open - Me - Please.txt
    When I double click to open that file with any program, the result is something like this:
    "Unable to find /home/orv/Open%20-%20Me%20-%20Please.txt"
    I'm not sure what to call that process of converting the file name so I've been unable to google it up to find a fix or a way to change the behavior of the file manager.
    I've checked the settings in Nautilus and nothings there. Any clues? Thank you!
    Last edited by orv (2007-12-14 23:11:59)

    I tried removing everything in my home directory to erase all settings, still the same problem.
    I tried using a different file manager and still the same problem.
    Here's another example of my problem and its quirks:
    Lets say I have a file called:
    /home/orv/I am a Movie.avi
    In nautilus or thunar, double-clicking that file so I can play it with Mplayer will give an error:
    Failed to open file:///home/orv/I%20am%20a%20Movie.avi
    However, when I drag and drop using the file manager into Mplayer, it works.
    So my problem is this automatic conversion of whitespaces into the %20 which I don't know how to turn off.

  • How can i avoid Errors by folders with spaces in the script

    Hello!
    I have written (or better to say gathered) a script which should fix a problem in a network. Let me explain first what it should do.
    Let's say we have a folder named Test with a lot of subfolders, one for each user of the network, which also contain many, many subfolders. The problem is that some user accidentally Drag and Drop subfolder into other subfolder. (E.g. D:\test\userA
    is now in D:\test\UserB\UserA). And the next time User A wants to open his folder: It's gone. I really hope you can follow me because i am a little confused by myself right now. :)
     And here is the thing, a VB Script with Icacls that change the User-Authorization in the first Level of Subfolders, so that they can't Drag and Drop anymore, though they have Full access to the content of the folder. So far my script works as far as
    there a no spaces in the Foldername.
    D:\test\UserA works.
    D:\test\User A doesn't.
    Here is my Script so far (i am german, so pls don't bother on the german names):
    Dim objFSO, strLogFile, objLogFile
    Const ForWriting = 2
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    strLogFile = "D:\dir_log.txt" 'Log File to show what was changes
    If objFSO.FileExists(strLogFile) Then
       set objLogFile = objFSO.OpenTextFile(strLogFile, ForWriting, true)
    Else
       objFSO.CreateTextFile(strLogFile)
       set objLogFile = objFSO.OpenTextFile(strLogFile, ForWriting, true)
    End If
    read_two_subfolders "D:\test",objLogFile, 0 '
    objLogFile.close
    function read_two_subfolders(strFolderPath, objLogFile, intCounter)
    On error Resume Next
    Dim objUnterordner, objFolder
    if intCounter < 1 then 'Number of Subfolderlevel which should be changed
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFolder = objFSO.GetFolder(strFolderPath)
    For each objUnterordner In objFolder.SubFolders
      objLogFile.WriteLine objunterordner.path
      read_two_subfolders objunterordner.path ,objLogFile, intCounter + 1
     Dim strFolder, strUser, strDomain
    strFolder = objunterordner.path
    strUser = "Testuser" 'User or Group
    strDomain = "Testdomain" 'Domain (should be left empty at local domains)
    SetPermissions    
    SetPermissions()   
     Dim intRunError, objShell, objFSOO    
     Set objShell = CreateObject("Wscript.Shell")   
     Set objFSOO = CreateObject("Scripting.FileSystemObject")  
     If objFSOO.FolderExists(strFolder) Then       
      intRunError = objShell.Run("icacls " & strFolder & " /inheritance:r /grant:r " & strDomain &"\" & strUser & ":RX ", 2, True)                
      If intRunError <> 0 Then           
       Wscript.Echo "Error assigning permissions for user" & strUser & " to folder" & strFolder       
      End If   
     Else       
      Wscript.Echo "error: folder" & strFolder & " does not exist."   
     End If
    Next
    End if
    End Function

    Hi LW,
    while I don't always see eye-to-eye with JRV, I really have to agree with him on this: Trying to make this work would probably be an act of futility. I highly recommend trying to learn powershell and do it there. Here are some links to commands that will
    get you started on your problem:
    Get-Help
    Get-Member
    Get-ChildItem
    Get-Acl
    New-AccessRule
    Set-Acl
    For producing something to order, you're best recourse is indeed a consultant however. I'd say this is more of a fish problem: Give a man to fish or teach him how to fish, so I highly recommend learning the skills for yourself. Your own skills will never
    abandon you.
    Cheers and good luck,
    Fred
    There's no place like 127.0.0.1

  • Issue with OracleHelp loading HelpSet with space in file path

    Hi,
    I'm running into an issue where I cannot get OracleHelp to load a HelpSet correctly with RoboHelp contains when the file is in a directory with a file space in it.
    This will load successfully if the path does not contain any white spaces. It looks like oraclehelp may be running into an issue decoding the %20. Any thoughts?
    java.io.FileNotFoundException: C:\temp\qa_relea%20se\windows\data\help\oracl
    e_help_files\HelpTOC.xml (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at oracle.help.engine.DataEngine._getBufferedReader(Unknown Source)
    at oracle.help.engine.XMLTOCEngine.createDataObject(Unknown Source)
    at oracle.help.common.View.getViewData(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.TOCUtils.getTopicTree(Unkno
    wn Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode._creat
    eTopicTreeNodes(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode._reall
    yAddView(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode.addVie
    w(Unknown Source)
    at oracle.help.navigator.tocNavigator.TOCNavigator.addView(Unknown Sourc
    e)
    at oracle.help.Help._createNavigatorForView(Unknown Source)
    at oracle.help.Help._createNavigatorsForBook(Unknown Source)
    at oracle.help.Help.addBook(Unknown Source)

    Hi Experts,
    My concern was Say I delete the requests from the day the data was loaded with thw wrong update rule, I have the data sitting in the PSA and I can reconstruct them. I understand that the data can be corrected in ODS.
    But in the cube, some key figures are there with the update method as 'addition'. So say I delete the content of the cube and reload it from the ODS all over again, wont the key figures get corruipted yet again?
    Also as I was thinking, say we delete the respective request from the cube as well, and reconstruct the data in the ODS. can I fire the delta request again to capture the changed records to be loaded to cube. to be exact will all the data from the date of the data corruption(as I am going to delete the requests from the cube from that day also) will be loaded to the cube?
    Also another thing is will it be a better idea to reconstruct a request in the ODS and run the delta package for the cube.. And go on ..
    Kindly suggest..
    Thanks in advance !!!

  • A workaround to get open documents in different Spaces to the allocated PS space

    A small workaround for Spaces CS5 Mac.
    If you have CS5 documents spread over different Spaces due to clicking them in the finder and want to get them all back in to the allocated PS Space, here's a workaround.
    You do need one doc open in the correct space I'm afraid for it to work. Create a new doc in there if you have to. I tend to leave one small doc open in the right Space all the time now.
    Go to the allocated PS space. Select the menu option "Consolidate all to tabs" from the  Window>Arrange menu.
    This will bring all the open docs from their spaces to the correct space as tabs.
    That might be enough for you but you can't drag adjustments layers and layers with alphas etc to another doc in Tab view, something I do all the time when I'm retouching 20-30 shots and I'm trying to match them.
    Hard to do that with tab view obviously.
    Next select "Float all in windows" and you'll have your docs viewable, side by side in the right space.
    If you assign a key command to those options, it becomes a quick tap 1-2 and you're done.
    As far as I can tell, if you want floating windows, and all your docs in the right place, and don't want to open your images from the PS open dialogue (who does when you have 6 windows of 50 images on your dual 30" monitor setup?) then this will do it.
    It's not great for all things but it's better than "It's all Apple's fault"

    there is certainly no built in way to do it. In fact Dock Spaces is the only program I've ever heard of that allows you to have different docks in different spaces. if it can't do it, it's impossible.

Maybe you are looking for