Filename with "." as last character

When I use "Write to Text File" with a path ending with "." (e.g. "test.") I get an error at runtime with LV8.20. I have never seen this in older versions and can't think of a good reason why that should create an error.
I know that this is not "good practice" but since ISO-9660 allows any amount of dots in filenames this should not trigger an error. Bug or feature?
-DB

Knowing that something is good or bad practice does not mean:
1. my dumb user knows the good proctice
2. my code knows it.
In my case I have been using a function in an older version of LV where I promt the user for a filename and create 2 files with different "pre-extensions"
(eg: test.dat is converted into test_time.dat and test_fft.dat)
For this I used the OpenG-Strip Extension function, changed the filename-root and appended "." + extension.
Now, if the user chooses fielname=test (w/o extension) my function returns "test_time."
A workaround for this is easy, of course. Bt in older versions that used to work fine. Just another thing to think about when upgrading to LV8.x
And, while I'm at it: When the OS starts fiddling with my filenames it gives me the creeps.
Just imagine you create a file and use the same filename to delete it later. But in the meantime, magic magic, Windows decides to change the name. That's like changing the wheels on your car while driving.
I know, I can still use references...
pincpanter: I forgot to specify the OS. It seems to be a WIN-only problem. on LV8.0 / Linux you can use the dot anywhere.
-DB

Similar Messages

  • Applescript: How to reference to a filename with forward slash character?

    Hi,
    I have this script line:
    do shell script "lpadmin -p CIN-East-Copier -E -v lpd://192.168.51.78 -P '/Library/Printers/PPDs/Contents/Resources/LANIER MP C5501/LD655C'"
    The filename is "LANIER MP C5501/LD655C", the forward slash in the name is a character, not a folder structure.
    The script above works perfectly for drivers without the forward character.  Can anyone help me how to make it work?  I tried replacing the forward slash with URL encoded character, changing the structure to colon delimited (i.e. Macintosh HD:Library:Printers....etc), none work.
    Thanks!

    Since the / is the standard directory delimiter, it is not usually valid in a filename. It's extremely unusual to find such a character in a filename. However, all is not lost... there is a trick.
    Since the standard Mac OS paths used colon-delimited paths, and UNIX uses slash-delimited, there is a kind of hybrid solution... you can use the colon in the shell and it interprets as a slash, e.g.:
    do shell script "lpadmin -p CIN-East-Copier -E -v lpd://192.168.51.78 -P '/Library/Printers/PPDs/Contents/Resources/LANIER MP C5501:LD655C'"
    I haven't tried it, but you might need to escape (with a backslash) the colon:
    do shell script "lpadmin -p CIN-East-Copier -E -v lpd://192.168.51.78 -P '/Library/Printers/PPDs/Contents/Resources/LANIER MP C5501\\:LD655C'"

  • When Using [OLE DB] driver some arabic text appear with cutting last character

    hi
    i have a problem in crystal report when bilding report using using [OLE DB] driver some arabic text appear with cutting the last one or tow characters
    note: i'm using VBasic 6.0 , RDC and crystal report viewer

    I thought I'd post an update to this since I've narrowed down the problem.
    It turns out this is NOT a bug in Apple's Java implementation, but in the AAT rendering engine. In any application, if a user changes the style of part of an Arabic string, it breaks the font connection. I have been informed though that this has already been fixed, and should be functional when Leopard is released. ALL applications that use AAT suffer from this problem, not just Java.

  • Last Character In Crystal Report cut off when ran via BO web interface

    I created a report in Crystal and uploaded it to the Business Objects Web Interface.
    On my detail row, the last character is getting cut off regardless of the length of the text.  Even short words like "Yes" are losing the last character, and appearing as "Ye", and there is plenty of room available between the right margin.
    The column header extends out further with no issues.
    Does anyone have a solution for this?

    Hi Dean,
    Try with this:
    Go to the following registry sub key:
    HKEY_USERS\[your security profile]\Software\Crystal Decisions\10.2\Crystal Reports\Export\Pdf
    Right-click the sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
    Regards,
    Shweta

  • How can I stop the last character of my password from being displayed?

    Sorry, I'm sure this would have been asked before, but I couldn't locate it..
    When unlocking my iPad, how can I stop it from displaying the last character of my password to everyone in the vicinity? This has got to be the fastest way to find out someone's password (just look at the screen as they type their 'secure' password!?). Having the iPad display your password letter by letter is really not acceptable when working in a non-secure environment.
    Is there a setting somewhere, or will this be addressed in a new iOS, or just ignored as a 'that's the way it is'?
    Thanks in advance,
    Andy

    AdventureBear wrote:
    Hi,
    This may have been the way it has been on iOS since 2008 (not sure about that though), however I know (based on working in the IT industry for 20 years) that nobody on this planet can successfully argue that it would be 'acceptable security practice', for me to display 'every last letter' as I type of a secure 'root' password on my screen every day when you log in... Nobody would think it acceptable to display even their LAN/Domain password on the screen in this same manner. So why is iOS different?!
    iOS on a phone (it used to be argued) doesn't need to be very secure as it is almost entirely phone numbers and email addresses that are being stored. However in recent years when the applications got better, and tablets came out, security became a much bigger issue as more and more people started using the functions of 'smart' phones to store more 'sensitive' data.
    Kind regards,
    Andy
    Are you suggesting that someone looking over your shoulder can't see the keys that you're tapping with your fingers? In the interest of security, i would never, under any circumstances, enter a password when others are around.

  • Language:  Filename with characters for arabic turns question mark

    Language: Filename with characters for arabic turns question mark
    OS: Solaris 9
    Machine: Sun-Fire 25K
    There is an adobe distiller software that is configured and a java apps. There are postscript files that are being converted to .pdf format using the adobe distiller. Using the GUI (using the Exceed; for remote access), when they use GUI to convert the postscripts to pdf files, the long filenames have the corresponding characters for arabic reading purpose. This is OK.
    When we use the windows RUN to telnet the server and convert the postscripts to pdf, it gives a question marks characters in the filenames ( this; is a sample; filename; ?? ??? ??; right.pdf )
    We are not sure now if we have to add a package of arabic or a patch to resolve this problem.
    Message was edited by:
    yurioira32
    Message was edited by:
    yurioira32

    Solution found, I'll post the work around to those who might encounter the same problem.
    Somewhere in the layers of technology (webwork or weblogic I'd guess), the servlet response is encoded into UTF-8 regardless. The encoding in the database was ISO-8859-1. Sending ISO encoded bytes by UTF-8 caused the conflicting character codes (anything above 127) to show up as undefined.
    The fix is to decode the input byte array into ISO-8859 string, then encode that string into UTF-8, which can be send by Weblogic.
    isoConvert = new String(buf, "ISO-8859-1");
    out.write(isoConvert.getBytes("UTF-8"), 0, isoConvert.getBytes("UTF-8").length);

  • Filenames with non-latin characters aren't found by the filesystem [S]

    This might be a bug, but I'm hoping it's just a config file problem.
    I have a few files here and there on my NTFS drive that have Japanese characters in their filenames.  Sometime recently (I don't have an exact date when they disappeared), they stopped showing up at all.  If I browse to a folder that used to contain filenames with Japanese characters, it just appears empty in Gnome.  Using ls from a terminal also says the directory is empty.  They used to work just fine, but a recent upgrade must have broken them.
    Does anyone have any ideas what I can do to get my files to appear again?  Is there some way to enable unicode support for filenames or something?
    Many thanks!
    Edit: Rebooting the system fixed it, though I still think that was a pretty strange problem.  Any ideas what was up?
    Last edited by ColdPie (2007-11-11 02:07:11)

    The funny thing is that bold font [when message unread in message list] shows OK, ie in greek, but when i click on unread message, it is assumed to have been read, so it changes over to medium [non bold] and the encoding changes as well into the one that is not greek and thus unreadable.  In ~/.sylpheed/sylpheedrc the fonts are:
    widget_font=
    message_font=-microsoft-sylfaenarm-medium-r-normal-*-*-160-*-*-p-*-iso8859-7
    normal_font=-monotype-arial-medium-r-normal-*-12-*-*-*-*-*-iso8859-7
    bold_font=-monotype-arial-bold-r-normal-*-12-*-*-*-*-*-iso8859-7
    small_font=-monotype-arial-medium-r-normal-*-12-*-*-*-*-*-iso8859-7
    In /etc/gtk, for gtk1.2 apps the file refering to greek encoding [el] seems to be fine [exactly the same as in slackware 9.1].

  • Filename with Umlaut in cfexecute outputFile attribute

    Hi,
    I'm running CF10 on SLES11 (Linux) and am experiencing a problem when using Filenames with German umlaut characters (ä,ü,ü etc.) for the outputFile attribute. These filenames are mangled in the Linux filesystem, e.g. "Anästhesie" becomes "An?sthesie".
    Same thing happens when umlaut characters are used with "cffile action='write'" in the file attribute, so it is not an option to write the output of cfexecute into a variable and then write the content of that variable to a file using the cffile tag.
    I'm pretty sure this is a character set encoding problem, but don't know how to solve it. AFAIK, CF10 uses UTF-8 encoding by default, the filesystem uses ISO-8859-15. How can I make CF store the correct filename in the filesystem?
    The filenames are the result of a database query and should remain unchanged so the database reference isn't broken. I'd prefer not having to resort to converting the filenames to pure ASCII (e.g. ä -> ae)
    before passing them as outputFile attribute.
    Regards, Richard

    hi dany,
    actually i escaped the url-string already, not by abap but by the javascript function escape(). but this seems not to work correctly (on ie6), so i changed it to a call of encodeURIComponent(), now it works.
    thanks,
    norbert

  • Character mode report cuts off last character on a line

    Reports 9i, Windows 2003 Server. Printing character mode reports to IBM 6400 printer. I have a variable text column (multi line) and randomly the last character on a line gets cutoff. I'm using Courier 10 as my font. It is only 1 character that ever cuts cutoff. Any ideas? I'm desperate.
    Tom

    Hi,
    change the reports height& width for landscape /portait.
    and go to edit margin in layout.
    see the layout and move to left if it has lot of gap in left side.
    we can get correct output if the right side border is upto 8.2.
    try with this.
    --Basava.s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Filenames with unicode characters

    Hello, I have a question regarding filenames with unicode characters on an arabic windows xp.
    I have a string, which the user entered and want to create a file with this string as filename. So my question:
    Which unicode characters are allowed in a filename? I know, that on a german windows " / \ * ? < > : * are not allowed from the ASCII set, but which unicode chars are allowed? Is this language dependend on windows? Maybe there exists a method, which checks a string for this allowed characters.
    Thanks for your help

    AFAIK the illegal characters are always the same (you listed them already) and as long as the filesystem supports it (read: you use NTFS and not FAT) you may use any other unicode character.
    You might have troubles displaying those characters 'though if you don't happen to have the correct fonts installed, but that would only be a cosmetic issue.

  • Select from table where last character in string is numeric

    Hello,
    I have a table STREETS with a field called ADDRESS. I would like to select all records from streets where the last character in Address is a number.
    Select ADDRESS from STREETS where regexp_like(substr(address, ?,?,), '[0-9]');
    --? means that I don't know what to put in here!
    I'm not sure if substr is the best approach for this, since i only want the last character and the records are of varying lengths.
    Thanks!

    Hi,
    If you want to use regular expressions:
    WHERE     REGEXP_LIKE ( address
                  , '[0-9]$'
                  )You can get the same results, probably more efficiently, without regular expressions:
    WHERE     INSTR ( '0123456789'
               , SUBSTR (address, -1)
               )     > 0

  • Open Table In Spreadsheet dropping last character

    I am using Adobe Acrobat Professional 7.0. When I export a table using the "Open Table In Spreadsheet" or do a cut and paste, the table pastes with the formatting retained, but the last character in each field is replaced with a question mark in a black diamond. Doesn't matter if it is numeric or text. I am using Microsoft Office XP. Does anyone else ever have this problem?

    Hi CtDave,
    Thanks for the reply.
    So a Tagged PDF would export better than an untagged PDF?
    It seems if you have an untagged PDF then you can't export well until Adobe X gets here.  Any idea when Adobe X will be available?
    I referenced this page http://www.planetpdf.com/enterprise/article.asp?ContentID=6067 to give myself an idea about tagged PDFs.

  • Hostname, missing last character

    hi,
    I installed the Oracle 9iAS R2 Infrastructure to an XP machine. The installation done without errors, but when I'm trying to see the MyPage, the link puts me to wrong page (the same error is occures with some other pages too).
    My host is pamoas. The AS works on the pamoas:7777.
    When I goes to the pamoas:7777/oiddas/ and choose the MyPage, the link drops me to the pamoas:7777/oiddas/ui/oracle/ldap/das/mypage/viewmypage.
    This page drops me to the pamoa:7777/pls/orasso/orasso.wwsso_app_admin.ls.login.
    This is a wrong link. When I expans the "pamoa" with the missing "s", it shows the needed login page with an unexpected error (WWC-414000).
    It is the third installation with different names, and there is always the missing last character problem.
    Could help somebody, why the last character is missing, and how can I solve this problem?
    Thanks.
    Robert.

    it is mostly in the IPTC Field:
    "Copyright Notice"
    if somebody has a possibility to forward that one to apple that would be great (unless we are the only people having this problem)

  • Change Filenames with blank spaces in the Filename

    I want to change many filenames with blank spaces and replace
    blank spaces with underbar character.
    Example:
    File One change to File_One
    File Two change to File_Two
    Here is my script:
    for file in `ls`
    do
    i=`ls -1 *" "*`
    b=`ls -1 *" "* | sed -e s/\ /_/g`
    done
    mv "$i" $b
    Please advise what is wrong with my script that isnt
    working. The script works if I only have one filename
    with a blank space. But if I have several filenames
    with blank spaces in the name then it doesnt work.

    I want to change many filenames with blank spaces and replace
    blank spaces with underbar character.
    Example:
    File One change to File_One
    File Two change to File_Two
    Here is my script:
    for file in `ls`
    do
    i=`ls -1 *" "*`
    b=`ls -1 *" "* | sed -e s/\ /_/g`
    done
    mv "$i" $b
    Please advise what is wrong with my script that isnt
    working. The script works if I only have one filename
    with a blank space. But if I have several filenames
    with blank spaces in the name then it doesnt work.

  • How we can find the last character in a string(Urgent Plz!)

    Gurus!
    How we can find the last character in a string.
    e.g i have a string say "Str" with value "10-01".
    Now i want to find the last character in "Str" i.e "ONE=1".
    i am using Oracle developer 6i with Oracle 8i(1.7).
    Plz help!
    Many thanks!

    Use the substr() and length() functions -
    x := '10-01';
    y := substr(x, length(x));

  • Checking last character

    What would you consider being the best way to check the last character of a string?
    var folderPath = '~/Desktop/Test';
    if (folderPath[folderPath.length - 1] !== '/') { folderPath += '/'; }
      or
    if (folderPath.slice(-1) !== '/') { folderPath += '/'; }
    I see that changePath() can also be used to keep track of this path separator.
    Thanks.

    Hi Hans,
    I was trying to come up with a function to move a folder and it's contents, or a file... similar to how the OS X Finder would do it.  However, I just noticed when the files are copied over, they're not the same file size as the original which makes me think it's stripping resource forks, etc.  :-(
    I'm looking now at using doScript and running ditto from the command-line with applescript.  Here's the code I was working with earlier though:
    function moveItem(oldPath, newPath) {
        newPath = newPath.toString();
        //if (newPath[newPath.length - 1] !== '/') { newPath += '/'; }
        if (newPath.slice(-1) !== '/') { newPath += '/'; }
        var oldPathType = oldPath.constructor.name;
        if (oldPathType === 'Folder') {
            newPath += (oldPath.name + '/');
            with (Folder(newPath)) {
                if (! exists) { create(); }
            for each (var i in oldPath.getFiles()) {
                if (i.constructor.name === 'Folder') {
                    moveItem(i, newPath);
                } else {
                    i.copy(newPath + i.name);
                    i.remove();
            oldPath.remove();
        } else if (oldPathType === 'File') {
            oldPath.copy(newPath + oldPath.name);
            oldPath.remove();
        } else {
            throw 'Problem moving file/folder!';

Maybe you are looking for

  • Column in select change changes results

    I am seeing quite strange behavior in one of my databases. I am running a fairly large query. when i put one particular column in the select it returns no data. select * returns the correct rows (with this column populated) as does selecting other fi

  • How to configure reload interval on dashboard

    Hi, I am using dashboards to monitor status and availability. The dashboard page is being refreshed every 5 min. Is there any way to change the refresh interval? Furthermore after a period of time I get this message: "Auto reload is disabled. Please

  • AppleTV home sharing, I can't see my itunes match songs

    I am using a new Apple TV. I set up home sharing, but I am unable to see my itunes match songs. I used my wifes itunes account for the apple TV. I am using my account for the home sharing. I have an itunes match account with a large library. I though

  • Safari 5.1 issues, on Mac OS X v10.7 Lion

    Okay well everytime I'm on a website that has MEEBO IM chatting, the page never finishes loading.. The loading sign up at the tab keeps showing that it's loading, and on the page itself, it says the URL of the site.. and How much it has completed loa

  • Internet setup using modem cable

    Hi Please help trying to setup internet via cable using assistant but option is gryed out, please guys new to this thanks