Command Line via ARD

Is it possible to turn off the update in flip4mac via the command line using ARD?

got it! didn't notice the space before the 9's..thanks for the help, though I do have a question about this. I see looking at the file it places that statement in it, the updatecheck checkinterval supercedes the original checkinterval?

Similar Messages

  • Running a Command Line via a Package

    Hi,
    I am trying to deploy the following command line via a package to my servers but for some reason the results are as expected. The command I am trying to run is:
    reg add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.mydomain.local"
    When I look in the log files on the server the command is being executed as:
    <![LOG[Command line = "C:\Windows\system32\reg.exe" add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.mydomain.local",
    Working Directory = C:\Windows\system32\]LOG]!><time="12:44:32.391+00" date="02-24-2014" component="execmgr" context="" type="1" thread="3976" file="scriptexecution.cpp:346">
    Why is this is not working? If I run the command manually on the server, it works and reg key is updated correctly.
    PS: I am probably being really stupid here but any help is appreciated.
    Thank You
    Mayur

    Hi,
    Just looking at the logs file, I see this:
    <![LOG[Running "C:\Windows\system32\cmd.exe" /c "C:\windows\system32\reg.exe add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.osmanage.local" with 32bitLauncher]LOG]!><time="13:06:32.677+00"
    date="02-24-2014" component="execmgr" context="" type="1" thread="4024" file="scriptexecution.cpp:364">
    It is launching it with 32bit launcher. So is this still a problem with 64bit redirection?
    The thing is before trying this reg fix I tried several times to run command: slmgr.vbs /skms servername.local via  a packag which executed successfully but again the KMS server wasn't updated. So something tells me this is a different problem?

  • Running FMLE via command line without installation?

    Hi,
    I would like to run FMLE via the command line without an installation of FMLE. I would use AIR to deliver FMLE files and call the command line via the NativeProcess API.
    Is that possible?
    Thanks a lot.
    Malte

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Calling this simple servlet from command line -- ERRORS!

    Below is my servlet. I call from command line via:
    java BatchServlet
    and I get:
    Exception in thread "main" java.lang.NoClassDefFoundError: BatchServlet
    IS there a reason for this
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BatchServlet extends HttpServlet implements Runnable{
    static Thread t = null;
    public void init(ServletConfig c) throws ServletException{
    super.init(c);
    if (t==null){
    t = new Thread(this);
    t.start();
    public void run(){
    while (true){
    try{
    Thread.sleep(5000);
    }catch (InterruptedException ie){
    ie.printStackTrace();
    System.out.println("Wake up");

    Same error with this little prog.....
    Notice main method
    package wch.util;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test {
    public void main(){
    System.out.println("test");

  • Command Line Scheduling Failing

    When I attempt to use command line scheduling for FR I am receiving the following error:
    [2012-06-04T15:18:03.651-04:00] [EPMFR] [ERROR] [] [oracle.EPMFR.core] [tid: 10] [ecid: 0000JUsvg2YB9Dc_phT4iY1FnGbf000000,0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: getObjectFromURL] [[
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:249)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
         at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
         at com.hyperion.reporting.registry.FRSystem.getObjectFromURL(Unknown Source)
         at com.hyperion.reporting.registry.FRSystem.lookupHsServer(Unknown Source)
         at com.hyperion.reporting.scheduler.ExecuteBatch.<init>(Unknown Source)
         at com.hyperion.reporting.scheduler.ExecuteBatch.main(Unknown Source)
    [2012-06-04T15:18:03.698-04:00] [EPMFR] [ERROR] [] [oracle.EPMFR.core] [tid: 10] [ecid: 0000JUsvg2YB9Dc_phT4iY1FnGbf000000,0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: lookupHsServer] [[
    com.hyperion.reporting.util.HyperionReportException: Could not connect to the server.
    Please make sure that the server is running as specified in the logon dialog (including port number if not default).
         at com.hyperion.reporting.registry.FRSystem.lookupHsServer(Unknown Source)
         at com.hyperion.reporting.scheduler.ExecuteBatch.<init>(Unknown Source)
         at com.hyperion.reporting.scheduler.ExecuteBatch.main(Unknown Source)
    [2012-06-04T15:18:03.713-04:00] [EPMFR] [ERROR] [00032] [oracle.EPMFR.core] [tid: 10] [ecid: 0000JUsvg2YB9Dc_phT4iY1FnGbf000000,0] [SRC_CLASS: com.hyperion.reporting.scheduler.ExecuteBatch] [SRC_METHOD: <init>] [arg: D:\Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~1\bin\testact2.xml] Error executing batch: D:\Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~1\bin\testact2.xml
    [2012-06-04T15:18:03.713-04:00] [EPMFR] [ERROR] [] [oracle.EPMFR.core] [tid: 10] [ecid: 0000JUsvg2YB9Dc_phT4iY1FnGbf000000,0] [SRC_CLASS: com.hyperion.reporting.scheduler.ExecuteBatch] [SRC_METHOD: <init>] [[
    com.hyperion.reporting.util.HyperionReportException: ; nested exception is:
         java.lang.Exception: Unable to connect to HSServer
         at com.hyperion.reporting.scheduler.ExecuteBatch.<init>(Unknown Source)
         at com.hyperion.reporting.scheduler.ExecuteBatch.main(Unknown Source)
    Caused by: java.lang.Exception: Unable to connect to HSServer
    Steps that I have taken to reproduce this error*
    1. Navigate to Workspace and export a successful job from the Batch Scheduler.
    2. Encode a password using the encodepassword.cmd
    3. Place this password in the .xml that was produced earlier along with the correct username and a reportserver.
    4. Launch command line via command prompt with the following syntax: schedulebatch mybatch.xml http://myserver:19000
    Not sure what else I am doing wrong...Thanks for the help!

    This batch did run successful from workspace. Thanks for your help.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <BATCH_JOB_OBJECT AUTHOR="hypadmin" BATCH_JOB_ID="" BATCH_JOB_NAME="testact" BATCH_LOCALE="en_US" BATCH_NAME="/Activities/Activities" BOOKS_USE_BATCH_POV="Yes" DELETE_BATCHJOB_AFTER_SUCCESSFUL="No" DESCRIPTION="" REPORT_SERVER_NAME="myserver" UNSAVED_BATCH="No">
    <RUN_OPTIONS FREQUENCY="2" RUN_IMMEDIATELY="Yes" START_DATE="Thursday, May 31, 2012 3:31:25 PM EDT"/>
    <NOTIFICATION>
    <EMAIL FAILURE_MESSAGE_BODY="" FAILURE_RECIPIENTS="" FAILURE_SUBJECT="" MESSAGE_BODY="" RECIPIENTS="" SENDER="[email protected]" SUBJECT=""/>
    <PDF_ATTACHMENT BATCH_EMAIL_MSGBODY="See Attached Reports" BATCH_EMAIL_MSG_SUBJECT="See Attached Reports" BATCH_RECIPIENT_LIST="[email protected]" EMAIL_INDIVIDUAL_PDF="No" SEND_ATTACHMENT_EMAIL="Yes"/>
    </NOTIFICATION>
    <JOB_STATUS CURRENT_STATUS="0"/>
    <BURSTING_OPTIONS BURSTING_DEFAULT_OBJECT_NAME="" BURSTING_DEFAULT_SUBFOLDER_NAME="" BURSTING_ENABLED="false" BURSTING_FILE_PATH=""/>
    <JOB_OBJECT OBJECT_ID="0">
    <DATA_SOURCE_USER_CREDENTIALS DS_PASSWD="AAAAvEfb7J4pV5KC09tlhwG39w==" DS_USER_NAME="adminuser"/>
    <HR_USER_CREDENTIALS HR_PASSWD="AAAAvEfb7J4pV5KC09tlhwG39w==" HR_USER_NAME="adminuser"/>
    <OUTPUT_OPTIONS>
    <HTML VALUE="No"/>
    <MHTM VALUE="No"/>
    <PDF EXPORT_PDF_FOLDER_LABEL="" VALUE="Yes"/>
    <SAVE_AS_SNAPSHOT VALUE="No"/>
    <PRINT VALUE="No"/>
    </OUTPUT_OPTIONS>
    <USER_POV>
    <ELEMENT>
    <KEY NAME="26106979_126a8704b24_-6883" REF_COUNT="2"/>
    <POV ALIASTABLE="Default" DATASOURCE_DETAILS=" dsname=Activity server=BCESSAPP01 app=Activity db=Activity type=Essbase" DATASOURCE_ID="26106979_126a8704b24_-6883" DIMCOUNT="9" ORGBYPERIOD_ENABLED="0" ORGBYPERIOD_PERIOD="" ORGBYPERIOD_SCENARIO="" ORGBYPERIOD_YEAR="" REFRESH_DESC="0" RELATEDCONTENT_CHANGE="0" SHOW_ALIAS="0" SHOW_DIMNAME="1" SHOW_MEMBERDESC="0" SHOW_MEMBERNAME="1" VERSION="7.3">
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="Accounts">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;Accounts&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;BAYCARE&lt;/STRING&gt;&lt;STRING&gt;Accounts&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="AC Periods">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;AC Periods&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;Dec YTD&lt;/STRING&gt;&lt;STRING&gt;AC Periods&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="Amount Type">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;Amount Type&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;Amount Type&lt;/STRING&gt;&lt;STRING&gt;Amount Type&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    <DIMENSION DISABLED="0" HIDDEN="1" NAME="Category"/>
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="Activity">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;Activity&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;CAP MEASE&lt;/STRING&gt;&lt;STRING&gt;Activity&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="Organization">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;Organization&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;Organization&lt;/STRING&gt;&lt;STRING&gt;Organization&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="AC Years">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;AC Years&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;Life-To-Date&lt;/STRING&gt;&lt;STRING&gt;AC Years&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    <DIMENSION DISABLED="0" HIDDEN="1" NAME="AC Scenario"/>
    <DIMENSION DISABLED="0" HIDDEN="0" NAME="Activity Status">
    <METADATAEXPRESSION VALUE="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;COMPOSITEOPERATION TYPE=&quot;MemberQuery&quot;&gt;&lt;OPERATION TYPE=&quot;Select&quot;&gt;&lt;MULTIVALUE&gt;&lt;STRING&gt;Name&lt;/STRING&gt;&lt;/MULTIVALUE&gt;&lt;STRING&gt;Activity Status&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;COMPOSITEOPERATION TYPE=&quot;Filter&quot;&gt;&lt;OPERATION TYPE=&quot;Member&quot;&gt;&lt;STRING&gt;40&lt;/STRING&gt;&lt;STRING&gt;Activity Status&lt;/STRING&gt;&lt;/OPERATION&gt;&lt;/COMPOSITEOPERATION&gt;&lt;/COMPOSITEOPERATION&gt;"/>
    </DIMENSION>
    </POV>
    </ELEMENT>
    </USER_POV>
    </JOB_OBJECT>
    </BATCH_JOB_OBJECT>

  • RH9 - Any idea why generating printable output from the Command Line doesn't include images?

    I have a batch file that creates a printable output of our main documentation broken up into 36 separate documents, 1 per chapter. Each chapter is a separate layout. I realize that RH has its own Batch building process, but the reason for me doing it through the command line via a batch file (.bat) is that RH keeps taking focus from my mouse and it makes it difficult to do any other computer work while the RH project generates the printable output for those chapters.
    Anyway, RH's Batch build works fine.
    But the command line for printable output does not include any of my images in the printable output. I don't know why. The document generates with all the topics fine, but the images are missing. No placeholder box in the resulting Word doc, they just simply weren't included. Has anyone else seen this? Any way to fix it?

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • Launched from a windows command line

    If my labview app is run remotely from a windows command line, is there any way to tell programmatically from a variable somewhere that it was launched by another app and not by the operator manually launching the app itself ?

    Hello id,
    If you have control over the application that's invoking your exe through the command line, I'd suggest using a simple custom argument that is passed to the application per this KnowledgeBase:
    KnowledgeBase 1CNFGHFI: Passing Command Line Arguments to a LabVIEW Executable
    http://digital.ni.com/public.nsf/allkb/17C3AD70493CE0208625666A00763364
    You would then use the App.Args property (Application:Command Line Arguments Property) to check for your "this launched from the command line via this other application" argument, whatever it might be. I would suggest that you should only need to check for *any* arguments, if they're present then you know it's been launched via the command line. The argument could just be the name of the calling application.  If you're unable to insert arguments via the invoking application, you could also use a one-line batch file that's installed with the target EXE to do the same thing (you'd run the batch file instead of the executable from the invoking application).
    Determining where an application was invoked from without sending it that information explicitly is another, trickier problem- there are plenty of discussions on stackexchange and elsewhere detailing possible solutions, but if the invoked application (your EXE) isn't owned by the command prompt process I'm not sure it's possible.  There are a few mentions of checking environment variables that the command prompt usually sets to see if they've been configured, but I have no experience with this.
    Best Regards,
    Tom L.

  • Noob. Command Line says "insufficient privileges". wont STARTUP

    Hi,
    I am new to SQL and have installed Oracle Database 10g Express Edition. OracleXE.exe.
    When I try to use the Command Line via the start menu, I enter STARTUP and it says "insufficient privileges"
    Logging in via the GUI works fine, I have created tables and added data to them, but I wish to use the command line.
    Many thanks for any advice.
    Thanks.
    Message was edited by:
    Swerve

    SQL> conn <username>/<password>to connect as normal user, or
    SQL> conn / as sysdbafor admin operations, like startup and shutdown.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12015.htm#i2697450

  • Enable AFP File Sharing via ARD through command line?

    Anyone know how to enable AFP file sharing on a remote Leopard client using ARD? I had been sending Unix Commands to do most of my changes, but cannot figure out how to enable AFP file sharing through a unix command. I've tried running /usr/sbin/AppleFileServer but that doesn't seem to do the trick. Any ideas?

    Howdy, Space Ranger!
    I'd recommend checking out the following documentation to get filesharing going without interrupting a current user.
    Apple Remote Desktop Administrator’s Guide
    http://images.apple.com/remotedesktop/pdf/ARD3_AdminGuide.pdf
    Page 145:
    Executing a Single UNIX Command
    Using the UNIX Command window, you can send a single command to the selected
    client computers. The command is executed using the bash shell.
    To execute a single UNIX command:
    1 Select a computer list in the Remote Desktop window.
    2 Select one or more computers in the selected computer list.
    3 Choose Manage > Send UNIX Command.
    4 Type or paste the command.
    If your command is a multi-line script, enter each command on its own line. If you want
    to break up a single-line command for better readability, use a backslash (\) to begin a
    new line.
    5 Set the permissions used to execute the command.
    You can choose the currently logged-in user, or choose the name of another user on
    the client computers.
    6 Click Send.
    For information regarding Terminal commands that can be useful (this is for 10.3 and later, but the relevant command does work in 10.8):
    Mac OS X Server Command-Line Administration
    http://manuals.info.apple.com/en_US/MacOSXSrvr10.3_CommandLineAdminGuide.pdf
    Page 65:
    Commands you can use to create share points and manage AFP, NFS, Windows (SMB), and FTP services in Mac OS X Server.
    Share Points
    You can use the sharing tool to list, create, and modify share points.
    Best regards,
    Allen

  • Command to turn off Bluetooth via ARD

    I'd like to turn off Bluetooth and Airport via ARD on all of my Macs (all running Leopard) that don't need them.
    I can do this for Airport using networksetup -setairportpower off, but I can't find a similar command for Bluetooth. I don't really want to completely disable it so I'd like to leave the kernel extensions intact, just turn it off. Does such a command exist?

    you can install bueutil on all macs and use that.
    http://www.frederikseiffert.de/blueutil/
    I don't know any other way to turn bluetooth off/on from command line.

  • Upgrading from 10.5 to 10.6 via command line

    Hi all:
    Can anybody tell me what package(s) should be installed when upgrading a 10.5 server to 10.6? I don't need any of the language kits or printer drivers or X11, just the basic install option. I'd like to install the packages via command line, but there are a few that look relevant and I'm not sure which ones to install.
    These look promising:
    MacOSXServerInstall.mpkg
    MacOSXServerInstall.pkg
    OSInstall.mpkg
    OSInstall.pkg
    OSUpgrade.pkg
    Thanks,
    Brewster

    Looks like I can just ARD into the machine while booted from the DVD, so this is moot. :P

  • 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 do I open a PDF to a specific page via the command line?

    Several questions about opening PDFs from the Mac OS X command line:
    1) How do I use the "open" command to open a PDF to a specific page? (I know I can open a document via: open doc_name.pdf)
    2) How do I use the "open" command to pass multiple arguments (page no, zoom scale, view mode, etc...) to open a PDF file in a specific manner?
    3) Does Preview handle the same parameters as Acrobat Reader? If not, what are the differences in options?
    I've spent hours searching for this answer and have come up dry. I've downloaded Adobe's "PDF Open Parameters" document -- it lists all of the parameters I need, however I can't get any of them to work from the command line.
    My goal: Open a PDF from the command line to a specific page. At first glance, I thought this would be simple to do and find -- however, after a lot of searching I haven't found an example on how to do it.
    Anyone have any experience doing this, and care to share?
    Much appreciated! ---> Kelsey

    I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
    http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
    http://links.tedpavlic.com/shell_scripts/skim

  • 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]

  • 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

Maybe you are looking for

  • Unable to reference item value in report region cursor

    I've worked on this for a couple of days now and cannot figure out what is going wrong. I have a report that I have created, using database links. Below is the code for my report: declare v_sql varchar2(32000) := null; v_curr_sql varchar2(32000) := n

  • How to set JAVA_HOME in REDHAT 9.0 Linux?

    I was trying to set JAVA_HOME in profile file, but unable to decide where to put the java_home path. Can anyone guide me? J2sdk and JRE are in /USR/JAVA

  • Disabling tooltip in Oracle ADF 11g

    Dear All, Is there anyway to disable the Tooltip for the Application globally . As of now, we have this "shortDesc" attribute defined in all our component. Thanks in advance. Regards Deivee

  • BAPI for creation Stock transfer oder

    Hello Gurus Is there a BAPI to create a Stock transfer order( UB - within the company code )? regards mohammed

  • Quoted string in select

    When doing a select statement, is it possible to get sqlplus to automatically put quotes around data in varchar columns?