CLIENT_HOST('cmd /c MD ' || ' C:\temp') doesn't work  if directory exists

hi,
With Forms 9.0.4 and webutil
Using the next sentence
CLIENT_HOST('cmd /c MD ' || ' C:\temp');
if the directory c:\temp exists, form doesn't respond.

"The Client_Host() function returns the host comand return code" - What kind of function? Where did you find it? I found only the procedure with the same name. In WebUtil.
I have a problem.
I have a code
FUNCTION host_start_iexplore(url in varchar2) RETURN boolean is
     rez boolean:=true;
BEGIN
  Client_Host('cmd /c start iexplore ' || url);
  display_mess('rez = true');
  return true;
  Exception
   when form_trigger_failure then
       rez:=false;
       display_mess('rez = flase. in "form_trigger_failure"');
          return false;
END;However, I have: IE is run correctly, and "Exception when form_trigger_failure" triggered...

Similar Messages

  • Bookmarks lost, restore doesn't work (backup files exist), library empty, power outage this morning, HELP.

    power outage this morning... don't know if Firefox was open
    Now bookmarks gone
    library totally empty
    backup restore yields message: "Unable to process the backup file"
    cannot save new bookmarks

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file
    * http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox

  • Client_host('cmd  edit c:\temp\file_print.txt'); not working with Sun JRE6

    Hi,
    I am working on Oracle forms10g ( 10.1.2.0) with Sun JRE6 (Using JRE version 1.6.0_31-b05) which is working fine. the only problem is, when I use edit command, its not working nor show any error. Command I am using (to display the text file in command window) - client_host('cmd edit c:\temp\file_print.txt'); . the same command working fine if I switch to JInitiator (1.3).
    help would be greatly appreciated.
    Thank you.
    Alok

    In the [webutil] section of the formsweb.cfg, did you change the baseHTMLjinitiator to point to webutiljpi.htm?
    not working nor show any error. Not all errors will be reported through the Forms UI. For java related errors you have to look at the Java Console. Please check the Java Console and post any errors listed there.
    the same command working fine if I switch to JInitiator (1.3).This tells me the problem is most likely a configuration issue. Please list what steps you took to congifure your system to use the JRE over the default Oracle Jinitiator.
    Craig...

  • My Safari shortcut Cmd+Opt+B doesn't work. Please Help.

    Hi fellow MacBook Pro Users,
    My Safari shortcut Cmd+Opt+B, to show and hide all bookmarks doesn't work.  The same shortcut is used in a third party app Scrivener and it doesn't work there too.  I had a look at all my keyboard shortcuts listed in System Preferences>Keyboard>Keyboard Shortcuts and don't see the shortcut listed there.  Also I checked my triggers in Quicksilver and didn't see the Cmd+Opt+B shortcut there too.  Any idea how I can fix this?  Had this issue for a long while now.
    Thanks!

    This issue may be resolved by installing the 10.6.8 v1.1 combo updater.
    Mac OS X 10.6.8 Update Combo v1.1

  • CMD+ any shortcut doesn't work in Safari after upgrading to Yosemite

    After upgrading from Mavericks to OS X Yosemite 10.10 not a single CMD+ shortcut works?!
    For example CMD+tab works (switching between apps), ctrl+tab works (switching between tabs), but none of these work: CMD+W, CMD+Q, CMD+F, CMD+C, CMD+X, CMD+P...
    They all work perfectly fine in all other apps. It's just Safari.
    Does anyone have any idea why and how to fix this?

    I have a similar pb :
    CMD+SHIFT+1,2,3,... doesn't work in safari.
    I'm using "English interface" with "French keyboard".
    following miladc advice and link (Shortcuts not working on Safari and Firefox),
    I changed my Language pref to French ... so I got "French interface" with "French keyboard" ... and it worked once !!!!
    But it works no more ... very weird
    All I want to do, it's having shortcut for my bookmarklet !

  • Timeout when using CLIENT_HOST('cmd /c start/wait winword.exe) in FORMS10g

    Hi, what to do      to prevent loss connection in forms / AS10g / Webutil?
    we have in forms 10g / AS 10g using webutil following command to edit a word-document and save it afterwards:
    CLIENT_HOST('cmd /c start /wait winword.exe '||'"'||pLocal_file_name||'"');
    it works well for a short time of maybe 1 minute,
    but when user works a longer time, the connection to AS-Server is loss.
    what to do to solve problem ?
    it is a Problem in FORMS or in WebUtil ?
    set FORMS_TIMEOUT / higher ?
    if so, where to set it, in the forms-module or in default.DEV of AS ?
    or do i have use enable_redirect_on_timeout, how ?
    Thanks
    Norbert

    Hello,
    use the WEBUTIL_HOST.blocking() function instead as follow:
    Declare
       LC$Cmd     Varchar2(256) ;
       Ret        WEBUTIL_HOST.PROCESS_ID ;
       LN$Result  Pls_Integer ;
       LC$FicName Varchar2(128) := Name_In( ‘BLOB_TABLE.DOC_NAME’ ) ;
    Begin
       LC$Cmd := 'cmd /c start "" /WAIT "' || LC$FicName || '"' ;
       Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
       LN$Result := WEBUTIL_HOST.Get_return_Code( Ret ) ;
    End ;Francois

  • Client_host cmd problem

    Hello.
    I want to open excel file on client. File is on another computer. I open the file with clien_host and cmd. The problem is, that cmd window stays opened.
    I open file like:
    CLIENT_HOST('cmd /c ' || LC$Target);
    LC$Target is like //Linux_comp/dir/file.xls.
    If i run this, excel starts but the cmd window stays on. When i close excel, cmd closes.
    How can i solve this problem?
    If i run file like
    CLIENT_HOST('cmd /c start c:\Dir\Dir\Excel.exe ' || LC$Target);
    cmd window closes after excel is started.
    Why is that?
    I need 1st version, because not every user has the same excel path.
    Any help?
    Thanks.

    Hello,
    with the START() command, there is no need to indicates the path to the program (excel.exe). Just put the file name (.xls) and windows will start the associated programe for you.
    Francois

  • When I use Mail and want to paste an emailadress with a right mouse click in the adres field this doesn't work, ofcourse cmd V  works. How can I solve this

    when I use Mail and want to paste an emailadress with a right mouse click in the adres field this doesn't work, ofcourse cmd V  works. How can I solve this

    YAY!  That did it.
    Thank you so much.
    And a Very Happy and Prosperous New Year to you!
    bonnie

  • How do I permanently delete photos? I am running Yosemite 10.10.2 and have tried shift cmd delete and that doesn't work.

    How do I permanently delete photos? I am running Yosemite 10.10.2 and have tried shift cmd delete and that doesn't work.

    Deleting Photos from an iPhoto Library
    1 - from an Event or the Photos mode: select the photo(s) and use the Delete key to move the photos to the trash bin. Then empty the iPhoto Trash bin as follows:
    2 - from an album, smart album, book, slideshow, card, etc.: select the photo(s) and use the key combination of Command+Option+Delete to move the photos to the trash bin.  Then empty the trash bin as above.
    NOTE: deleting a photo from an album, slideshow, book, etc., with only the Delete key only deletes that photo from that item. Deleting a photo from an Event deletes ALL occurences of that photo in the library.

  • Damaged Aperture Library - ALT CMD doesn't work, because update is starting

    I have a Aperture Library with apr. 30'000 Pictures. I used this library the last time before switching to a new macbook pro and before aperture update(s). If I start aperture and select this library by choosing "other library", the update library screen opens, but the scan after that doesn't do anything. I found some discussions, they say "starting with ALT CMD". But this doesn't work because everytime the update screen is showing up and so, I can't fix the damaged library.
    If I used this library as startup library, I got the message, damaged library (in german defekt) and aperture closes.

    It worked the half way.
    So far, so  good.
    I can rebuild the database and see all the Projects and Folders with their numbers of pictures, but there are no pictures.
    If you see the number of pictures but no thumbnails in the film strip when in Split View, you probably have a filter set. Make sure that all search fields in the Browser and the Library panel are cleared and set to "All items". If that does not help, post back.
    I save my photos not inside the Aperture Database. I have the pictures as jpg and cr2 files on my external Airport disk. Maybe, that's why it didn't work?
    So your Aperture Library is a referenced library and not a managed one? If you see broken arrows on the thumbnails of your images once you reveal them again by clearing the filters, you have to to tell Aperture the location of your master files and reattach the masters. Select the images in a project, and from the Aperture main menu select "File" -> "Locate Referenced Files"

  • IPhoto running really slow - alt cmd doesn't work, restart neither, library has about 2000 photos

    I already tried all options when starting iphoto with alt and cmd pressed - doesn't work
    I restarted my mac - doesn't work
    I clicked "repair" and "verify" disk in "disk utilities" - doesn't work
    My iphoto library has about 2000 pictures, I have a macbook air 11' and the latest version of iphoto. The problem first came up when i imported pictures directly to iphoto from my digicam - iphoto kept on shutting down unexpectedly. Alt+cmd worked then, I rebuilt the library. Since then iphoto is running slow. I cannot even scroll down or up without waiting and getting a beachball.
    Please help me - I have no idea what to do!
    Thank you very much!

    How much free space do you have on your boot drive?
    Give this a go:
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, 
    navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.
    OT

  • HT201240 Cmd+s doesn't work on my macbook pro zly0q

    I have a macbook pro z0lyq. I forgot my password. Cmd + s doesn't work. I have not got mac dvd. When i try cmd + r, mac is want pwd again.

    If cmd+r asks for a password, it may well be that a firmware password is set.
    With Lion models, you'll have to take it to an authorised Apple Repairer to get it reset.

  • Filter Web Template with URL Cmd: doesn't work with compound infoobject ?

    Hello all,
    I've to filter the query contained on a web template with URL command, but it doesn't work.
    The web template contains only one query, and on the free chars I have 0PLANT.
    I call the web template adding to the normal url the following command:
    &FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
    where 33 is the code of the plant I want to filter.
    The command is executed, I think, because the  result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
    May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
    Thank's in advance,
    Max

    Hi,
    please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
    especially:
    If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
    If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
    and
    In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
    Heike

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • [T410s] Lenovo Software doesn't work for me

    Hi,
    System:
    - T410s 2912 W69, (8 GB RAM)
    - Windows 7 Prof. 64bit
    The following software is installed on my system: Office Prof. Plus 2010 (64bit), SQL Server 2008 R2 (64bit), Visual Studio Ultimate 2010, Sybase Powerdesigner 15.2, Adobe Reader 9 and Kaspersky IS 2011.
    Since some days nearly the whole Lenovo Software doesn't work. The only exception is System Update 4.
    When I try to start e.g. Lenovo Toolbox I get the error message "ThinkVantage Toolbox doesn't work...". A View into the Windows solution center offers the following message:
    Beschreibung
    Stopped working
    Pfad der fehlerhaften Anwendung: C:\Program Files\PC-Doctor\pcdrcui.exe
    Problemereignisame: CLR20r3
    Problemsignatur 01: pcdrcui.exe
    Problemsignatur 02: 6.0.5692.7
    Problemsignatur 03: 4c87004b
    Problemsignatur 04: PresentationCore
    Problemsignatur 05: 3.0.0.0
    Problemsignatur 06: 4b594d40
    Problemsignatur 07: 5017
    Problemsignatur 08: 0
    Problemsignatur 09: System.TypeInitialization
    Betriebsystemversion: 6.1.7600.2.0.0.256.48
    Gebietsschema-ID: 1031
    The same problems occured in starting e.g. the lenovo power manager, the fingerprint reader etc. and the graphics properties window (gfxui.exe)
    Beschreibung
    Stopped working
    Pfad der fehlerhaften Anwendung: C:\Windows\System32\GfxUI.exe
    Problemereignisame: CLR20r3
    Problemsignatur 01: gfxui.exe
    Problemsignatur 02: 8.15.10.2154
    Problemsignatur 03: 4c2053e7
    Problemsignatur 04: PresentationCore
    Problemsignatur 05: 3.0.0.0
    Problemsignatur 06: 4b594d40
    Problemsignatur 07: 5017
    Problemsignatur 08: 0
    Problemsignatur 09: System.TypeInitialization
    Betriebsystemversion: 6.1.7600.2.0.0.256.48
    Gebietsschema-ID: 1031
    I also try to reinstall the ThinkVantage Toolbox via http://web.lenovothinkvantagetoolbox.com/index.html. The installation fails with the following protocol:
    Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
    Ausnahmetext
    System.UnauthorizedAccessException: Der Zugriff auf den Pfad "full_5692_08_64_00.exe" wurde verweigert.
       bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
       bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
       bei appupdater.utility.ProcessLauncherManager.DeleteFiles(String exePath)
       bei appupdater.utility.ProcessLauncherManager.LaunchProcess(String exePath, Boolean bWaitForExit, Int32 sleepInMilliSeconds, String buildID)
       bei appupdater.formcontrols.download.DownloadProgressFooter.LaunchInstall()
       bei appupdater.controllers.UIBuildIDManager.NotifiyDownloadDelegate.Invoke(Boolean bFlag)
       bei appupdater.controllers.UIBuildIDManager.UpdateDownloadComplete(String buildID, String saveFileName, DownloadStates state)
       bei appupdater.utility.DownloadLargeFile.m_webClient_DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)
    Geladene Assemblys
    mscorlib
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.4952 (win7RTMGDR.050727-4900).
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
    mscorlib.resources
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.4952 (win7RTMGDR.050727-4900).
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
    appupdater
        Assembly-Version: 1.0.5551.3.
        Win32-Version: 1.0.5551.03.
        CodeBase: file:///C:/Users/STEPHA~1/AppData/Local/Temp/nsk41D2.tmp/appupdater.exe.
    System.Windows.Forms
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    System
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    System.Drawing
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    System.Configuration
        Assembly-Version: 2.0.0.0.
    The rest of the software mentioned above works great and fast. Only the Lenovo software doesn't work. This is rather annoying, because I can't change e.g. important property values in the power manager.
    I've deinstalled and installed (manually) again graphics driver as well as the troubleshooting software without success.
    What shell I do now?
    Regards
    Dorian
    Moderator edit:  Title adjusted to better reflect message content

    Dorian,
    You found me! Thanks for the logs. They confirmed what I was suspecting: a font problem is causing any application built on Windows Presentation Foundation (WPF) to crash. Based on our research there are two potential issues. The fixes are pretty easy.
    One or more of your installed fonts does not have a proper date/time
    The Registry may have some invalid font path entries
    To Detect and Fix the Font Invalid/Missing Date Problem
    Open an elevated command prompt (CMD.EXE) and navigate to C:\Windows\Fonts\
    Save a font listing to your desktop with the command:  DIR *.* /tw /od > %USERPROFILE%\desktop\fontlist.txt
     3. Open fontlist.txt with notepad.
      4. Remove any fonts with a missing or invalid date (January 1, 1601 for example). Easiest way to do this is by opening Windows Explorer, going to the fonts folder (C:\Windows\Fonts\), and removing the offending fonts.
     5. Open LTT or one of the other TVTs to see if the problem is solved. If not, continue with the next section.
    To Detect and Fix the Font Registry Problem
    WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. I cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk!
    Open the Registry Editor (REGEDIT.EXE)
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
    Scan the "Data" column for each font looking for any illegal path characters
    If any are found, remove the offending characters. Here are some blogs that may offer additional insight: http://code.logos.com/blog/2009/11/how_to_crash_every_wpf_application.html and http://alissonsol.blogspot.com/2009/02/when-wpf-applications-dont-start.html
    Let me know how it goes.
    Stephen Streufert
    Senior Product Marketing Manager
    PC-Doctor, Inc.
    http://www.lenovothinkvantagetoolbox.com

Maybe you are looking for

  • Update of BP General Data during creation of BP

    Hi, I am currently using BADI ADDRESS_CHECK to perform an external check in a 3rd party application using XI to check if the customer name/address is flagged as a "denied party". This works fine and returns the correct response if the check finds a d

  • One wifi spot my iPhone connects to wifi but not internet. All other devices connect to internet.

    My iPhone connects to wifi just fine. When it does it connects to the internet just fine except in one location. My house. My MacBook Pro, my wife's iPhone and her iPad get on the internet there just fine. My Iphone's IP address it begins with a 10.

  • Create inquiry without material being created

    Dear All, Issue is regarding creation of inquiry, when material not being created. Requirement is like at inquiry level customer may / may not know the material available, initially customer may not be aware of the products available but they want to

  • How to identify which process in process chain executes in Batch and Dialog

    Hi, We want to identify which processes in process chain is running in Batch mode or Dialog mode. Is there any where we can identify this from any table or transaction. (Eg Loading, DTP loading, Attribute change run, deletion of index, deletion of ov

  • I cannot choose "undo" command anymore.

    I have Mavericks and the latest update to Final Cut Pro X.  I noticed a few weeks ago that I can no longer "Undo" a command.  Does anyone know a workaround for this?  Is it a Mavericks problem? Also, When FCPX crashes, it doesn't save the last state