File name end with *

Hi ,
While working with files i found that a new file is always ends with "*"
i.e
suppose if my file name is abc.txt
then my solris box displays it as abc.txt*.
It is creating problem while creating and reading files.
Please suggest , how can i get away with this "*" .
Thanks

(Not sure what the relation is to the compiler, maybe ask on opensolaris instead?)
KabhiNahin wrote:
While working with files i found that a new file is always ends with "*"Created how?
i.e
suppose if my file name is abc.txt
then my solris box displays it as abc.txt*.Displayed how?
If you create files with execution permission, "ls" is often configured to print it with a trailing '*', just like it adds / for a directory, @ for a symlink, etc. man ls to disable it.
It is creating problem while creating and reading files.What problem when you read the files how? It is hard to answer a question without some information...

Similar Messages

  • LR3 bug: Files from a folder with name ending with "." (dot) cannot be imported

    This is a weird one Surprisingly, directories with names ending with a dot, don't show in the Import dialog and also cannot imported by using synchronization. So, if you have any folder named "Flowers, trees etc." ... you cannot import it.

    And what happens if you delete the dot at the end of the folder name?

  • Package name ending with .java

    Hi,
    I have some trouble with a package name ending with "fragments.java". When I use 'packagenames' javadoc complains when it reaches that package.
    I'm guessing javadoc thinks it's a source file and tries to parse it as such.
    I have found a workaround by using 'subpackages' instead of 'packagenames' but I want it work with ant, which doesn't support the subpackages flag.
    Is there a way to get around this?
    - Henrik

    Not at all.
    Assume that there is a package called something.smthing.java
    Then this won't work:
    <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
    packagenames="something.*"/>
    It will give the following error message because it thinks it is a source file:
    [javadoc] Loading source file something.smthing.java...
    [javadoc] error: cannot read: something.smthing.java
    So, you can get around that by doing like this instead:
    <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
    packagenames="something"
    additionalparam="-subpackages something"/>
    Which gives the -subpackages option to javadoc.

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • What are the files that ends with ~?

    I started to see files appearing that ends with ~. Are they temporary files? Will they ever go away or do I have to manually delete them?
    Thanks!

    What did you find out?
    What does it say about ull name, owner, path, etc.?
    List those here, thanks.

  • How to know a line of text file is ending with line feed or return?

    hi all, i have a program that read log file that generated by other service (apache http server for example), i want to know that each line is ending with "\r", "\n" or "\r\n" so i can skip them in the next time, like this:
    int char_counter=0;
    BufferedReader reader = new BufferedReader(new FileReader(logFileName));
    while((line=reader.readLine())!=null){
           char_counter+=line.length()+x_value;
    }and the next time read the log file, i will skip all the lines that read in previous time.
    BufferedReader reader = new BufferedReader(new FileReader(logFileName));
    reader.skip(char_counter);
    while((line=reader.readLine())!=null){
           char_counter+=line.length()+x_value;
    }with x_value is 1 or 2 depended on line end with "\n" or "\r\n".
    so, how to know which is the char line ending with?
    Edited by: secmask on Feb 21, 2009 5:46 AM

    Alright, the BufferedReader method readLine() reads all text until it finds a \n character. And then next time you call it it will automatically continue from where it left out.
    try this out it should show it as an example
    import java.io.*;
    public class readLineTest {
        static FileOutputStream filename;
        static BufferedReader input;
        public static void main(String[] args)
            try
                filename = new FileOutputStream("logFile.txt", false);
            catch (IOException e)
                //blank
            PrintStream output = new PrintStream(filename);
            output.println("this is the first line");
            output.println("this is the second line");
            output.println("this is the third line");
            try
                input = new BufferedReader(new FileReader("logFile.txt"));
            catch(IOException e)
                //blank
            for(int i = 0; i < 3; i++)
                try
                    System.out.println(input.readLine());
                catch(IOException e)
                    //blank
    }

  • File name generation with sequence number

    Hi All,
    My scenario is, File to File.  I need to generate the filenames at the target side like File1.xml, File2.xml..File9999.xml for each file triggered from source system. The interface tiggesrs multiple times in a day.
    For example, for the first time, 5 files triggered, need to generate File1.xml,File2.xml..File5.xml. After some time the interface might trigger with 10 files, then need to generate files as File6.xml,File7.xml....File15.xml . Once the file count reaches 9999 then need to generate the files from  1 (File1.xml)again.
    Could you please suggest me the possible solutions. For this any Lookups required?
    Regards,
    Praveen Kumar

    Hi Praveen,
    Case 1: If a field in source data carries the information regarding the sequence.
                 You can map this value ( Directly .. or using some transformation ) in some temporary field in the target and then use a Variable substitution at the receiver communication channel.
    Case 2. If the source file name carries the sequence information. then you can enable the Adapter specific settings in the Sender communication channel , and then get the information of the source file name using the Container object in the mapping. Then assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
    Case 3 : If Case 1 and Case 2 are not applicable ... then you have to use a  Ztable  to store the sequence number , a function module to fetch the number , and then use a UDF  in which you will implement the  RFC call logic.Then the same process ....      assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
    BR,
    Sushil.

  • File name substitution with Data pump

    Hi,
    I'm experimenting with Oracle data pump export, 10.2 on Windows 2003 Server.
    On my current export scripts, I am able to create the dump file name dynamically.
    This name includes the database name, date, and time such as the
    following : exp_testdb_01192005_1105.dmp.
    When I try to do the same thing with data pump, it doesn't work. Has anyone
    had success with this. Thanks.
    ed lewis

    Hi Ed
    This is an example for your issue:
    [oracle@dbservertest backups]$ expdp gsmtest/gsm directory=dpdir dumpfile=exp_testdb_01192005_1105.dmp tables=ban_banco
    Export: Release 10.2.0.1.0 - Production on Thursday, 19 January, 2006 12:23:55
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "GSMTEST"."SYS_EXPORT_TABLE_01": gsmtest/******** directory=dpdir dumpfile=exp_testdb_01192005_1105.dmp tables=ban_banco
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 64 KB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "GSMTEST"."BAN_BANCO" 7.718 KB 9 rows
    Master table "GSMTEST"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    Dump file set for GSMTEST.SYS_EXPORT_TABLE_01 is:
    /megadata/clona/exp_testdb_01192005_1105.dmp
    Job "GSMTEST"."SYS_EXPORT_TABLE_01" successfully completed at 12:24:18
    This work OK.
    Regards,
    Wilson

  • Refinement Panel show "file name" values with question mark instead of spaces

    Hi,
    I customized Refinement Panel to refine by file name. In some cases the value (file name) is shown with question mark instead of space. It looks like gibberish and the refine by that value doesn't bring the result.
    Any ideas how to solve?
    keren tsur

    Hi Keren,
    Please try to reset index in Central Administration > Application Management > Manage service applications > click the Search service application > Crawling > Index Reset > check the box Deactivate search
    alerts during reset > Reset Now > Ok.
    Then restart a full crawl in the Central Administration > Application Management > Manage service applications > click the Search service application > Crawling > Content Sources.
    In addition, please capture a screenshot of the issue.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Report file name error with Chinese Date format

    Hello,
    I am seeing an error at
    step Write UUT report in the standard model files.  This step is
    calling the API method save on the object Runstate.Report.
    The issue occurs on computers using chinese localization with the date in the report file name.
    Is this a known issue?  Is there a way to modify the filename before calling the above method to eliminate the problem?
    Solved!
    Go to Solution.

    An Error Message is attached. 
    WE have seen this on both Vista and XP.  We are using TestStand version 4.1.1.  I am not sure about the localization, but I have seen this on computers from Taiwan, Korea and Japan.  
    If I put a breakpoint in the Model file at the Write UUT Report Step, you can see Chinese Characters in the time portion of the file name.
    If you change the report name to not include the time and date, the error does not occur.
    We have seen this with ASCII and xml.  With XML, the error also occurs at the step "Add Root Tags to XML Report"
    Attachments:
    FileNameError.JPG ‏134 KB

  • SQLLoader: Uploading data file name along with data

    I am using Oracle SQLLoader to upload my data from CSV files into a single table. My current CTL file is as follows:
    LOAD DATA
    INFILE 'trace_metals100.csv'
    INFILE 'trace_metals101.csv'
    APPEND
    INTO TABLE TRACE_METALS
    FIELDS TERMINATED BY ','
    (STATION_NO, METAL_NAME, METAL_WT)
    Just for my record I want to upload the data file name also along with the data into a fourth column. How should I do it using SQLLoader??
    Regards,
    Moiz

    Do two loads using two separate control files:
    LOAD DATA
    INFILE 'trace_metals100.csv'
    APPEND
    INTO TABLE trace_metals
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (station_no,
    metal_name,
    metal_wt,
    fourth_column_name CONSTANT trace_metals100.csv)
    LOAD DATA
    INFILE 'trace_metals101.csv'
    APPEND
    INTO TABLE trace_metals
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (station_no,
    metal_name,
    metal_wt,
    fourth_column_name CONSTANT trace_metals101.csv)

  • File name issues with Relocated Masters

    I am relocating Master Images from my Managed Aperture Library on my internal disk to a Referenced Library on an external hard drive. Everything in my efforts has run smoothly, except the names of the files that are showing up in my referenced folders on the external drive.
    I am setting a folder hierarchy, and this is working fine. For the file names, I am choosing the Version Name. This is where I am having a problem. Only some of the images are relocating with the Version Name. The others are relocating with the Master File Name instead.
    Why won't my images transfer over with the names that I am instructing Aperture to transfer them as?

    How are you connecting to the server? Using Windows file sharing with an "smb" connection? Or does the server have file services for Macintosh enabled so you're connecting with an "afp" address? Do you see these file names in the Finder? Or are you seeing it the open/save dialog boxes in your Adobe programs?
    We have lots of Macs at the office (most have 10.4.x but we're moving to 10.5.x) and we share Adobe files from Windows 2003 servers without a problem seeing the correct file names. So, I don't think you should have a problem like that.
    -Doug

  • File name replaced with Tilde (~), name already exists error

    When exporting jpg files in Lightroom 4 I've recently had an issue with some of the files containing a tilde (~), the 43rd file in the series often gets it as well as a few others. So in the series one might be named 43-MA~1.jpg instead of the 43-Maegan-details.jpg that I originally named the file.
    When I've tried to rename these files from the finder I get the error "name already exists". If I rename it to something totally different it works but if I then try to rename it the original filename I wanted it gives me the error again or reverts to the name with the ~.
    I'm running 10.6.8, and the problem has been happening the past few weeks but I've never had the problem before. I can't figure out what is causing the problem and it's not every export but it's a huge hassle to try and rename the files.

    This is the one error message that I have gotten in years with Encore. In my case, I had created a Project to be used as a "template," and had done the layout, Imported the common Assets, and then used this as the basis for a 17 DVD set, just Importing the unique Assets to each. Everything went perfectly, until disc 15. Maybe I was sloppy, as I had just completed 14 such Projects that day, but when I went to Build, I got that error. I tried un-Linking and re-Linking Assets, and checked all Menus. Nothing - just that error. Flushed Media Cache, and only the error. I posted here, with the details and asking for ideas.
    In the meantime, I just grabbed my "template" Project and Imported those same, unique Assets. Used my altered Menus from bad Project and did my linking, exactly (or so I thought) as I had just done. This time, the Build was successful and # 15 thru 17 went without a hitch.
    I had Saved that bad Project, and several folk offered suggestions. I tried them all, but never could get it to Build. I always got that error. I finally gave up testing and chalked it up to OE on my part, but I never figured out what I had done wrong, as I really thought that it was by the numbers.
    Based on my experience, I would just start a new Project, being careful in the workflow. That was the only thing that worked for me.
    Good luck,
    Hunt

  • Tectra A10 - writing to file server ends with BSOD

    Hi
    I have a brand new Tectra A10 that I have used the recovery disk to restore the machine to XP Pro - I have done this process many times before.
    I have addred the machine to our Domain but whenever I try to write to our file server (Windows Server 2008) I get the blue screen.
    Writing to an old 32 bit Server is fine.
    I have made sure that the NIC Card driver is upto date.
    Any Ideas
    Thanks
    Lew

    Hi buddy,
    I personally believe, that everything is ok with your notebook and its related to server or network this BSOD.
    I mean you can write to a 32bit server properly and I believe other network connections work fine so its a problem of the new server.
    As Barrie wrote, if you use the notebook in your company ask the local network administrator. Maybe its a known issue.

  • How to keep file name formatted?

    I need to generate  .xlsx file as reporting purpose without renamed for
    example :- File names end with YYYYMMDD format for the day they are generated.
    Is that possible I can set up that kind of job? 

    see
    http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for