How to open an url via command line?

Hi all,
I want to open a pdf file via a command from a web location. I try this: "AcroRd32.exe http://server/path/file.pdf" to do so, but this way results in an error message about bad filename.
Is it possible to open a pdf in such a matter?
Background:
We use a CRM, the CRM use of webdav to allow content changes. The CRM is written in JSP and use a java applet to start the appropriated application for changing the content of a document. This works fine for all sorts of apps (winword, texteditors), only acrobat has problems with approach.
Thanks for your support
Lars

Hi,
I also need to know if it's possible to open a document on the web from the command line.
It is possible to specify the URL in the Open dialog of the client, why not from the command line?
No answer has been received for this question during the last few years!
Doesn't anybody know the answer to this?
Maybe the answer is "No, it can't be done"?
Mvh/Tommy

Similar Messages

  • How to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

  • How to merge multiple documents via command line (Adobe Acrobat Pro 9.3.2)?

    I'm searching solutions to merge multiple documents (all stored in one folder) via command line or batch file to a single PDF-File...
    Is there a way to do this?
    Finaly I want to control this from a application written in MS-Access. So, perhaps there are some features already integrated in Access to do this?
    Thanks for answer!

    If you have some programming experience you could probably do this using VBA from within MS Access to control Acrobat via OLE.
    Lots of examples on the Web.
    Hope this helps

  • How to install Developer Tools via command line

    Hello,
    is there a way, to install the Developer Tool via Command line?
    I need only the unix tools.
    I have to install the unix tools over a ssh connection.
    Thanks in advance and best regards
    Martin

    I followed the link you gave.  The only download I saw was for Xcode 4, and they either wanted $5 to purchase it from the app store or a 1 year mac developer license thing which was $100.
    <Edited by Host>

  • How to change "open with" defaults via command line?!?

    folks,
    i know that if i get info on a file -- in this case, a filemaker 5.5 file -- i can choose the default "open with" settings and apply those settings to all files of that kind. see the attached image for what i mean.
    but how do i do that via the command line?
    thus far, here's what i've got: i know that i can open a document called "scrubbing shell.sh" on my desktop WITH either MS Word of TextEdit by calling:
    open -a textedit /Users/david/Desktop/scrubbing-shell.sh
    or
    open -a Microsoft\ Word /Users/david/Desktop/scrubbing-shell.sh
    no sweat. BUT....how do i set the defaults so that it ALWAYS opens with that app in the future when double-clicking via the GUI?
    many thanks, ya'll!
    david koff
    associate systems admin
    the j. paul getty trust
    dkoff AT getty DOT edu

    Hi David,
       OK, I investigated the new format and treatment. It appears that the first entry in the property list file that matches the file being opened wins. The Finder may still honor the new format; when I moved my old Panther file into Tiger it seemed to work. However, in other ways, the Finder doesn't recognize the old format, which is the format of the FileMaker entries you posted.
       The Finder puts all of the new format entries at the beginning of the property list file. If you change a preference that was controlled by an old format entry, the Finder won't edit that entry. What it will do is to create a new entry in the new format closer to the beginning of the file than any of the old-format entries. SInce the new entry comes first, the old one doesn't apply. If you then edit the preference and change it back to what it was before, the Finder will edit the new entry. Consider the following sequence of events and commands:
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    I change all GIF files to be opened by GraphicConverter instead of Preview, which is an old setting in the old format.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <      <dict>
    <         <key>LSHandlerContentType</key>
    <         <string>com.compuserve.gif</string>
    <         <key>LSHandlerRoleAll</key>
    <         <string>com.lemkesoft.graphicconverter</string>
    <      </dict>
    Then I change all the GIF files to be opened by Preview again.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <       <dict>
    <          <key>LSHandlerContentType</key>
    <          <string>com.compuserve.gif</string>
    <          <key>LSHandlerRoleAll</key>
    <          <string>com.apple.preview</string>
    <       </dict>
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    408c408
    <          <string>com.apple.preview</string>
              <string>com.lemkesoft.graphicconverter</string>
       Note that I had to change the file to text after every change because the Finder converted the file to binary format every time it edited it. I didn't have to logout or reboot; the property list file change less than a second after the preference was set. I'm guessing that because you were just looking at the old-format entry, you missed the real changes to your property list file. Did it change from text to binary format? Try the command line tools that I used above.
       Note that this means that it matters where you put your entries in the property list file if you edit it.
    Gary
    ~~~~
       There are only 10 kinds of people in the world. Those
       who understand binary numbers and those who don't.

  • How to backup/export bookmarks via command line or BAT

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    i am looking for a way to backup/export the bookmarks.html file via a BAT or VBS script, due to the random characters assigned to each profile. the best i can come up with is:
    <code>for /f "tokens=1,2* delims==" %%a in (
    'type "%AppData%\Mozilla\Firefox\profiles.ini"^|findstr/ib "path=Profiles/" ^2^>nul'
    ) do (
    if errorlevel 0 set profdir=%%~b
    echo %profdir%
    echo %profdir:~9,16%
    pause</code>
    but i still cant get it to go to the right location, can someone make this easier for me?
    <br/> <br/>''(Edited by Moderator: placed code in a CODE block - c)''<br/> <br/>
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Personas
    1.5.2
    true
    [email protected]
    FoxTab
    1.3
    true
    Adblock Plus
    1.1.3
    true
    Java Console
    6.0.20
    true
    Java Quick Starter
    1.0
    true
    [email protected]
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.history_expire_days
    20
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    http://research.home.ge.com/
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    extensions.lastAppVersion
    3.6.3
    network.cookie.prefsMigrated
    true
    network.http.proxy.version
    1.0
    places.last_vacuum
    1274892525
    print.print_printer
    \\nsk1prn01\2b16_mfd_p
    print.printer_\\nsk1prn01\2b16_mfd_p.print_bgcolor
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_bgimages
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_command
    print.printer_\\nsk1prn01\2b16_mfd_p.print_downloadfonts
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_bottom
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_left
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_right
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_top
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_evenpages
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_footercenter
    print.printer_\\nsk1prn01\2b16_mfd_p.print_footerleft
    &PT
    print.printer_\\nsk1prn01\2b16_mfd_p.print_footerright
    &D
    print.printer_\\nsk1prn01\2b16_mfd_p.print_headercenter
    print.printer_\\nsk1prn01\2b16_mfd_p.print_headerleft
    &T
    print.printer_\\nsk1prn01\2b16_mfd_p.print_headerright
    &U
    print.printer_\\nsk1prn01\2b16_mfd_p.print_in_color
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_bottom
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_left
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_right
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_top
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_oddpages
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_orientation
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_pagedelay
    500
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_data
    1
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_height
    11.00
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_size_type
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_size_unit
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_width
    8.50
    print.printer_\\nsk1prn01\2b16_mfd_p.print_reversed
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_scaling
    1.00
    print.printer_\\nsk1prn01\2b16_mfd_p.print_shrink_to_fit
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_to_file
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_bottom
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_left
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_right
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.enable_ssl2
    true
    security.enable_tls
    false
    security.warn_viewing_mixed
    false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Adobe PDF Plug-In For Firefox and Netscape 8.2.2
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *GEPlugin
    *4.0.50401.0
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *DRM Netscape Network Object
    *Npdsplay dll
    *DRM Store Netscape Plugin

    You can make Firefox 3 create an automatic HTML backup (''bookmarks.html'') when you exit Firefox if you set the pref [http://kb.mozillazine.org/browser.bookmarks.autoExportHTML browser.bookmarks.autoExportHTML] to ''true'' on the '''about:config''' page.
    That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref [http://kb.mozillazine.org/browser.bookmarks.file browser.bookmarks.file] on the about:config page.
    See http://kb.mozillazine.org/Export_bookmarks

  • Turn on "Real-time preotection" via command line

    Hello!
    We have a cient without networking resources and I need to turn on the "Real-time protection" which is currently in OFF state.
    How can I do that via command line?
    I tried to review the "mpcmdrun" command but did not found proper switch to turning on this service.
    Regards, 
    Tamas

    You could do a regedit command to silently import a .reg file with the setting in it:
    create a .reg file from the following key:
    HKLM\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection
    Name: DisableRealtimeMonitoring
    Type: REG_DWORD
    Data: 0
    Then import it silently with this command:
    regedit /s C:\ExamplePath\Example.reg
    You could also do a PowerShell command:
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection' -Name DisableRealtimeMonitoring -Value 0

  • How can I install on Windows remotely via command line?

    Hello Folks.
    I want to install an application on Windows remotely and via command line, For example, I need a tool like Psexec or WMIC but I don't like the user understand it. Any idea? 

    Hi,
    Please also refer to following FAQ article and check if those four general ways will meet your requirement.
    [Forum FAQ] How to deploy applications remotely
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    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 Support, contact [email protected]

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • How to turn off Bluetooth adapter via command line or script?

    I'm trying to write a batch script that will be able to turn on/off any connected Bluetooth adapters.
    In the "Bluetooth Settings" window, how can I change the "Turn off Bluetooth adapter" setting via command line or script?
    Due to my account not being verified yet, I cannot post a screenshot.  I will update this thread as soon as my account is verified.

    get-service -DisplayName 'Bluetooth Support Service' | Stop-Service
    ¯\_(ツ)_/¯

  • How do I get LR2 to "load from device" via command line?

    Hi,
    how do I get LR2 to "load from device" via command line?
    I've got XP to load LR2 when a "camera" (and only a camera) is connected but really cool would be if LR2 would also import the pictures.
    cu,
    Michael

    1. Make sure you are using IOS 7.
    2. Make sure your iPad is register in My Support Profile.
    https://supportprofile.apple.com/
    3. Try downloading again; it should be free.

  • How to see via command line blocked mails

    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From: <pedro>
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from <pedro>
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

    Wanted to add that you can shortcut the "grep" process by putting everything on one line.
    grep -i "Mid 3977209" mail_logs
    grep -i "ICID 8813638" mail_logs
    grep -i "From: " mail_logs
    basically
    grep -i "pattern" mail_logs
    -i ===> ignore case
    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From:
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

  • How do I remove Lotus Notes PDFMaker plugin via command line?

    How do I remove the lotus notes PDFMaker plugin via command line?  I originally deployed Adobe Acrobat 10 as a complete install to many computers.  I see how to remove this specific feature through the GUI in Windows 7 by going to control panel / programs and features / Adobe Acrobat X / change / modify / create adobe PDF / acrobat PDFMaker / Lotus Notes, but this would be a tedious task to do manually at each computer.  I've experimented with a few msiexec commands after removing Acrobat such as:
    msiexec /i "\\path to msi" remove=pdfmakerforlotusnotes
    msiexec /i "\\path to msi" disable_pdfmaker=yes
    Both still install acrobat as a complete install.  Any help and suggestions would be appreciated.  Thank you!

    Thank you Sabian, that did the trick.  Here is the command line I used for anyone else having a similar issue:
    msiexec /i "\\path to msi" REMOVE=PDFMakerForLotusNotes /qn
    I did this on a test machine with a complete Acrobat installed.  I ran the above command and it removed the Lotus Notes PDFMaker plugin.  I should also note that it didn't downgrade my version of Acrobat and all of my custom settings within the application are still there.

  • [SOLVED] How to Crop an MP4 Video via Command-line?

    I have ffmpeg, mpg123, and mencoder. Does anyone know of a way I could use any of those to crop an mp4 video via command-line? I am trying to take off the black space above and below a video. Thanks in advance!
    Last edited by tony5429 (2009-04-12 00:12:57)

    I don't think it's possible to crop without re-encoding, but you can crop from the command line with ffmpeg and mencoder. Not sure about mpg123 - I think that's for playing audio but I could be wrong there.
    Anyway, with ffmpeg you can do cropping by using -croptop, -cropbottom, -cropleft, and -cropright. So if you wanted to crop 16 pixels off of the top and the bottom, your command line would look something like this:
    ffmpeg -i <input file> -croptop 16 -cropbottom 16 <video encoding options> <audio encoding options> <output file>
    With mencoder you use the "crop" video filter, like this:
    mencoder <input file> -o <output file> -vf crop=320:208:0:16 <other options>
    where the "320:208:0:16" means that the resulting picture is 320 pixels wide, 208 pixels high, and the 0:16 is the x,y position of the cropped area.
    These command lines are just really very basic examples - ffmpeg and mencoder have a LOT of options. Way too many to explain here. If you don't believe me, just try reading through the mencoder man page sometime. (There's an online version of it at: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html)
    Hope this helps!!

  • [SOLVED] How to Create an Image from UTF8 Text via Command-line

    As the title points out, I'm trying to create an image from unicode text via command line. I tried...
    convert -pointsize 48 -size 400 caption:测试用 text.png
    But that results in question marks for the Chinese characters. So searching around online I discovered that I needed to specify a font which could display the characters. The characters show up just fine in Firefox, KDE, Kate, Terminal, etc so I know I have a font which can render them. I thought it might be DejaVu but this also resulted in question marks...
    convert -font /usr/share/fonts/TTF/DejaVuSerif.ttf -pointsize 48 -size 400 caption:测试用 text.png
    Any ideas?
    Last edited by tony5429 (2011-01-31 23:17:41)

    DejaVu doesn't contain those Chinese glyphs at all, so please don't blame ImageMagick for not rendering them.
    So, Firefox, Kate, Terminal and the others you stated to use DejaVu, if encounter these characters, fall back to some other fonts to render them. These fonts are, however, not vector, but bitmap fonts. (This can be seen if you increase text size (Ctrl++ in Firefox): the Chinese characters don't change, they remain of their inherent size.)
    Actually, e.g. /usr/share/fonts/misc/18x18ko.pcf.gz definitely contains the three example characters, so the mentioned apps may use this font as fall back.
    Apparently ImageMagick doesn't handle bitmap fonts (I'm not sure), so you won't be able to hit your original target. Anyway, since you tried to parse "-pointsize 48", you wouldn't be satisfied with the font size.
    Your only choice seems to be using the above mentioned CJK-approved TTFs.
    EDIT: typo
    Last edited by barto (2011-01-28 21:52:33)

Maybe you are looking for

  • Unabl to start sap (DISP+WORK Stopped) While installing/importing database

    Dear Experts, As iam installing/ importing windows ecc 6.0  sr3 & DB2 9.5 ( Database exported using Hetrogeneous system copy from sqlserver 2005 to DB2), All phases finished and finally start sap failed due to db connect failure and i have tried by m

  • Adobe Document Centre

    Hi, I'm having real problems as the users of my documents cannot open them becuase the dc.adobe.com site is down. However I've set the documents to be usable for 3 days offline but this doesn't appear to be working. I'm using Windows XP Pro, Office 2

  • What u hear problems in vista 32bit

    #What u hear problems in vista 32bit2 I just installed the newer variety of the x-fi notebook card with the wireless broadcast function, and for whatever reason installing the drivers failed the first time, I tried a clean install after that, and the

  • Adding header to alv(factory) in container

    Hi frends! How can I add a header to alv in container using factory method?

  • Multiple Results from Table

    Hello, my EJB Query hast multiple Results. My Table: key | value 01  | test1 02  | test2 My Selection: select Object(b) from PhoneBookEntityBean b What kind of result type must the finder method have and how can i handle it? Thanks for help and ideas