How to pass a file name to a ZAV exe to open with the prgm?

Hello.
Probably a "stupid" question . . . What is the correct syntax for launching a ZW virtualized application along with a specific file? For example, in a command window if I type "ProgramName.exe File.xyz" I would like the application to start and open the specified file. This works fine with the application installed normally, however I get a "Cannot find the specified file. Please verify that the file exists" error when trying the same thing with the app virtualized. If I double click on the same file in explorer, it opens the virtualized app and loads fine. Any help would be appreciated.
Thanks;
Nick

See this post, http://jaredjennings.org/wordpress/?p=158
You can do this with triggers.
Jared Jennings
Senior Systems Engineer, Computer Integrated Services (CIS)
http://www.ciscony.com
My Blog and Wiki with Tips, Tricks, and Tutorials
http://jaredjennings.org
Twitter@ jaredljennings

Similar Messages

  • How to pass video file name to run shell script

    Trying to make an automator script that will 1. Start a video capture, 2. Stop video capture, 3. Rename video, 4. Run Shell Script. Here is the shell script:
    for f in "$@"
    do
    echo "$f"
    /usr/bin/podcast --server my.podcast.server --user myself --pass mypass --submit --file $f --workflow "my workflow" --metadata /path/to/file
    done
    Question:
    Do I need to create a variable in the automator script to pass it to the script? If I need the variable do I also need to use both Set Value of Variable and Get Value of Variable? If I don't need a variable does $f need quotes around them?

    I'm not familiar with the terminal command /usr/bin/podcast so I don't know what it does but what i said is correct. to pass a file to this action you don't need any variables. the previous action in the workflow should output the video file you want to process, that's all. how you arrange that is up to you. it's clear that you have to fill in appropriate things in that shell script like " my workflow" and path to metadata. But if you have questions about how this shell action works you should ask people who made it.

  • How to pass a file into a java method

    I am trying to pass a file into a java method so I can read the file from inside the method. How can I do this? I am confident passing int, char, arrays etc into methods as I know how to identify them in a methods signature but I have no idea how to decalre a file in a mthods signature. Any ideas please ?
    Thanks

    Hi,
    Just go thru the URL,
    http://www6.software.ibm.com/devtools/news1001/art24.htm#toc2
    I hope you will get a fair understanding of 'what is pass by reference/value'.
    You can pass Object reference as an argument.
    What Pablo Lucien had written is right. But the ideal situation is if you are not modifying the
    file in the calling method, then you can pass the String (file name) as an argument to the called method.
    Sudha

  • BDC session created as i excute I have not passed any file name

    Hello Guru's
            I  have created one BDC
    PARAMETERS : readfile LIKE rlgrap-filename DEFAULT
                 'c:\textfile.txt' LOWER CASE.
    on execute I'm passing a new file name & my BDC works fine.
    But in case i execute & do not pass any file name & cancel the same a BDC session is generated with zero values.
    How to restrict the same. Please guide.

    hi,
    make ur field obligatory..
    PARAMETERS : readfile LIKE rlgrap-filename DEFAULT
    'c:\textfile.txt' LOWER CASE OBLIGATORY.
    and make another check.
    after uploading the file to internal table, check whether it contains any value...
       IF <tab>[] IS INITIAL.
          MESSAGE 'No Data in FILE.' type 'E'.
          LEAVE LIST-PROCESSING.
       ENDIF.
    and if a blank session is generated, go to SM35 and delete that session...
    Edited by: Sukriti Saha on Oct 23, 2008 10:39 AM
    Edited by: Sukriti Saha on Oct 23, 2008 10:41 AM

  • How can I hide file names in a photostream?

    How can I hide file names in a shared photo stream on icloud.  I don't want people to see how many pictures I take at an event.  Can this be done to pictures already posted?

    The Shared Photo Stream uses the filename of the original image file as the title that is shown in the stream.  If you want to hide the original filename, export the image to a folder in the Finder, rename it, then reimport it to share it.  You can rename the files directly when exporting.
    Or, if you do not mind to change the names of the originals in Aperture use the command "Metadata > Batch change" and change the title of the image, with the option "Apply to Original file" enabled and "Add metadata from" set to "None".
    To rename the photos already shared, delete them from the Shared Album and share them again.

  • How to retrieve various file names from a filepath of application server

    Hi All,
    I am using a FILEPATH  of application server which can have multiple file names i want to retrieve data from all the existing files.
    i am using FM "GET_NAME_FILE" but it is applicable only for file name.
    so my question is how to fetch various file names of particular filepath.
    Thanks in advance.

    Hello Mayank,
    You can use the below FM and code
    PARAMETERS: p_file TYPE rlgrap-filename.
    ***AT Selection-Screen*******
    AT SELECTION-SCREEN ON  VALUE-REQUEST FOR p_file.
    ***Function  module for F4 help from Application  server
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    * EXPORTING
    *   DIRECTORY              = ' '
    *   FILEMASK               = ' '
       IMPORTING
       serverfile             =  p_file
       EXCEPTIONS
       canceled_by_user       = 1
       OTHERS                 = 2
      IF sy-subrc = 0.
        MESSAGE 'Successful'  type 'I'.
      ENDIF.
    Regards,
    Mithun Shetty

  • File upload uix controller (how to access/save file name in DB returned by

    sorry i am new in uix xml.
    my question is how to save/access file name in DB returned by FileUploadManager.
    I have used example Using a Controller in ADF UIX. Its uploading the file fine but i am not able to save this filename in DB so that i can access later.
    I only want to upload the files in Web Server not DB so only i need file name to save in DB.
    anybody can help me.

    you can use the movieclip properties, currentLabel (the current or previous, if there is no current, frame label), currentFrameLabel (may be null ) and currentLabels (an array of the movieclip's frame labels).

  • How to show real file name on file download box when the file is downloaded

    Here is my procedure for downloading from Oracle database to the client, the file is stored in a Blob field, a DAD was defined with no errors, in fact the upload works with no errors. The files are in text format, the field MIME_TYPE has the value 'text/plain' and DAD_CHARSET is ascii.
    PROCEDURE download(p_filename IN VARCHAR2) IS
    BEGIN
    wpg_docload.download_file(p_filename);
    EXCEPTION
    WHEN OTHERS THEN
    htp.p(sqlerrm);
    RETURN;
    END;
    All functions are runing well, in fact it downloads with no errors but the file name that is suggested is the name of the package where the procedure es saved.
    How can the real file name be showed on here? it is the parameter p_filename
    I am using IE 6.0 SP 2, Oracle 10g Enterprise Edition Release 10.1.
    Thanks for help
    Yuri Lopez

    I forgot something, i am using Forms [32 bits] Versión 9.0.4.0.19 and using web.show_document with a call to the procedure in the DB

  • How to automatically add file name to email subject line

    I just upgraded from Adobe Acrobat Pro 9 to Adobe Acrobat XI Pro.
    Previously, when I sent a form via email in outlook, the subject line of the email automatically filled the file name. With this new version, this no longer happens.
    Is there a setting that allows me to automatically fill the subject line of the pdf with the file name (or some way for me to set the subject line automaticallly)?  Most of my emailed pdf forms go to the same person with the same subject line.
    Thank you for your consideration!

    Unfortunately Adobe lacks the ability to control and access the email attachment file names.
    You can set a standard submit button url action to a mailto command string with a mailto:you[at]yourdomain.com&subject=Your+Custom+Subject+Here
    But you won't be able to know what the file name is to insert it into the subject.
    To have full control over the output, I suggest you submit the data or whole PDF to a server-side script, such as PHP or ASP.net.
    A script can can inject a field values into the custom SMTP email body, subject, recipient lists and attachment file name by parsing the submission or passing values via a Querystring.
    Visit pdfemail.net for online examples and more information on server-side scripting.

  • How to strip a file name and add it to array

    Hello I am new to labview, and I need to know how to strip a file name and add it to an array. For example, filename joe.csv, then take "joe" and add it to an array with other inputs. A visual depiction will be very helpful
    Attachments:
    channel read and error check R03_v9(JHK).vi ‏101 KB

    What does your code attachment have to do with your question?
    What are "other inputs"?
    I assume you have an array of strings. You can strip the filename using get file extension. You can build an array using build array. Wire the existing array on one input ant the string as a second input.
    LabVIEW Champion . Do more with less code and in less time .

  • How to get Sequence File Name ?

    Hello everybody !!
    I'm using TestStand 3.1 and i would like to get sequence file name. I've tried to use NameOf() function, but without success.
    Of course, I've searched previous posts about the same question, but nothing works.
    Is there someone able to tell me how to get sequence file name ?
    Thanks a lot.
    MrOrange

    MrOrange,
    first of all, the solution i will present only works for saved sequence files.
    you got all information you need within TestStand itself, just browse for RunState.SequenceFile.Path. here you can find the filename. but the path of the file is also included in the string, so this is a part you have to get rid off.
    you can use statements to extract the filename from the path. just search the string for the last occurence of "\\" (searchinreverse!) and then you can retrieve the right() part of the path. beware that right() needs the number of characters you want to extract, not the startindex!!
    hope this helps,
    Norbert B.
    NI Germany
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I retrieve file name being processed in Batch

    Hi All
    I want to retrieve the current filename that is being processed by a batch, e.g. A1~Texas~Actual~Jan-2010~RR.txt
    I can do this in various event scripts that have the strFile parameter but I need to do it in the BatchAction event script and cannot see how I go about it. I can see various objects in the API guide that should help me get at it but can't get it working.
    Has anyone done this before or got any pointers for how I can do this?
    Many thanks
    Stuart

    Hi Tony
    I have been able to retrieve this using the PstrFileName property in various event scripts, particularly those where strFile is a parameter and then used API.DataWindow.Utilities.fParsePath to trim that and provide just the file name. However thsi does not work in the BatchAction event script.
    I have found a property in the Batch Loader section of the supplementary API called PstrFileTitle but my VB is not strong enough to work out how to get at it. From what I can gather I would need to supply the BatchID (plus other parameters) to another function that would return this into a recordset and then read from the recordset (??) but I am not sure how to go about this.
    To give you some background, what I am trying to achieve is writing to a log file pre and during batch processing where the log file name should use the source file's name, e.g. 'SourceFile.txt' will write to SourceFile.log. The issue is that for batch processing we have to rename 'SourceFile.txt' s 'A1~Texas~Actual~Jan-2010~RR.txt' and I previously tried to use the PvarTempNC variables to store the source file name only to find that I could use that in the BatchAction event script!
    If you can point me in the right direction that would be great.
    Thanks
    Stuart

  • How to view long file names and sort files within folders/projects?

    Hello, like so many people here, I am a new mac user, but certainly not computer illiterate. I have been a professional photographer for 10 years and recently change to mac and have been slowly trying to adapt my work flow accordingly.
    However I have become increasingly frustrated with Aperture 3 and after reading posts here it looks like I am certainly not the only person. While in my case I am sure it is because of my inexperience with mac systems so any guidance or assistance is much appreciated.
    Hopefully my questions are simple. I have been importing my images and re-naming images as I do so. A very simple combination of date, custom name, and counter. However, when I look at the images once the import has completed, they are not in any logical order within the 'project'. I have tried to sort them by file name, orientation, file size, etc, both ascending and descending, but they will not list in the correct order. eg the file '2010-03-09 Lyon France 001', continually falls between '2010-03-09 Lyon France 022' and '....021'.
    This has also lead me to a further question. While my file names can generally be read when the image is a landscape format, on the portrait images the file name it too long for me to read the whole name, and I can not find anyway to read the file name, eg browser, split screen, viewer, or full screen.
    Im sorry for all the details, and I am sure it is just my lack of experience, so appreciate your help.
    PS. On a separate note, I notice on another thread from the frustrated user 'ultratechy' that he got a reply from Tony who stated 'Also after installing any application you should always run disk utility and repair permissions....' Now as I am completely new to mac, I had no idea about this. Any other tips that I should always be aware of? Thanks again.

    Thanks for your reply Calx. If it makes you feel better, I am actually a New South Welshman - just living in the sunshine state!
    You are correct, I am trying to get my head around a new way of working and thinking, but I suppose it will all become clearer as time goes by. I have re-visited the manual many times, and been doing loads of research online, but just trying to put it all into practice now, so any tips or advice is always appreciated.
    At the moment, I am just working with a small part of my library until I do get my head around things before moving onto the bulk of my images. I have my images stored and backed up on multiple external hard drives. I am trying to import my images into aperture from an external drive as I have been slack over the years with keywording, metadata, organising, etc etc, so I figure from what I have read that aperture may assist me with making these time consuming tasks a bit quicker and easier.
    I have put a bit of thought into my filing structure, but I am sure that with further use and understanding, this may change in the future, but I hope not. To give you an example of how I am thinking and working - I have used folders for my regular clients, eg, Ray White, and then made another level of folders within 'Ray White' for the date, and then in each 'date folder' I place my projects and name them with the address of the property I have photographed. I select and edit images from each project and place them in albums under each project. Not sure if this is the most perfect structure, but any advice is welcome.
    Keywords is always an issue with me. Over the years I have compiled a number of list for each client and each 'type' of photography. For example, real estate images have there own list, I just simply manually add keywords for specific jobs, eg the address and any specific location or features.
    Again, advice and guidance always welcome and I would appreciate how you go about these topics? And maybe you can help explain something that I have pre-emted may be a problem, and it may happen when I move onto my larger library, and I am not sure how to explain this as it may show my lack of management previously. When I worked on my PC, I used PS4, Adobe Bridge and Camera RAW pretty much exclusively. For my landscape images for example, I might have 2 or 3 variations of the one images, eg, black and white, sepia, and color for instance. But the file name remained the same, I just stored them in different folders indicating what version of the image was stored there. Now I am thinking that when I import images in Aperture, I will come across difficulties because Aperture will think the I am importing duplicate images because I will in fact have 3 images with the same file name, even though the adjustments I have made to them are different. Is this the case? Will I have to make adjustments again? Will I have to change the name of the files prior to importing? If so, any advice or tips?
    Well, I should stop there. Im sorry to bombard you with some much text, but as mentioned, I am new, and finding my feet, so thanks for your time.

  • How to create logical file name

    Could some one tell me how to create logical file names in BW , and when to use the transaction SF01.
    Thanks

    The following describes the procedure for creating a cross-client definition using the transaction FILE.
    You create the client-specific definition in the same way using transaction SF01.
    1.Call transaction FILE for cross-client file names.
    2.Double click the dialog structure Logical File Name Definition, Cross-Client.
    You access the screen Change View "Logical File Name Definition, Cross-Client": Overview

  • How to pass dynamically table name in my cursor declaration

    Hi:
    I am new. could you please let me know how to pass a table name dynamically in my cursor declaration? for instance I am declaring the following cursor in my pl/sql procedure:
    CURSOR crs_validate IS
    select * FROM <ACT_JUN_2006_LOB>;
    this ACT_JUN_2006_LOB table name, I should able to pass it when I open the cursor ... any help appreciated. thanks.
    srini

    Thanks all for the response. REFCURSOR does work: here is an example ... which I found on-line
    procedure emp_test(
    month varchar2,
    year varchar2)
    is
    type cur_typ is ref cursor;
    c cur_typ;
    query_str varchar2(200);
    emp_number number := 7900;
    salary number;
    name varchar2(30);
    Begin
    query_str := 'Select empno, ename, sal from emp_' || month ||'_'||year
    || ' where empno = :id';
    open c for query_str using emp_number;
    loop
    fetch c into emp_number, name, salary;
    exit when c%notfound;
    dbms_output.put_line(emp_number);
    end loop;
    close c;
    end;

Maybe you are looking for

  • Help i can't import my CDs on the new itunes

    I know that lots of people are having this problem because i have read alot of the posts, but if somebody would be kind enough to help i would really appreciate it. I can't import any of my CDs in itunes. The CD does not appear in the source list. So

  • About transmitting object;

    Test class is used to send message and ask for transmitting object;but it doesnt work; package adtv; import java.net.*; import java.io.*; public class Test{     Socket cSocket=null;     PrintStream writer=null;     public void printPerson(){        

  • OBIEE 10 upgrade from SA 7.8 - Delivers not authenticating after upgrade

    We just upgraded this weekend - having problems with Delivers. We've defined the admin account using the new "Cryptotools" steps - and have the instanceconfig pointing at the credentialstore.xml - all the accounts/pw match - and we've recycled the se

  • Where is my downloaded rented movie?

    First I downloaded a movie onto my iPhone5 and thought that I could later watch it on my MacBook Air, but I couldn't find it there so I had to watch it on my iPhone5.  Then I rented another movie and this time I used my Macbook Air to do it. It succe

  • Help! My Movies Won't Play!

    I Bought Shakespeare In Love, And It Plays Fine. About A Month Later, I Bought Without A Paddle, But That Won't Play. I Bought Both Through Apple iTunes, And The First Still Works Perfectly. Any Suggestions?