Hyperlink without adding file extension

I have created a website using iWeb and have several links on it to other files on my computer.  IWeb overrides the text I put in as the link and adds the file extension to it.  I have tried renaming the file without an extension but it is always put back by iWeb.  How can I make sure the file extension is not viewable on the web page?

Highlight the link URL and overwrite it using the Link inspector.

Similar Messages

  • How can I get a filename without the file extension?

    I using a JFileChooser to select and read a file. Now I want to get the filename without the file extension
    JFileChooser j = new JFileChooser;
    String file = j.getSelectedFile.getName();
    At the moment I get this result "file.dat". I need only the filename.....
    Thank you
    Thomas

    It's quite that.
    Here is the code to do that (and the method to get only the extension):
         public String getFileName(String text) {
              int ind = text.lastIndexOf(".");
              if(0<ind && ind<(text.length()-1)) {
                   return text.substring(0, ind);
              return(null);
         public String getFileExtension(String text) {
              int ind = text.lastIndexOf(".");
              if(0<ind && ind<(text.length()-1)) {
                   return text.substring(ind+1).toLowerCase();
              return(null);
         }(I used 0<ind instead of ind>0 because with the code formatting there is a bug with > )
    I hope this helps,
    Denis

  • Download ZIP file without changing file extension

    I regularly download a zipped csv file, of the format: "filename.csv.gz". As the name does not change, Firefox adds a digit to distinguish it, so for example I get "filename.csv-3.gz". This is a pain as it changes the file extension which means that I cannot open the extracted file without first renaming it. I want to keep an archive of all the files, so deleting them each time isn't really an option, and neither is moving them to a different location each time. Is there any way the naming convention for downloads can be changed?

    I think you have to disable it in your Operating system:
    8dot3NameCreation
    [http://support.microsoft.com/kb/121007]

  • Change document type without changing file extension

    I've recently started using Dreamweaver CS3 after nearly a decade on Homesite (which regrettably wouldn't work on my new Windows 7 machine). I like Dreamweaver's code view but find it lacking in some of the flexibility and intelligence that Homesite had.
    Case in point: I work on a rather large site that uses Classic ASP. Most of the site uses .html file extensions, but we have these configured to be processed through the ASP engine. When editing the pages on this site, Dreamweaver sees the .html file extension and assumes they're regular HTML documents, and color codes them accordingly, but it can't figure out ASP comments and code blocks and mangles the color coding. If I try to change the Document Type (in the Application > Server Behaviors panel), Dreamweaver insists on changing the file extension too.
    It appears I can modify Dreamweaver's MMDocumentTypes.xml file so that it thinks .html files are ASP. But I don't want to do this globally for ALL the sites I work on, only for this particular site. It would be really nice if I could change the document type definitions on a per-site basis, or to change the document type for a file without having to change the file extension. Surely I'm not the first person to use non-standard file extensions on webpages. Any ideas on how to fix this?

    I think you have to disable it in your Operating system:
    8dot3NameCreation
    [http://support.microsoft.com/kb/121007]

  • Importing photos without a file extension name?

    I am running Mac Tiger w/ 1.5gig ram. I am using 1.3.1 V Lightroom. I am trying to import 4000 or so .tif photos that I scanned about 8 years ago and did not save the file name as .tif. I am guessing that is why light room will not recognize them and tells me no photos are found when I navigate to the folder. I am hopping someone can tell me how to make this work without having to re-name or add .tif to all of these scans manually? If I can not do this through Lightroom, is there any way in Photoshop to add the .tif file extension automatically?
    Thanks,
    Cathy

    Why not just rename them all? It would only take a second.
    Oh...I don't know how to do it on a Mac, but it's cake on a PC so I assume it is on Mac as well.

  • DOriginalName without the file extension

    Folks
    I'm sorry if I'm posting this in the wrong place, but I'm very much out of my depth.
    The organisation I work for has recently adopted Oracle Content Server to manage its intranet site, and it's fallen to me to work out how to report on my team's content. I'm using the built-in search facility and discovering bits and pieces of coding as I go along. However, I'm stuck with this:
    <$dOriginalName$>
    This gives me filenames with file extensions, whereas I need filenames without file extensions. Does anyone know how to achieve this? For information, both our filenames and our file extensions can be of various lengths, but there will never be more than one '.' (namely the '.' separating the filename from the file extension).
    Many thanks in advance.
    Ed

    Not sure about your requirement. But if you are asking it at database level then
    WITH T1(str) AS(
    SELECT 'ABCD.TXT' FROM DUAL UNION ALL
    SELECT 'CHEF.DISCARD' FROM DUAL)
    SELECT SUBSTR(str,1,INSTR(str,'.')-1) FILE_NAME FROM T1;
    OUTPUT:
    FILE_NAME
    ABCD
    CHEF
    If this is not then post some sample of your data.

  • Quicktime automatically adding file extension?!

    I use Quicktime for all my video playback - so i'm assuming my problem lies with this?
    I do VJing and when I'm downloading video clips (non-mpg4) i.e. avi, flv etc - the downloaded files are adding a '.mpg' extension onto the file - so that it wont playback automatically in quicktime. For example a file downloaded called '1234.avi' ends up in my download/desktop folder as '1234.avi.mpg'?
    The problem means I have to manually alter each file name deleting the .mpg file extension (and confirming each time that I want to change it) - so it will load in quicktime. I'm assuming it may be because I have ticked the box on 'always open this file type with quicktime' - which is what I want, but how do I stop it adding the file extension each time?

    Thanks for your help. I wasn't aware you could disable that alert in the finder? I'll have to look at doing that.
    Whilst I take your comments on board - are you suggesting that Safari (web browser being used) - is adding the file extension on download?

  • Can one lift a file-name without the file.extension in javascript

    I suspect this matter may have come up before but I could not find a thread on it ...
    Anyway: If I grab a filename for later use with
    var thedoc = app.activeDocument
    var docName = thedoc.name
    it picks up the original file-extension too.
    Is there a way to avoid this or to »substract« the extension later on?
    What I want to use that for is for saving multiple flattened CMYK-files from a layered RGB-psd-file into the same folder as the psd-file and appending a letter-combination to signify what printing-conditions they were generated for.
    As Im plenty ignorant in Scripting-matters any help would be appreciated.

    Here I go again:
    Originally I thought I would combine Actions and Scripts into a Droplet but then I got to thinking one Script containing all the operations would be neater.
    However I cant figure out how to write the Color Conversion of the RGB-files to CMYK into the Script.
    In »convertProfile« how do I address the ICC-Profiles and the Intent?
    Once again help would be appreciated, as I simply cant seem to figure it out from the Adobe-documentation on Javascript or a web-search.

  • Adding file extension manulay SSL module on CSS

    Could anyone how can i manually add the file extension(Eg:-.jsF) as this is not by default supported on the firmware version 8.10 or 8.20 release. Hence can anyone tell me to add it manually?
    syntax:url "/*.JSF ---Is this way do i need add the extension?????
    Anyhelp would be greatly appriciated.
    Regards
    Neha.

    Check answers in "Compression on Css 11501"
    G.

  • Is there a shortcut for adding file extensions?

    I have an archive of over 15,000 images, all TIFF, JPEG and Photoshop images. None of them have file extensions. They were saved back when Mac did not use extensions. Now they will not open if I just double click on them... I must add the correct extension, then it opens fine.
    It will take me FOREVER to click on each one, type in the extension, then click "Add".
    Is there a script or shortcut to name all these old files? Or shareware?
    Or at the very LEAST is there a way to turn off that annoying dialog box to confirm that I want to add the extension?
    Thanks, any feedback will be appreciated.

    I have a whole lot of very old graphic files, and thought I would try Kappy's recommendation of Renamer4Mac, combined with a Spotlight search to see how speedily one could add extensions. So did a Spotlight search on a backup folder that contains many and varied sub-folders containing many and various images. To get the old pict files I hit command-F from the top level folder, selected that folder (WHY does search have "This Mac" as the default???), and for Kind I selected Other and typed:
    Adobe Photoshop PICT file
    in the blank field. It returned a list of 961 old pict files. Launched Renamer and told it to insert the text pct, at position 1 from left, suffix only. Then dragged a batch of the files from the search results window into the top pane of the Renamer window, clicked the Rename Files button, et voila'! The files were renamed (and no confirm dialog box).
    To figure out what to put in the Kind:Other field, just do a search on Kind:Images and note the different types. Thus, something that needed the psd extension would be Adobe Photoshop file, to find tifs, it would be TIFF image. You might have some "QuickDraw picture" as an image kind, they are pict files. Plain jpegs can be brought up with Kind: JPEG image, extension jpg. And so on.
    Francine
    Francine
    Schwieder

  • How to find the file type without the file extension using indesign javascript (.jsx)

    hi,
    How to identify the file type (eg: InDesign or Quark) without knowing their file type. How can we find what kind of file is that??? without their extension like ('.indd','.qxd') before import to the document...

    Hi subha_oviya,
    Take a look at the file filtering section in the InDesign CS3 sample script ImageCatalog.jsx to see how to look for file types. I'm assuming that you're using InDesign CS3, and that you're using the Mac OS--you didn't say.
    Thanks,
    Ole

  • How to get mp3s to show in itunes list without adding file or folder

    How do you get downloaded music into the same folder as the itunes library to show up without having to do add folder or file. It seems on the mac they show up but on Windows XP you have to do an individual add of each new folder. The itunes library is on a network share and we download directly into the share. thanks

    You need to do the import/add you mentioned. Doesn't matter if you put where it should go iTunes doesn't know it is there until you tell it.

  • What software do you suggest for adding file extensions

    I need to open files with the extension vip & vp3, unable to do so at present. How can I open these and do I need to get some software?

    Those may be Windows music files. You will need a Windows player most likely. That may mean running Windows on your Mac. To learn more do a Google search of your own.

  • URLs without the file extension showing

    This is just one of those odd things I've never had to do, so have never thought about it - but I've been asked to upload a powerpoint presentation, with a URL of just www.mydomainname.com/powerpointname
    If anyone could let me know how this is done, that would be much appreciated.
    Thanks.

    Try this: name your powerpoint file index.html and put it into a folder (in your site) named powerpointname.
    Ideally, that will default to showing the file without the filename technically showing.
    Here is a link that discusses powerpoint presentations as webpages: http://presentationsoft.about.com/od/nextstepsinpowerpoint/ss/save_as_webpage.htm
    Beth

  • Adding file extensions

    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410&sliceId=2
    The technote listed here does a good job of explaining how to
    add a new file type to Dreamweaver so that it will open the file
    and also render in Design mode... but, I can't seem to drag and
    drop the file onto the DW icon to open it. (I can do this with
    GoLive which I'm switching from). Does someone know of a technote
    or answer to this dilemma? This would be a huge time-saver for me.
    TIA

    This tutorial was written by Greg Rewis for SASS and LESS (CSS).  But the basic procedure should work for any extension you're trying to add.
    http://blog.assortedgarbage.com/2012/03/using-dreamweaver-with-sass-and-less/
    Nancy O.

Maybe you are looking for

  • Logon failed, with some Chinese description

    Dears, We are running the SAP Crystal Reports 2011 client (on a Windows PC) to built reports on DB tables residing on ERP ECC 6.0 EhP5 system, installed on IBM Power System i V7R1. Going through the necessary steps after starting the Crystal Reports

  • Sending Emails in PeopleSoft CRM

    Hi All, I am using below Method for Sending Emails in PeopleSoft CRM. Now i need to add some dynamic info like instead of Dear user in Mail Text,i need to write Dear UserName. Concatenation is an option but for that purpose i have to loop for each us

  • Dc 5750 computer won't boot when restarting

    I have a DC 5750 HP Desktop and I can't get it to boot up to logon screen when selecting restart, it will power down and attemp to reboot but after reading memory I just displays a blank or black screen with no writing or mouse pointer at all.  This

  • Why does compressor need to be connected to internet to work?

    I am using an 8 core macpro with 10.5.2 installed and final cut pro 6.0.3 when I put a job in compressor and try to submit the job, compressor says it has an unknown time remaining , and nothing ever gets done. That is because I have blocked the out

  • FMLEcmd stop stream suddently

    Hi all, i have some FME stream to FMS 3 server. Here are the machine setup : Windows 7 64 Bit Ram 6 GB Capture card  Blackmagic / Avermedia The stream come from camera input, and need to run non stop. the stream is live streaming. The problem is the