I would like to open an .htm file from the command line using firefox. Firefox responds by trying to open a URL (adding WWW to front of file name)

firefox is located on unix box and I would like to use it to open report generated. After script creats report I would like to call firefox to read report. "firefox report.htm"

I have solved this problem. All I needed was to follow firefox with the filename

Similar Messages

  • HT1918 I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem

    I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem

    You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.

  • HT4436 I have a laptop Mac and an IPad, and would like to transfer pictures, videos, etc from the ipad to the Mac but not from the Mac to the IPad, how can I set up the iCloud in both devises to do so?

    I have a laptop Mac and an Ipad, and would like to transfer pictures, videos, etc from the ipad to the Mac but not from the Mac to the Ipad, how can I set up the iCloud in both devises to do so?

    Welcome to the Apple Community.
    Your best method would be to connect via USB and transfer that way, since videos are not transferred using photostream.
    However you can stop photos on your mac being added to photostream in the iPhoto preferences > photostream by unchecking the automatic upload box.

  • Run javascript (not in a jsx file) from the command line extendscript

    Hi all,
    I was wondering if anyone knew how to run javascript from the command line in Extendscript (meaning Extendscript would be the target application). I know about the -run command line flag in which allows you to run a .jsx script from the command line but what I'm looking for similar syntax to run a script directly without needing to put it in a file. For example I have tried (obviously unsuccessfully):
    C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\ExtendScript Toolkit.exe -run "alert('Hello World');"
    Thanks!

    You might be looking for something like this: javascript - Is it possible to execute JSX scripts from outside ExtendScript? - Stack Overflow
    Although that one is about executing JSX files, the solutions given (Applescript as well as COM/VBScript) can be adapted to simply run a javascript code snippet rather than JSX file because the solutions simply call the Adobe app's Applescript/COM API to "execute javascript" (actually execute ExtendScript technically), and in the solution, they using includes to pull in the JSX file. You'd simply replace the include with actual javascript code snippet inserted in.
    Though this would then require you to run a VBScript, Applescript, or other script (that calls the COM/Applescript API) rather than the ESTK command line option.

  • Compress/zip files from the command line in Windows 7?

    In Windows 7 is there a native way to compress or zip files from the command line?  I'd like to do it without installing any third-party utilities such as 7Zip.

    I fully agree that Compact is not the answer. There are additional concerns with the Compact command. It enables disk compression which is a total no-no. Very bad! It makes your computer very slow and is quite difficult to undo. The only time anyone should
    use this command is when they're removing disk compression because someone turned it on to save space.  Turning this off has to be done by booting into the recovery console, if my memory serves me correctly, and it's a real nuisance.  So
    definitely no to the Compact command.
    If you wanted to compress files before sending them to another drive, or over a network, or by email, then Compact wouldn't actually help at all because the files have to get uncompressed whenever they're accessed, especially before sending them anywhere. 
    When I say accessed, I mean that just looking at a file triggers the OS to decompress it in the background and present you with an uncompressed version of it then letting you change it and recompressing it again for storage every single time you access the
    file, which is why your machine gets slower.  If you have folders or files that have blue text instead of black, then you've probably already made this mistake.
    I would also like to know if there is a built-in command for zipping files/directories, or, if there isn't such a thing built into Windows, then I would like to know if this is feature is accessible through Visual Studio, which would be just as good as having
    a command-line program for those of us that do a bit of programming.
    If anyone knows if MS provides such a feature, either by command-line or through an API, then I'd love to hear about it.  Good luck to those of you that have disk compression turn on.

  • Jar file runs from the command line, but not when I double click it

    Hello, I'm running windows xp. I've created an executable jar file and it runs fine from the command line when I type;
    java -jar wizard.jar
    but, when I double click it . . . nothing.
    Any ideas?

    nothing ? that's weird, windows XP should prompt you to select the program you want to use in order to open Jar files (and give you this silly piece of advice to search the web for the appropriate program)
    you might want to check what program (if any) got associated with .jar extensions :
    in Windows Explorer : Tools => Folder Options => File Types
    hth

  • Get the absolute path and filename of the file from the command line

    Hi,
    when we run the class we give the command
    java <filename>
    How can I capture the filename given above and get its absolute path inside the
    public static void main(String [] args){}
    args[0] gives me the command line argument after the filename. How do I capture the filename itself from the command line argument and also get that files absolute path
    Thanks

    I don't know of any way to capture the java command input, but there are ways to find out where the application is being run from. (the "absolute path")
    http://forum.java.sun.com/thread.jsp?forum=31&thread=335394

  • Can't send files to Trash from the command line

    Hello,
    as I'm programming in JAVA I must do all "special" operations as from the command line.
    I found several solutions but they don't work for me, at least not in Mavericks.
    I tried:
    osascript -e "tell app \"Finder\" to delete POSIX file \"/Users/me/totrash\""
    I got:
    21:60: execution error: Finder got an error: Handler can’t handle objects of this class. (-10010)
    I tried:
    echo "tell application \"Finder\" move POSIX file \"/Users/me/totrash\" to trash end tell | osascript
    I got:
    26:30: syntax error: Expected end of line but found command name. (-2741)
    Is there any working AppleScript way to send a file to the Trash Bin?
    Thanks in advance.
    ;JOOP!

    Near ....... I did not misspell 'me', I was in a different directory after all my experimenting .....
    Curse those who write cryptic error messages ...
    Bless those who still get it.
    So, thanks.
    ;JOOP!

  • I would like to open a URL and extract tables from the HTML code of the web

    Hi I have opened a URL say www.amazon.com and I would like to extract te tables in that particular web page would somebody out there help me with the code so that the output file displays only the relevant tables containing books and its prices dropping out all other data on the web page . My code for opening the URL goes here. Any quick help would be appreciated
    import java.net.*;
    import java.io.*;
    class ConnectionTest {
    public static void main(String[] args) {
    try {
    URL amazon = new URL("http://www.amazon.com");
    URLConnection amazonConnection = amazon.openConnection();
    DataInputStream dis = new DataInputStream(amazonConnection.getInputStream());
    String inputLine;
    while ((inputLine = dis.readLine()) != null) {
    System.out.println(inputLine);
    dis.close();
    } catch (MalformedURLException me) {
    System.out.println("MalformedURLException: " + me);
    } catch (IOException ioe) {
    System.out.println("IOException: " + ioe);
    }

    The quick and dirty way ( Not perfect and will be prone to errors ) :
    As you read the lines using readLine(), look for the string "<table>" (Perhaps using String.indexOf ? -- Java API for class String -- http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html)
    If the start tag is found, start dumping lines into a String (string concatenation), keep doing it until you find the end tag, using the method mentioned.
    Also, you may want to consider the case where <table> or </table> may not be at the beginning of the line, so you may want to use String.substring to selectively extract part of the line that you want to keep.
    Oh, and don't assume that the <table> tag is in lower case, and don't forget that there may be other attributes that are defined in the start and end tags.
    I wouldn't recommend using this method other than a quick and dirty extraction. If you really want to do things the right way, use a HTML parser or use the Amazon Web Services as paulcw suggested.
    Amazon Web Services:
    http://aws.amazon.com

  • How can I open a PDF file and enter a word in the Find field from the command line?

    Hi,
    I want to use a PDF file as the help file of another program.
    I have found somewhere an incomplete description of the command line parameters of Acrobat Reader.
    It described how to open a file and jump to its given page.
    I have written the following batch file based on that.
    rem Open pdf (prm1) with Acrobat reader at given page (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&page=%2=OpenActions" %1
    The following batch file opens the search dialog:
    rem Open pdf (prm1) with Acrobat reader
    rem and search for something (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&navpanes=1=OpenActions&search=%2" %1
    I need the simple find field instead of the complicated search window.
    Regards
                   Ferenc

    Not possible.

  • Running jar files from the command line

    I have always felt it would be useful to run a jar file from th command line in EXACTLY the same way as an EXE. On some systems, typing MYAPP.JAR will run the app, but doesn't output and command line data, so it only works for GUI apps. I've come up with a tiny C program that runs java -jar xxxx.jar for you.
    #include <stdio.h>
    #include <string.h>
    #include <process.h>
    void main(int argc,char *argv[])
         char cmd[1024];
         strcpy(cmd,"java -jar ");
         strcat(cmd,argv[0]);
         strcat(cmd,".jar");
         for(int arg=1;arg<argc;arg++)
              strcat(cmd," ");
              strcat(cmd,argv[arg]);
         system(cmd);
    }Simply compile this to an exe, rename the exe to the name of your jar file and put it in the same directory. Then just type 'MyJarFile' (no jar extension) and it should run. It passes all command live args as well. Comments ?

    Here's a better version. The JAR and the EXE can be anywhere in the PATH:
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include <process.h>
    void main(int argc,char *argv[])
         char jar[1024];
         char cmd[1024];
         strcpy(cmd,argv[0]);
         strcat(cmd,".jar");
         _searchenv(cmd,"PATH",jar);
         strcpy(cmd,"java -jar ");
         strcat(cmd,jar);
         for(int arg=1;arg<argc;arg++)
              strcat(cmd," ");
              strcat(cmd,argv[arg]);
         system(cmd);
    }

  • I would like to downgrade my CC membership from the full version to the Photographers version

    I currently have the full CC membership, paying monthly. I am not using any of the other programs other than Lightroom & Photoshop so would like to downgrade to the Photographers version please. There seems to be no way of doing this in my account settings. How can I go about it please? I am based in the UK.

    Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    And then buy new, since the only change I know of is to go UP in plan
    Upgrade single to all Cloud http://forums.adobe.com/thread/1235382

  • I would like to be able to cut and paste text whilst using Firefox

    I am taking an online course and would like to do my work in Microsoft Office word documents and then copy and paste text ....how can I do this?

    Do you mean that you cannot copy text from MS Word and paste it into a text box in Firefox? Does the clipboard work in Firefox safe mode? Maybe an extension is interfering with it.
    * http://kb.mozillazine.org/Safe_mode

  • Anyone know how it works to have multiple websites on iweb?  I would like to make a separate one from the one I'm using now and have them both up and running

    Does anyone know how it works to create more than one site on iweb - I have my primary site and mobile me connected to my domain name for that site, but now I'd like to add a completely different site and domain name.

    Here is some additional info on multiple sites in a single MMe account:
    How to have multiple sites in a single MMe account with one or more sites having a domain name.
    A. All sites are in the same Domain.sites2 files
    1 - only one site can use the CNAME method of domain name forwarding and it must  the top site in the left hand pane of iWeb.
    Click to view full size
    2 - the other sites must use URL domain name forwarding which directs the domain name to the site's full MMe URL, http://web.me.com/MMe_Username/Site_Name,  or, if there is no domain name, just MobileMe's full URL.
    B. Each site is in its own Domain.sites2 file.
    Again, only one site can use CNAME forwarding.  This presents a problem since CNAME forwarding directs the domain name to the basic MMe account URL: http://web.me.com/MMe_Username/ which uses an index.html file in the root folder of the account, iDisk/Web/Sites. Each time a new site is published or an existing site uses the File->Publish Entire Site a new index.html file is created in that root directory, iDisk/Web/Sites folder, directing the browser to that particular site.  This file is what the CNAME method uses to find the site it represents.  Therefore some steps must be taken to assure that the index.html file in the MMe Accounts root directory always points to the correct site.  This can be accomplished is three ways.
    1 - don't use the CNAME method.  Just use  URL forwarding .  This, IMO, is the simplest method as it doesn't requre any additional effort on the user once the domain name has been set up.
    2 - use the following method suggested by Wyodor in this topic: Is it possible to have multiple sites when using ur Domain name?   
    In iWeb domainfile 1:
    Create a dummy site : _dummy
    with a blank page.
    Create your working site : Whatever
    Add pages
    Publish both Sites to the same same location on the same server.
    Your _dummy site is now the default Site.
    Check.
    In iWeb domainfile 2:
    Create/Use your CurrentSite.
    Move a page to the top of the Site and back. Publish the Site.
    iWeb will create a new index.html file in the root of the server and from now on CurrentSite is the default site.
    Check.
    From now on, never move your Whatever Site to the top of the list in the iWeb sidebar and never change the page in the _dummy site.
    Simply do not touch your _dummy ever again. And never forget that.
    3 - use Ethmoid's suggested method in Using two sites - setting one up with separate domain? or republishing the entire site that uses  CNAME forwarding.  Just making a minor change and publishing the site changes does not create a new index.html file. 
    The entire site must be republsihing in order to get that new site.  
    Or keep a copy of the CNAME site's index.html file on your Mac and replace it manually in the iDisk/Web/Sites fodler when necessary.
    NOTE:  the CNAME method provides a shorter URL:  http://www.Domain_Name.com/Site_Name/Page_Name.  CNAME does not have masking.
    The URL forwarding displays the full MMe URL:   http://web.me.com/MMe_Username/Domain_Name/Page_Name.   With domain name masking that will be shortened to:   http://www.Domain_Name.com for every page of your site.
    WARNING: with masking visitors will only be able to bookmark and enter at the first page of the site.  If a page is refreshed the visitor is taken back to the first page.  Also search engines will only be able to index the first page of the site.
    OT

  • HT3702 I would like to remove my credit card from the itunes system

    How do i remove my credit card from the itune system?

    Open App Store, then go to the bottom and press your apple ID the press view Apple ID, then payment info and when the payment info menu is opened press none

Maybe you are looking for

  • Dynamic Class Instantiation with getDefinitionByName

    Ok so I am trying to follow the following example in instantiating a class dynamically: http://nondocs.blogspot.com/2007/04/flexhowtoinstantiate-class-from-class.html My AS3 code looks like this: var myClassName:String = event.templateName; //Alert.s

  • Acrobat Reader 9.1.2 opens endless number of browser windows

    Hi all, after the update to Acrobat Reader 9.1.2 opening .fdf ends in an endless number of browser windows until Acrobat Reader gets killed or the browser crashes. Testet with FF 3 and IE 6 on WinXP SP 3. Preference Setting "PDF in Browser anzeigen"

  • Windows Media Player trouble

    When I download windows media player it downloads fine and it goes to my desktop, but it is a picture of a blank piece of paper with the top right corner folded. When I try to open it, it opens with script edit and I tried to change it, but no matter

  • Spry Repeat a column

    Hi, Is there any way yo do a spry repeat over columns instead of rows?

  • Media go issue

    hi folks steve from victiria-australia . can some one help me im having trouble registering my pc through media go . Ive followed instructions to the point where i have to sign in and an error code comes up (the code is 80023017) tanx in advaced