Apps with long command lines

All,
I have an application which has quite a few parameters. Once sequenced, the path in the shortcut is prefixed with the local storage location of the sequence, pushing the path length to 278 characters which is byond what we can use in Windows.
Can anyone advise ways around this?
Many thanks

Sure.
I'm using App-V v5.
The shortcut for the application would be:
"c:\program files\application\application.exe param1 param2 param3 param4 param5" etc etc
Translated into App-V 5 this would become:
"C:\ProgramData\App-V\9816CD98-D85C-4BB3-8597-7615201EAC6D\63EA6D79-DA43-46FD-AAE4-F2E602C0A906\Root\application.exe param1 param2 param3 param4 param5 etc etc"
So, the following causes the command line to exceed 255 chars:
"C:\ProgramData\App-V\9816CD98-D85C-4BB3-8597-7615201EAC6D\63EA6D79-DA43-46FD-AAE4-F2E602C0A906"
Instead of:
"c:\program files\application"
In my particular case 2 of the parameters are UNC paths and without App-V v5 the path is shorter than 255 chars. but with App-V v5 its over 270.
Many thanks

Similar Messages

  • Can flash player app be run and controlled in a system with only command line?

    I want to test my.  flash app in a remote linux pc. I am not permitted to install  desktop environment in that remote pc.
    So I am wondering if I can use flashplayer_10_sa_debug to run my app in a system with only command line access.
    And further, can I use some command option to interact with my app for doing something?
    If not , how can I reach my goal? Can you give me some advices?

    Hi,
    Can we get a status update for this? This seems to have broken Mac Projector files when published from a PC. Our old CD-ROM presentations no longer work. They throw the same error.
    Is there a bug ticket that we can follow? Any sort of timeline? I need to give an answer to my client on when this will be fixed. Telling them to disable Gatekeeper isn't really a great solution.

  • Bash: wrapping long command line [SOLVED]

    I'm trying to configure my bash to wrap long command lines.  I am looking for a behaviour similar to tcsh where, at the border of the window,  the command is continued on the next line.  In bash, the command continues at the begining of the same lines wich is messy.  I tried using
    set horizontal-scroll-mode on
    in my ~/.inputrc but the continuation doesn't start at the windows border. I can post screenshots if that would help.
    Thanks.

    putting the line in .bashrc have no effect.
    Here is my .bashrc
    export EDITOR=emacs
    export PAGER=less
    export LESS="-f -r"
    export BROWSER=firefox
    PS1='[33[01;34m]#[33[00m] 33[01;31m]u@H[33[00m]33[01;39m] w $33[00m] '
    # create an xauth key for root user
    umask 377
    /usr/X11R6/bin/xauth extract /tmp/user.xauth $DISPLAY
    umask 022
    #set horizontal-scroll-mode on
    source ~/.aliases
    my .bash_profile
    . $HOME/.bashrc
    my .inputrc
    "e[A": history-search-backward
    "e[B": history-search-forward
    set show-all-if-ambiguous on
    set page-completions off
    set completion-query-items 10000
    set horizontal-scroll-mode on
    The screenshots:
    With tsch (what I'm looking for)
    With set horizontal-scroll-mode off:
    If I continue to press the 'a' key, it overwrite the whole line and wraps at the window border.
    With set horizontal-scroll-mode on:
    It wraps 2 inches before reaching the window border.
    [/img]

  • Saving Outlook eMail to a hard drive folder with long subject lines

    I'm using Outlook 2010 on a WIN7 machine. I drag and drop eMails to folders on my desktop quite often and in the past (earlier version
    of Outlook) I would receive a warning that the file did not copy if the subject line was too long. When I drag and drop eMails with long subject lines now there is no visual warning or indication that the operation failed. I am aware of the file name/path
    character count limitation. My issue is the lack of a warning when the operation fails requiring me to have to check the length of the subject line before the operation or double check if the file is present after the operation. Checking after the operation
    is quite exacerbating when you are copying 15 - 20 files at a time. Is there a patch or something that can be done about this?

    Hi,
    We can also consider to get support about macro from MSDN forum:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • Error message in scanning:"The scanning software was launched with improper command- line arguments"

    We have downloaded and installed the HP Photosmart full feature Sostware and Drivers to Photosmart C3183 All-in-one.
    Click the Scan document in Solution Center-
    Error message displayed:
    The scanning software was launched with improper command-line arguments"
    Extended error information: 8,[(-1,0,0)]
    When Hp scan diagnostic utility  was used  - the message was: no scanners installed.
    how can we resolve the scanning problem
    nidataytay

    I have the same problem on a HP 5610 Officejet All-in-One.
    "The scanning software was launched with improper command-line arguments.
    8, [(-1, 0, 0)]"
    What is the solution? The scanner does not work. All other functions, print, fax, copy work from with in the HP Solutions Center software - but not the scanner.

  • Adobe Reader XI does not open files with a command line "path" argument.

    Adobe Reader XI does not open files with a command line "path" argument. Version X and lower all worked fine. I have deleted and reinstalled the program with no success. Is this a bug?

    Hi Daniel,
    What is the make of the printer and is it using PCL or PS driver.?
    Do you have Acrobat installed on this machine as well?
    Please check if 'Print Spooler' service is running on the machine.
    Regards,
    Rave

  • How change the wallpaper/background with a command line ?

    Hi people,
    did someone know how change the wallpaper with a command line ?
    thx a lot

    Hi,
    I think this can be done with PowerShell. We could create a function to set wallpaper:
    Function Set-WallPaper($Value)
     Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value
     rundll32.exe user32.dll, UpdatePerUserSystemParameters
    Open PowerShell; paste the function above in it to make this function work.
    Now, if you want to change some wallpaper, you could type the following text:
    Set-WallPaper -value "the path of you wallpaper"
    If you are interested, I would like to share the following article with you for your reference:
    Hey, Scripting Guy! How Can I Hide
    My Desktop Wallpaper?
    If you need some help on writing this script, you can also post your question to The Official Scripting Guys Forum:
    The
    Official Scripting Guys Forum
    Hope this helps. Thanks.
    Alex Zhao
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Compiling iPhone apps from the command line

    Hi guys,
    Does anyone know how to
    a) Compile and iPhone app.
    b) Run an iPhone app.
    using the command line? My concern is to have a command for each of these steps separately, rather than one for 'compiling and running'.
    Thanks in advance.

    For compiling, take a look at xcodebuild:
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/xcodebui ld.1.html

  • App fails to compile with mxmlc command-line but builds fine with flash builder IDE.

    Hi,
    i have this flex app (its a flex project created from flash builder ), it compiles fine when i build it from IDE.
    it fails to compile when i do it from command line through mxmlc.
    i am invoking the mxmlc at the location <flash-builder-installation>\sdks\<flex-ver>\bin\
    the mxml file is test.mxml
    i am invoking like the following
    c:\<bin>\mxmlc test.mxml
    i dont have any dependency on any of custom swc file.
    i am getting the following type errors when i compile it from my .as file
    Error: Type was not found or was not a compile-time constant: TouchEvent
    Error: Type was not found or was not a compile-time constant: File.
    Error: Type was not found or was not a compile-time constant: FileStream
    could you please let me know what i am missing here ?
    thanks,

    Is this a AIR app or a mobile app? If you are building AIR app for desktop then you can use amxmlc instead of mxmlc.
    If its a mobile app then use mxmlc +configname=airmobile
    -Gaurav
    http://www.gauravj.com/blog

  • How do I start an app using transset-df with the command line?

    I'm using openbox and have found that I can make xfce4-panel transparent using transset. The only problem is that I have to run "transset" and then click on the panel every time. Is there a command I could just type in to the command line that would start xfce4-panel with .75 transparency? I could then add that to my autostart.sh file and all would be good and dandy.
    What I was thinking is maybe there's a command like
    transset-df .75 xfce4-panel
    that starts up the panel with 75% opacity. Obviously that doesn't work because I tried it. I also read something about using a script, but I don't know how to write those. Perhaps there is a way to set it so whenever xfce4-panel is started, transset-df sets it at 75% opacity? How would I go about doing this?
    Last edited by Redrazor39 (2009-06-11 15:15:19)

    Openbox seems to be doing a 'tidy up' of all windows after autostart.sh completes.
    This would be fine, except for the fact that the tidy up re-renders every window and while it does so it re-sets transparency as part of the same process.
    So, to get your xfce panel to stick at the transparency setting you apply with transset-df, you need to ensure the transset-df is done after autostart.sh finishes.
    The easiest way to achieve this is to create a small script, say in /usr/local/bin
    # /usr/local/bin/openbox-xfce-panel-transset
    # Set xfce4-panel transparency after safe delay
    sleep 1
    transset-df -n "xfce4-panel 4.6.1" 0.75
    Add a call to this as the last line of your autostart.sh
    # Set xfce4-panel transparency after autostart.sh has exited
    openbox-xfce-panel-transset &
    Regards,
    Mike
    Last edited by bluearcus (2010-01-08 19:25:56)

  • Can't open .term Terminal.app files from command line

    Howdy. I use Terminal.app constantly for ssh'ing into numerous remote machines. On my G4 Powerbook I have simply created .term files with customized colors, titlebars, and an appropriate ssh execution string for each machine/userid combination, which I am able to open with "open ~/bin/foo.term". Life is no longer so joyously simple on my new Intel iMac. I create a .term file (via Cmd-s while in a terminal window), but the above command to open foo.term now simply doesn't work on my iMac once a single terminal window has been opened (even after it's been closed) -- I can start one such file only from the finder or via Launchbar or Quicksilver. The only way I can use my .term files is by switching to Terminal and selecting File...Open and clicking on the .term file -- which, being a command line (and Launchbar) junkie, I hate, of course. Applescripts don't work either.
    I would be forever grateful if someone could tell me how to fix this problem!
    txlogic
    Intel iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    TXLogic
    I cannot do it either.
    Ah, interesting -- thanks for the input. I had thought the problem might have something to do with the fact that I was using an Intel iMac, but you are using a PPC iBook. The problem isn't with 10.4.6 either, as that is what I'm running on my G4 Powerbook, and the .term files work as expected on that machine.
    Initially I thought it was a
    problem with permissions, i.e the term file hadn't
    the execute bit set (which it did not). Setting the x
    bit though did not help at all.
    Right, the .term files aren't executable.
    A work around was to
    save the command(s) into a plain text document in
    text edit (not rtf) as a .command file (no txt
    extension in this case) and set its execute bit in
    terminal (sudo chmod u+x ...).
    I don't quite understand the workaround -- what command(s) exactly did you put into the .command file? Could you paste the contents of such a file here?
    I have not dealt with term files extensively but I
    noticed that .term files are xml ones. Could anyone
    shed some light in possible changes in the way
    terminal handles them?
    Since the .term files work as desired on my Powerbook, it now doesn't appear that Terminal.app has changed its processing of the files. Something else is going on here.
    txlogic

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

  • Initiate Application Installation from App Catalog via Command Line / PowerShell

    Hey Guys - 
    We have a single, fairly extensive OSD task sequence which covers systems for all departments.  Due to it being a single TS for all, PC Lab techs must manually install some apps after it finishes via the Application Catalog.  In past environments,
    I've used MDT's UDI Wizard to create a frontend where techs could select additional software they wanted installed during the TS and it worked great!  I'm trying to get something like that approved now, but in the meantime told the techs I'd come up with
    a temporary solution to make their job easier.
    Enter WPI (Windows Post Installer.)  Back in the days before I used SCCM OSD and relied in Acronis images (yuck), I used a the WPI tool which only ran once - at the first login - even before the desktop
    loaded.  It's highly customizable and basically shows a single window which lists any applications or scripts (in groups) which you have configured.  You place a checkmark beside each one you want to install, click the "Install" button,
    then watch it's installer frontend install each of the selected apps.  Once done, it either restarts the PC or exists to the desktop.  For each application I can add, I'm provided with a few options to
    install it.  Obviously, an installation command line string field, but also a few more like installation order, requirements, and dependencies. 
    My Question
    Each of the applications I've listed are in our Application Catalog and are advertised to All Users.  Even though I could simply point the installer string to the app's source path and use the same string that the SCCM Application uses, I've been asked
    to do something different.  Instead, I'm trying to find a command line string which when run would perform the same action as if a user had selected to install an Application from the Application Catalog.
    My thoughts are that if this is possible, it would probably be in the form of a PowerShell string - not just a basic command line one.  Since WPI has a frontend which shows the progress of each app's installation progress as well as overall progress,
    it's designed for the installation strings to install the app silently.  Therefore, I would much prefer my solution run silently as well if possible.
    So... does anyone have any idea for how I can make this happen? Thanks!
    In case it makes a difference or answers any questions, below are two screenshots showing most of the fields and options which may be used to configure how an application installs in WPI.  I couldn't include the Dependencies one since I could only
    attach two images to my post.  Also, the manual for WPI is embedded in the application's
    download (ZIP) and not a page on their site.  For the examples below, I used Google Chrome, but didn't configure anything besides the application's name:
    Application Detail Options
    Application Command Options
    Ben K.

    From what I'm reading, you are working towards MDT but it's not approved yet, so the goal is to:
    Deploy a "bundle" of applications as painlessly as possible without using UDI to make customizations quick.
    Lets talk options then.
    Option 1:  If machines types are in a unique OU or security group, create a collection for that and set these applications to mandatory install.  After initial deployment, the provisioner can drop the computer in the proper OU or group and you're
    good to go.  Downside:  collections refresh plus client check-in makes this less than instant.
    Option 2:  Orchestrator.  You can write a runbook that will approve and push apps.  You can then use the Orch console front end or a more friendly sharepoint/SM portal to push things out like a Manager would approve apps.  Downside:  if
    not already deployed, there's no way they would approve that infrastructure if they are hesitant about MDT/UDI :)
    Option 3:  PowerShell and WMI.  This should be doable ... but I've never tried it.  It looks like you're headed down the right path ... but i guess my question is:  if you can't have UDI when do get to pick the app?  Are you planning
    to write a full multi-box for them to check their apps after the fact?  In that case ... just have the appcontroller URL pop up on first login ... might be easier than reinventing the wheel.

  • Vague error message with Administrator command line

    OS: Windows XP
    Discoverer Administrator 10.1.2.1
    Disco Admin client 10.1.2.48.18
    Oracle Database 10.2.0.4.0 64bit
    I am trying to export a report from our EUL that is encountering the error "Join "" not found in the EUL. Attempt to open workbook failed". However, when I try to run this through the command line, I get a completely vague and unhelpful error message:
    dis51adm.exe /connect euluser/pass@database /export "C:\report_export.xml" /workbook "ReportName" /xmlworkbook
    I get the error message "Command failed."
    If I run the above command and output a log file, it looks like this:
    3/25/2011 12:08:13 PM
    dis51adm.exe /connect /export C:\report_export.xml /workbook ReportName /xmlworkbook /log C:\dis_log.txt
    Exporting the following Business Areas:
    Exporting the following Folders:
    Exporting the following Items:
    Exporting the following Hierarchies:
    Exporting the following Functions:
    Exporting the following Summaries:
    Exporting the following Workbooks:
         ReportName
    3/25/2011 12:08:15 PM
    Exported the following Data:
    Exported the following Business Areas:
    Exported the following Folders:
    Exported the following Item classes:
    Exported the following Item Hierarchies:
    Exported the following Date Hierarchies:
    Exported the following Functions:
    Exported the following Summaries:
    Exported the following Workbooks:
         ReportName
    Exported the following Automated Summary Management Policies:
    Command failed.
    I know that I've been able to do this in the past (very long ago, and I don't remember exactly how I accomplished it...). What am I doing wrong?
    Thanks!

    Hi,
    I am not sure about the error but try the export again using the EUL owner.
    If the join wasn't found that it will find it using the EUL owner.
    Tamir

Maybe you are looking for

  • Exporting a PDF so that non-printing objects show but don't print?

    I've just spent a couple hours trying to find an answer to this in the forums, but can't. (The most frustrating was one thread where the original poster said, "I found the answer here," and gave a link that went right back to the main page of the for

  • File adapter polling location changing in between the process

    Hi, One more scenario, Say File adapter is polling for files in C:\. In between the process, the polling location needs to be changed to D:\. How to do this. Please help. ~rps

  • Multi-pass problems

    I bought Multi-pass for a couple TV shows (Daily Show & Colbert Report) because I knew I was going to be without satellite for several days. For the first couple days the shows automatically-downloaded ok, but for the last couple of days they haven't

  • Error on log on

    i ws workin on my laptop standalone server.. and system shutdown .. and rebooted when i strated the server again it gives eror "snap-in creation failed"... the snap-in is not created,it may not be installed properly . name: sap r/3 manager CLSID:{633

  • IMovie won't export to iDVD...why?

    I have a project in iMovie 9.0.9 and I want to send it to iDVD to burn a disk.  It worked fine on another project last week and now it doesn't.  iDVD opens, but nothing is there.  I can't find the converted project.  Where does it get saved?  Do I ha