Create a folder on the disk

Hi all

How can I create a folder dynamically Disk... I tried with the Host command and it does not work if the folder names are of length 8 characters

That is, this command works fine if: equiry_id is less than or equal eight characters.

host ('mkdir c:\enquiry\' |: enquiry_id, no_screen);

Now my questions are

1. If I change the command c:\enquiry_detail file will not create the new folder.
2. If the value in: enquiry_id is longer than 8 characters, the folder will not be created.

How to solve this problem...?

I'm on oracel 8i / forms 6i

Rgds
Kris

Hello!

^ You have installed an old netware client? ^

Please try to replace it with:

host( 'cmd /C md c:\enquiry\' || :enquiry_id, no_screen );

Concerning

Tags: Oracle Development

Similar Questions

  • I can't see changes in a folder unless I go up a level and then re-enter folder, for example, create new folder, rename the folder, rotate the image etc. Can someone please?

    I do not see changes within a folder, except if I go up a level and then again enter the folder, for example, create new folder, rename the folder, rotate the image, etc..

    By pressing the "F5" key would probably be to refresh the folder.

    See if this article helps you with this problem:

    "List of the files in the Windows Explorer folder is not refreshed after that you create, move, or delete files"
      <>http://support.Microsoft.com/kb/823291 >

    HTH,
    JW

  • Create a folder in the file system

    Quote from the old forum:

    Rohan

    Messages: 12
    Join date: Jun 2008

    Create a folder in the file system
    Posted the: July 4, 2008 06:06
     
    Hi all

    I want to create a folder in the root of the blackberry device file system. Or you can say anywhere in the device file system I want to make a folder through my code. Is it not possible? How should I approach to achieve this?

    Thank you
    -Rohan

    gmay

    Messages: 231
    Join date: Jun 2007

    Re: Create a folder in the file system
    Posted the: July 4, 2008 10:53
     
    To create directories, please see FileConnection.mkdir)

    http://tinyurl.com/63yj23

    Gordon
    BlackBerry developer journal
    www.blackberrydeveloperjournal.com

    Rohan

    Messages: 12
    Join date: Jun 2008

    Re: Create a folder in the file system
    Posted the: July 7, 2008 02:12
     
    Hi Gordon,.

    Thanks for the reply and the link. I've been there. But I don't get the use of FileConnection.mkdir)

    Can you please let me know how extract use mkdir?

    Thank you
    -Rohan

    Rohan
    Messages: 12
    Join date: Jun 2008

    Re: Create a folder in the file system
    Posted the: July 7, 2008 04:00
     
    Hello

    After trying for a while, I get it how to use FileConnection.mkdir () in my code.

    But I am facing a problem here. When the mkdir() is executed, it gives me FileIOException: file system error

    Here is my code that attempts to create a directory called myDir

    try {}
    FileConnection fc = (FileConnection) Connector.open ("file:///store/home/myDir", Connector.READ_WRITE);
    If (! fc.exists ()) {}
    FC.mkdir ();


    }
    } catch (Exception e) {}
    Dialog.Alert (try ());
    }

    I even tried to give the path like 'file:///store/home/myDir/' because I tried to create a directory. But it also gives the same exception.

    Please let me know if I'm doing one any mistake here.

    Thank you
    -Rohan

    Rohan

    Messages: 12
    Join date: Jun 2008

    Re: Create a folder in the file system
    Posted the: July 7, 2008 06:10
     
    Hello

    I think the problem is... BlackBerry does not allow a directory to be created in the folder /store/ the device. Because I am able to create a directory in the directory/SDCard /.

    Is this something that we cannot create a directory in the root directory of the device?

    Rohan

    Messages: 12
    Join date: Jun 2008

    Re: Create a folder in the file system
    Posted the: July 7, 2008 06:17
     
    Hello

    I'm sorry to keep posting here because I'm trying various things in my code and got to know more. But I write as soon as I get a result, so that it can be useful for those who are looking for the same thing.

    I even tried to create a directory in/store/home/user/and it works fine. So that means, we need to create our directories in the directory/store/home/user or/SDCard /.

    Please correct me if I'm wrong.

    Thank you
    -Rohan

    yog123

    Messages: 2
    From: mumbai
    Join date: Apr, 2007

    Re: Create a folder in the file system
    Posted the: July 15, 2008 09:49
     
    Can someone explain this in detail...
    When I tried to create the folder on the memory card or memory in the camera, it gives exception as file system error...
    Is it related to any authorization or specific parameters... ??
    JDE 4.2.1.16
    8100 Simulator...
    Thanks in advance...

    Please make sure that the BlackBerry Simulator has been configured to support a micro SD card.  For this in the BlackBerry JDE by clicking on the menu Edition, by selecting Preferences, by clicking on the Simulator tab, then on the tab memory and filling of the size of the SD card and the SD card image settings.

    Hi yog123,

    The code you mentioned is valid, but I guess you make a small mistake here.

    Whenever you want to create a directory, you should give "/" after the name directory to inside the Connector.open)

    Just put "/" after the directory name "sp" in your code as shown below.

    FileConnection fconn = (FileConnection)Connector.open("file:///SDCard/BlackBerry/pictures/sp/",Connector.READ_WRITE);
    

    Please let us know if you still find no problem.

    Thank you

    -Rohan

  • What is the reason to not create new folder in a disk?

    I use windows OS in my Laptop.When am trying to create a folder in one of the drives is showing an error related to IO operations and blue screen is coming and system get restarted while I was able to create a folder of other readers in my Disk.Can hard someone give me the reason to this?

     We need the logfile itself (called DMP file) because they contain the only record of the sequence of events that led to the accident, what drivers have been loaded, and what has been loaded.
    We prefer at least 2 DMP files to track trends and to confirm the cause.

    Please follow our instructions to find and download the files, we need to help you fix your computer. They can be found at here

    If you have any questions regarding the procedure, please ask


    If you use the blue screen view, which has crashed, or a similar application, don't.  They are wrong at least as often they are correct
  • Firefox creates "desktop" folder on the desktop whenever I have download

    So I just installed Firefox on my new laptop, and whenever I download something, Firefox creates a "Desktop" folder on the desktop and download of the sticks in there. I used to be able to download directly on the desktop, but with this version, I can't. I tried tools > Options > save files to, but whenever I have click on the Browse button and select the location of my desired download (office under the "Favorites" section), Firefox ignores and sets the path as C:\Users\User1\Desktop\Desktop. Is it possible to fix this? It is extremely irritating.

    See if it works for you as it does for me.

    1. Create a new folder on the desktop labeled downloads (or any other name),
    2. Open tools > Options-> general
    3. Downloads, click on the Browse button and select the new downloads folder that you just created.

    Firefox wants a "folder name" for downloads, by specifying the 'bureau' only or won't 'Favorites '. When you try to force the issue, the name of the folder will mimic what the user is trying to specify. In your case, it created the folder "Desktop" on the desktop. Yes, it's different from previous versions of Firefox, but this change took place ago - many versions so it is not really 'new' any longer.

  • Why we cannot create a folder with the name con

    Hello Sir,

    I wan't to know the reason for why we cannot create or rename a folder with the name "con" as the other folder names. But I know that we can create this type of file using cmd.
    Thank you.
    Mihir Mani prasad

    CON is a reserved word and cannot normally be used as a folder name.  This also applies to: PRN, to THE, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

  • Can we create a folder in the internal memory.

    Hi all

    as file / / /: sdcard

    can we create a folder in file:///store...which should visible to the user.

    Try this way

    file:///store/home/user/documents/new_folder/

    Put a slash at the end. It will work

  • Why can't I create a folder on the desktop?

    When I right click on the open space to create a folder isn't there, or am I doing wrong?

    My office is really get crowded because I am not able to create all the folders

    The expired key may point to microsoft office / outlook and not windows, it's me.

    If you click on the Start button and then click on the list of the computer, and then look at the top left, you should see the properties of the system, at the bottom of this page, your product key should be listed for windows, not office well.

    As long as you can now make a folder and move your files now :)

    The right click menu can be altered and other options added as brüse and ronnie described, I do not know how to do this personally, about the options in this area are concerned.

    If the entry that you have given in how to add options to the menu of these two did not work, I tend to think it's a restriction of user account or a standard account with administrator rights.

    Or you do not have administrator account.

  • Error when creating a folder in the business district

    Hi all

    I am trying to create a folder in a business using View.It district gives me the following error.
    View contains no items, the file will not be created.
    Can I know the reason why it generates this error?
    There are elements in EUL and I also checked in the backend as well.

    Thanks in advance
    Kiran

    Hello

    Well, it could be that there are special characters used in the column name or that the user has all privileges to the display.

    If you connect to SQLplus with the same user can DESCRIBE the view? All columns appear correctly?

    Rod West

  • Why can't we create a folder with the name "con" or "prn"? __we can do only by using back!

    I tried this on Xp, Vista and win7 and still the same result
    I can't name a folder with the name "con" or "prn".

    THX

    These are reserved for the console and the printer devices MS-DOS names.  Files or folders that these names does not have the Windows file system. Boulder computer Maven
    Most Microsoft Valuable Professional

  • How to create a folder for the storage of electronic mail in a mailbox?

    How can I create a subfolder in a mailbox to store an email?

    Right click on the mailbox you want to add a folder to, and then select the mailbox from the context menu.

  • create new folder at the same time save as creates an access denied error message

    Create a new worksheet in Excel 2010, and choose File - Save as.  As a folder for this work did not exist, I asked to create a new folder, and then open that folder and named the document.  He then told me that I'm not allowed (access denied).  If I close and file - save as again once I can save.  How can I stop this happening?

    We found the following solution and it seems to work

    -Open the 'File' tab and choose menu command "Options".
    -Open the "Trust Center" and the "Trust Center settings"
    -On the left side, you will find the category "trusted locations".
    -activate the tip box "Allow approved on my network locations.
    -confirm with OK twice, and then restart Excel.
  • Creating a folder in the Finder/Windows by using a PS action

    I need build a hierarchy of folders on the Desktop files and place by using a Photoshop action. for example:

    Name of the Master folder

    -High resolution

    -HR_filename.jpg

    -HR_filename.png

    -Low resolution

    -LR_filename.jpg

    -LR_filename.png

    -Master

    -Master filename.psb

    Using javascript (as it is portable between Mac and Windows), is there a way that simple? Maybe a tutorial? I'm having a time hard to find the right info in the forums - it asks me to start a new post.

    Thank you

    Apparently this works:

    var target is Folder.selectDialog ("choose a target folder");.

    DocName var = app.activeDocument.name.substring (0, app.activeDocument.name.indexOf('.'));

    If (!) ((Folder(target+"/"+"filename"))). Exists)

    {

    new folder (target + "/" + docname) .create ();

    new folder (target + "/" + nomdoc + "/ hi-res") .create ();

    new folder (target + "/" + nomdoc + "/ lo-res") .create ();

    new folder (target + "/" + nomdoc + "/ simplified") .create ();

    }

  • create new folder, but the path does not exist.  That's why I need to create!

    I want to take their existing case files, wallpapers and move them into a new catalog LR, jpg_edits.  In the import window, I left click on the parent, my photos and get 'create a new folder '. After which a new folder creation box opens to display the ms mode my file Explorer and the parent.  But he says to Select a folder, so when I try to type the new name, they tell me the path does not exist.  Which may be the reason I'm trying to create the new folder.  Everything seems to be able to do is to slect the existing folders.  Where is the creation of a new part of catalogue record?

    If I understand the question, you want to create a new destination folder in an existing parent folder. Fix? Once you click the folder parent in the Destination panel (left side of the screen to import), expect the top of the Destination table. You will find two elements here. The first, in the subfolder, allows you to enter the name of the new subfolder to create but it must ensure that the box is checked. Select the check box and enter the name of the file in the text field. Then, select the option in a single folder drop-down organizing. With these options, you will see a new subfolder in the tree under your (grey) selected parent folder. Even once all this is done on the right side of the screen to import.

  • Can I create a folder in the tree diagram that shows only unread messages?

    Currently, I put rules in place to filter messages in several different folders. But I want to be able to read all new messages in the order they are received, regardless of who they are or this folder they have been filtered in. That's why I want a folder to show only unread messages. After that I read them, I don't want to appear in the file not read more.

    I already used this "Unread mail" feature in Microsoft Outlook (to the old job), my new job is using Thunderbird and I would still like to access functionality, if possible in Thunderbird.

    Thanks for any help!

    I use a saved search to do exactly what you ask.

    https://support.Mozilla.org/en-us/KB/using-saved-searches

Maybe you are looking for

  • Two questions, please

    Hello community, 1. I guess, it should be the way to do not change the settings (tempo and so on) by moving the region. Any idea, please. 2. any time I opened instruments they opened as controls after what I had to change the editor in EXS24 or Vienn

  • CVI 2013 does not create an exe

    Hi all! While the 2013 ICB works fine on my desktop computer, on my laptop it does not compile build any exe file. When to use Build > rebuild it just tells me "Cannot copy c:\...\Debug\...exe to c:\...exe. File not found. CVI 2012 on the same machin

  • Change between the Radio presets (can not use left) or right

    I really have to go to "Options > presets" then choose a station whenever I want to go in a "Preset"? Is there a way to avoid this? Rockbox would solve this problem? Thank you very much for your help.

  • Python in Windows 7 installation problems

    Hello. I tried to install the Python on my laptop (Windows 7 Pro) language using the Installer MSI Windows x 86 3.2.2 Python from www.python.org. During the installation, I right click and install as an administrator. The command line works very well

  • Unrecoverable internal error: java.lang.NullPointerException when compiling

    Recently, I changed my code, and when I am compiling it, I got this error: Unrecoverable internal error: java.lang.NullPointerException   Previously, I had met this exception several times, but when running the application in the Simulator. I've trie