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.

Tags: Windows

Similar Questions

  • 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

  • Cannot find a process with the name 'perl '.

    Hey all,.

    Tryign to configure the script in my dev environment and I receive the email ok, but does not get the report attached to the email... Here are the keys error I get with executing the script on the computer Windows 7 using PowerCLI 5.0... Thoughts?

    ___________________________________________________________________________

    Get-Process: cannot find a process with the name 'perl '. Process audit na
    me and call the cmdlet again.
    C:\scripts\report.ps1:3 char: 18
    + $pp = get-process < < < < perl
    + CategoryInfo: ObjectNotFound: (perl:String) [Get-Process], Pro
    cessCommandException
    + FullyQualifiedErrorId: NoProcessFoundForGivenName, Microsoft.PowerShell.
    Commands.GetProcessCommand

    You can not call a method on a null value expression.
    C:\scripts\report.ps1:4 tank: 16
    + $pp.waitforexit < < < <)
    + CategoryInfo: InvalidOperation: (waitforexit:String)], Runti
    meException
    + FullyQualifiedErrorId: InvokeMethodOnNull

    New-Object: Exception calling ".ctor' with '1' or the arguments:"Could not find fi.
    the "C:\scripts\vmware_health_check20110912.html". »
    C:\scripts\report.ps1:8 char: 18
    + $att = new-object < < < < Net.Mail.Attachment ($file)
    + CategoryInfo: InvalidOperation: (:)) [New-Object], MethodInvoca)
    tionException
    + FullyQualifiedErrorId: ConstructorInvokedThrowException, Microsoft.Power
    Shell.Commands.NewObjectCommand

    Exception by calling 'Add' with '1' arguments: "value cannot be null."
    ' Parameter name: agenda.
    C:\scripts\report.ps1:14 char: 21
    + $msg. Attachments.Add < < < < ($att)
    + CategoryInfo: NotSpecified: (:)) [], MethodInvocationException)
    + FullyQualifiedErrorId: DotNetMethodException

    You can not call a method on a null value expression.
    C:\scripts\report.ps1:16 char: 13
    + $att. Have < < < <)
    + CategoryInfo: InvalidOperation: (available: String) [], RuntimeEx
    reception
    + FullyQualifiedErrorId: InvokeMethodOnNull

    Remove-Item: can not find the path "C:\scripts\vmware_health_check20110912.html" be
    cause, that there is not.
    C:\scripts\report.ps1:17 tank: 12
    + Remove-Item < < < < C:\scripts\vmware_health_check$dt.html
    + CategoryInfo: ObjectNotFound: (C:\scripts\vmwa...ck20110912.ht
    ml:String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId: PathNotFound, Microsoft.PowerShell.Commands.Remov
    eItemCommand

    The script uses the Perl API and not the PowerShell.  So the last SDK Perl install and be sure that your backup script as *.pl rather than *.ps1

    Concerning
    Joerg

  • srvrmgr syntax: How can I create subsystem named with the name and Description of the values?

    Looking through the library, he did discuss are of syntax that allows you to include the value of name and the named value of the Description of a subsystem/Profile Configuration.  In the screenshot, the circled values were created with the server online order Manager.

    NamedSubsystems.gif

    On the other hand, pouvez create a definition of the element with a name (full name) and a Description.

    For CompDef, it works:
    create the CompDefTest1_enu component definition for the type of component AppObjMgr component fins group run mode interactive full name 'Test Comp Def Test 1' description 'Test 1 CompDef Manager object.

    For named Subsytem, it does NOT work:
    create named subsystem Test5 subsystem EAITransportDataHandlingSubsys full name 'Test 5' description 'Test 5 Description'

    Someone can tell me if there is a good for a named subsystem, syntax to include the name and Description of the values in the command line, or is the only way to create it manually in the UI?

    Hello

    I spent reviewing aid to create the order in srvrmgr, it does not give the full name and description as parameters for the creation of subsystem. However, as you noted these settings are available for creating components definition:

    srvrmgr > help to create

    Create {component group | compgrp}

    [full name: ]

    [{description | desc} ]

    create {definition component: compdef}

    for {component type | comptype}

    {Component group | compgrp}

    run in mode {batch | interactive | background}

    [full name: ]

    [{description | desc} ]

    [with [ param =[, =...]]]

    [[fixparam =[,...]]]

    create the subsystem named for

    subsystem with = [,...]

    Shelf also has an example of creation of subsystem that doesn't include no description, name and first name:

    http://docs.Oracle.com/CD/E14004_01/books/StoreFwdMsg/StoreFwdMsg_InstallConfig14.html#wp1351472

    In this case I suggest that allows you to create a ticket on My Oracle Support to confirm this srvrmgr does not support the creation of a new subsystem with the full name and description settings and request an enhancement for these settings include request in create statement for new subsystems when using srvrmgr.

    It will be useful,

    WSiebel

  • create new tab with the name of the pass and the data type of the tab &amp; ranks on the b tab

    Hello

    I'm really struggling with this.
    Have two tables A and B
    A is a table with columns, tag_label, tag_colmn code
    -------------------------------------------------------------
    CODE | TAG_LABEL | TAG_COLMN_NAME
    -----------------------------------------------------------
    023. Registration | CHAR_TAG1
    023. Contract number | NUM_TAG1
    023. Agency | NUM_TAG2

    B is an operating table with code, CHAR_TAG1, CHAR_TAG2, NUM_TAG1, NUM_TAG2...
    ----------------------------------------------------------------------------------------------------------------------------
    CODE | CHAR_TAG1 | CHAR_TAG2 | NUM_TAG1 | NUM_TAG2......
    ----------------------------------------------------------------------------------------------------------------------------
    023. 420/09 | -- || 100023 | 1002
    021 | -- || 400030 | -- || --
    023. 450/10 | -- || 100025 | --


    I need to create a dynamic new table or view C from these two with
    ----------------------------------------------------------------------------------------------------------------------------
    CODE | REGISTRATION | CONTRACT NUMBER | AGENCY NUMBER
    ----------------------------------------------------------------------------------------------------------------------------
    023. 420/09 | 100023 | 1002
    023. 450/10 | 100025 | --

    That's when my Jdeveloper, I will be able to get a view with table C object.
    If you see C, there new column names, derived from the Tag_label of the table A column names and the lines are filled with the values from table B corresponding to the tag_column_name of the column of table A

    Is it possible to do so. This is very important because it is the main part of my project and I'm stuck on this.

    Kind regards.

    Published by: user10264958 on August 21, 2010 22:28

    Try this:

    CREATE OR REPLACE PROCEDURE MAKE_VIEW
    IS
        L_SQL VARCHAR2(32767);
    
        TYPE A_TAB_TYP IS TABLE OF A%ROWTYPE;
        A_TAB A_TAB_TYP;
    
        L_COMMA varchar2(10);
    BEGIN
        SELECT * BULK COLLECT INTO A_TAB FROM A;
        IF SQL%NOTFOUND THEN
            RAISE_APPLICATION_ERROR( -20999, ' Table A is empty ' );
        END IF;
        L_SQL := 'CREATE OR REPLACE VIEW C AS SELECT';
    
        L_COMMA := ' ';
        FOR I IN A_TAB.FIRST .. A_TAB.LAST
        LOOP
            L_SQL := L_SQL || L_COMMA;
            L_SQL := L_SQL || A_TAB( I ).TAG_COLMN_NAME ||
                  ' "' || A_TAB( I ).TAG_LABEL || '" ';
            L_COMMA := ',';
        END LOOP;
        L_SQL := L_SQL || ' FROM B WHERE ';
    
        L_COMMA := ' ';
        FOR I IN A_TAB.FIRST .. A_TAB.LAST
        LOOP
            L_SQL := L_SQL || L_COMMA;
            L_SQL := L_SQL || A_TAB( I ).TAG_COLMN_NAME ||
                  ' IS NOT NULL ';
            L_COMMA := ' OR ';
        END LOOP;
        EXECUTE IMMEDIATE L_SQL;
    END MAKE_VIEW;
    
    DROP VIEW C;
    EXECUTE MAKE_VIEW;
    
    SELECT * FROM C;
    
     DROP VIEW C succeeded.
    anonymous block completed
    Registration AGREEMENT NUMBER       Agency
    ------------ ---------------------- ----------------------
     420/09      100023                 1002
    450/10       100025                                        
    
  • Create a folder with subfolders named structure

    I have a script that creates a project with a series of subfolders folder:

    The first step is to

    Tell application "Finder".

    text returned jobFolder value (display dialog "enter a working folder name:" default of answer "XYZ123 Customer_Project")

    This opens a dialog box where I enter the name of the project and client etc. This creates a folder with the same specific name.

    It then creates a folder in the call of the output files

    make new folder to the newfo to the properties {name: "output files}

    In the output files folder it then creates a folder with the same name as the name of the original folder "XYZ123 customer Name_Project" (or whatever it is I named it at the initial stage.)

    make new folder at the exit with properties {name: jobFolder}

    I'd like to create this folder with {name: jobFolder} + name of the printer

    for example;

    XYZ123 client Name_Project PRINTER_A

    XYZ123 client Name_Project PRINTER_ B

    XYZ123 client Name_Project PRINTER_ C

    Is this possible? Tips appreciated.

    Use the following code:

    make new folder at the exit with properties {name: jobFolder & 'PRINTER_A'}

    (138871)

  • Stack the images in layers with the name of the layer

    Hello

    One allows to stack several images in layers of a particular folder with the name of the layer.

    Example:

    I have 3 layers, and each layer is referred to as a1, a2, and a3. I need a script to take a1 file from a folder (to office) and places it in the layer of a1 and the same need to repeat for the rest.

    So I'll get image layer a1 a1, a2 image layer in a2...

    Thanks in advance

    Does that help?

    replace the layers of a certain name with

    2014, use it at your own risk.

    #target "photoshop - 70.032»

    If (app.documents.length > 0) {}

    Download the file;

    Var folder = Folder.selectDialog ("select folder");

    If (Folder) {var uses = theFolder.getFiles (/ \.)} (jpg) | TIF | EPS | {(psd) / $i)};

    var theseFiles = new Array;

    for (var n = 0; n)< thefiles.length;="" n++)="">

    theseFiles.push ([uses [n].name.match (/(.*)-.)]) [ ^\.] (+_$/) [1], theFiles [n]])

    };

    Here are the files;

    If (theseFiles.length > 0) {app.activeDocument.suspendHistory ("replace", "main()")};

    };

    ////////////////////////////////////

    int main() {}

    the file;

    var originalUnits = app.preferences.rulerUnits;

    app.preferences.rulerUnits = Units.PIXELS;

    myDocument var = app.activeDocument;

    get the number of layers;

    Var ref = new ActionReference();

    ref.putEnumerated (charIDToTypeID ("Dcmn"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    var applicationDesc = executeActionGet (ref);

    var number = applicationDesc.getInteger (stringIDToTypeID ("numberOfLayers"));

    treat the layers;

    var theLayers = new Array;

    for (var m = 0; m<= thenumber;="" m++)="">

    try {}

    Var ref = new ActionReference();

    ref.putIndex (charIDToTypeID ("Lyr"), m);

    var layerDesc = executeActionGet (ref);

    var layerSet is typeIDToStringID (layerDesc.getEnumerationValue (stringIDToTypeID ("layerSection")));.

    isBackground var = layerDesc.getBoolean (stringIDToTypeID ('background'));

    If the layer group not collect values;

    If (layerSet! = "layerSectionEnd" & layerSet! = "layerSectionStart" & isBackground! = true) {}

    theName var = layerDesc.getString (stringIDToTypeID ('name'));

    theID var = layerDesc.getInteger (stringIDToTypeID ('layerID'));

    theLayers.push ([theName, theID])

    / * If (theName == searchName) {}

    var boundsDesc = layerDesc.getObjectValue (stringIDToTypeID ('bounds'));

    Top var = boundsDesc.getUnitDoubleValue (stringIDToTypeID ('top'));

    var theLeft = boundsDesc.getUnitDoubleValue (stringIDToTypeID ('left'));

    var theWidth = boundsDesc.getUnitDoubleValue (stringIDToTypeID ('width'));

    var theHeight = boundsDesc.getUnitDoubleValue (stringIDToTypeID ('height'));

    Var Center = [theLeft theWidth/2, Top + theHeight/2];

    selectLayerByIndex (m, false);

    theArray.push ([myDocument.activeLayer, Center, theWidth, theHeight])

    };*/

    };

    }

    catch (e) {};

    };

    ////////////////////////////////////

    for (var o = 0; o)< thelayers.length;="" o++)="">

    var thisLayer = theLayers [o];

    for (variety p = 0; p)< thesefiles.length;="" p++)="">

    {If (theseFiles [p] [0] == {thisLayer [0]})}

    selectLayerByID(thisLayer[1],false);

    var removeLayer = myDocument.activeLayer;

    var theBounds = removeLayer.bounds;

    var theSO = placeScaleRotateFile (theseFiles [p] [1], 0, 0, 100, 100, 0);

    If (Number(theBounds[0]) == 0 & Number(theBounds[2]) == 0) {}

    else {removeLayer.remove ;})

    }

    }

    };

    restoration;

    app.preferences.rulerUnits = originalUnits;

    };

    by mike hale, through paul riggott.

    http://forums.Adobe.com/message/1944754#1944754

    function selectLayerByIndex (index, add) {}

    Add = undefined? Add = false: Add

    Var ref = new ActionReference();

    ref.putIndex (charIDToTypeID ("Lyr"), index);

    var / / desc = new ActionDescriptor();

    desc.putReference (charIDToTypeID ("null"), ref);

    If (Add) desc.putEnumerated (stringIDToTypeID ("selectionModifier"), stringIDToTypeID ("selectionModifierType"), stringIDToTypeID ("addToSelection'));

    desc.putBoolean (charIDToTypeID ("MKV"), false);

    try {}

    executeAction (charIDToTypeID ("slct"), desc, DialogModes.NO);

    } catch (e) {}

    Alert (e.message);

    }

    };

    based on the code from mike hale, through paul riggott.

    function selectLayerByID (id, add) {}

    Add = undefined? Add = false: Add

    Var ref = new ActionReference();

    ref.putIdentifier (charIDToTypeID ("Lyr"), id);

    var / / desc = new ActionDescriptor();

    desc.putReference (charIDToTypeID ("null"), ref);

    If (Add) desc.putEnumerated (stringIDToTypeID ("selectionModifier"), stringIDToTypeID ("selectionModifierType"), stringIDToTypeID ("addToSelection'));

    desc.putBoolean (charIDToTypeID ("MKV"), false);

    try {}

    executeAction (charIDToTypeID ("slct"), desc, DialogModes.NO);

    } catch (e) {}

    Alert (e.message);

    }

    };

    place.

    function placeScaleRotateFile (file, x_offset, decalage_y, theXScale, theYScale, theAngle) {}

    // =======================================================

    var idPlc = charIDToTypeID ("Plc");

    var desc5 = new ActionDescriptor();

    var idnull = charIDToTypeID ("null");

    Desc5.putPath (idnull, new (file));

    var idFTcs = charIDToTypeID ("CIE");

    var idQCSt = charIDToTypeID ("QCSt");

    var idQcsa = charIDToTypeID ("Qcsa");

    Desc5.putEnumerated (idFTcs, idQCSt, idQcsa);

    var idOfst = charIDToTypeID ("Ofst");

    var desc6 = new ActionDescriptor();

    var idHrzn = charIDToTypeID ("Hrzn");

    var idPxl = charIDToTypeID ("#Pxl");

    desc6.putUnitDouble (idHrzn, idPxl, x_offset);

    var idVrtc = charIDToTypeID ("Vrtc");

    var idPxl = charIDToTypeID ("#Pxl");

    desc6.putUnitDouble (idVrtc, idPxl, decalage_y);

    var idOfst = charIDToTypeID ("Ofst");

    Desc5.putObject (idOfst, idOfst, desc6);

    var idWdth = charIDToTypeID ("Wdth");

    var idPrc = charIDToTypeID ("#Prc");

    Desc5.putUnitDouble (idWdth, idPrc, theYScale);

    var idHght = charIDToTypeID ("Hght");

    var idPrc = charIDToTypeID ("#Prc");

    Desc5.putUnitDouble (idHght, idPrc, theXScale);

    var idAngl = charIDToTypeID ("Marko");

    Bryan var = charIDToTypeID ("#Ang");

    Desc5.putUnitDouble (idAngl, Bryan, theAngle);

    var idLnkd = charIDToTypeID ("Lnkd");

    Desc5.putBoolean (idLnkd, true);

    executeAction (idPlc, desc5, DialogModes.NO);

    Return app.activeDocument.activeLayer;

    };

  • My Hotmail has recently begun to generate drafts and get into my project folder with the title 'unknown '? Someone knows why?

    WINDOWS HOTMAIL

    My Hotmail has recently begun to generate drafts and get into my project folder with the title 'unknown '?  Someone knows why?

    Any Hotmail questions belong to http://windowslivehelp.com/product.aspx?productid=1

  • Cannot create a folder. Win 7 64 bit.

    Cannot create a folder. Have a 64-bit Windows 7 system. Unable to create a folder on an external drive or on the C drive? When you press the button NEW FILE, it does nothing. If I right click on a drive and select NEW, everything that can be created is a Briefcase. If anyone can help with this question? Thanks Jim B.

    You have installed chrome? It is an update of Chrome, (mid), is responsible. Here are two patches.

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html

    If still no joy, see the 'response' by Linda Yan in this thread.
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf/#99395761-56de-4a76-8C2A-eab498ad735a

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.

  • Cannot create an instance of the java virtual machine

    Hi when I try to launch my sql developer get this error

    Cannot create an instance of the java virtual machine located in the path C:\Program Files\Java\jdk1.6.0_38\jre\bin\client\jvm.dll, but I do not have the file in the location

    I'm trying to do

    BI CHAOS: SQL Developer: cannot create an instance of the Virtual Machine Java

    Cannot create an instance of the Virtual Machine Java

    but am not able to locate file product.conf in my machine

    OK, we lost time because you said never explicitly release of SQL Developer in use, and then, when I deduced this wrong, you went right with it, rather than correct me.  Remember the line from Blade Runner when Harrison Ford hits Rutger Hauer in the head with a pipe?  Than hurt!

    Anyway, since the last post (because of the osgi references in the file ide.conf) I see that you are using a version 4.0.x of SQL Developer.  You must update the file product.conf with the smallest Xmx value in order to create an instance of the JVM.  If you have not yet found the product.conf file on your system, this might help: http://www.thatjeffsmith.com/archive/2013/12/oracle-sql-developer-4-windows-and-the-jdk/

    Otherwise, ask someone in your organization COMPUTER help - keep in mind that AppData is one of those hidden Windows directories, so you'll have to tell explore to make it visible by the organize > Folder Options > view > hidden files and folders parameters.  In addition, you should use Java 7, not Java 6 - try to get that upgrade to the latest version of jdk1.7.0_xx (currently 60, I think).  Since you never said if your JDK is 32-bit or 64-bit, I can not say to use an AddVMOption, Add32VMOption or Add64VMOption.

    Best wishes

    Gary

    Post edited by: Gary Graham

  • 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

  • System Restore cannot create restore, point because the "shadow copy provider had an unexpected error." What can I do?

    Have a Dell Inspiron 1545 with Vista.  System Restore cannot create restore, point because the "shadow copy provider had an unexpected error."   What can I do?

    Hi JamesParwulski,

    Method 1
    I suggest you to scan SFC.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7.
    http://support.Microsoft.com/kb/929833

    Method 2
    I suggest you perform a checkdisk.

    Check your hard drive for errors
    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

  • Is it possible to synchronize the copied file in the local folder with the original file in the network?

    Hello

    I copied a file from the shared network folder and it is really important document, so I need to use this file as a file off the local drive connection and backup as well just in case where the cause accidental, but I don't want to save it each time and don't want to use the original file in the network.

    Is it possible to automatically synchronize the copied file in the local folder with the original file in the network?

    Thank you

    Absolutely without interruption would require a program to write that monitors files on the file locks and triggers a sync as soon as he sees a change.  So, since we cannot just write a program, the best thing is either:

    (1) an icon on your desktop that you can click each time you want to synchronize "synchronize my files now.

    or

    (2) plan the "my sync files' to run automatically every x minutes.  It could be a batch script that checks to see if the file is more recent and copies only files that have changed.  Although perhaps a little aggressive, you could plan this thing check-and-copy-a batch file - again to run every 60 seconds.

    Batch files allow you to control the operations very directly, but Microsoft has also made a (not supported) tool called SyncToy who does all the same things, but has a graphical interface to select your options. It can be programmed to run automatically on a schedule.

  • 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

  • Why we cannot create more than one primary key on a table. Why we create several unique key on a table. Please explain if anyone have details of this.

    Why we cannot create more than one primary key on a table. Why we create several unique key on a table. Please explain if anyone have details of this.

    «a primary key has semantic meaning, it is to be immutable (never change of value), unique and not null.»

    a unique constraint is simply "at any time, these values are unique - they can change and they can be null.

    You use a unique when constraint

    (a) you do not already have a primary key for a table can have only one
    (b) you allow NULL values in attributes
    "(c) to allow you to update the values in the attributes.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:5541352100346689891

Maybe you are looking for

  • I have a desktop Mac OS 10.2.8 which is the latest Firefox to download?

    I have a desktop Mac OS 10.2.8 which is the latest Firefox to download? Jaguar's later I can load on my Mac. I use it only to get/send mail Yahoo. What is the latest version, I use and where I can get it. Right now am running Mozilla Firefox 2.0.0.20

  • text screen control?

    Hello! Can someone walk me thought that the function of the text screen control?  I totally forgot how to add text to a patch Tried looking in aid of MainStage, but may not know Very appreciated Best regards

  • Cannot detect the webcam

    Hello, I have been using this machine for the past three years on Skype and video chat worked well. All of a sudden it says it cannot detect a webcam (its a webcam integrated), but I have used other sites to make sure that it works. I have closed Sky

  • I want to read a file calibration data

    I have a few calibration to experience data. There are 14 channels, and the data is organized in columns of a spreadsheet 14 lines x 4, where each column is a different constant of an equation of the form y = b1 + b2.x1 + b3.x2 + b4.x1.x2, per channe

  • C5280

    My HP Photosmart C5280 All in one has started giving me a message that says I must be connected to a computer before it will scan. I know that I'm connected, I can print the e-mail. Now, I do not have the ability to scan to peak. My only options are