I need to pass command-line variables in a file - remoteapp.rdp

my normal program outside the remote desktop would be

R-A123456 program.exe

I could not pass command-line variables in the file program.rdp.

Program.RDP R-A123456 does not work.

from the program.rdp file

replacing the shell: s. ProgramName

remoteapplicationprogram:s: | ProgramName

gatewayhostname:s:

remoteapplicationname:s:ProgramName.exe

remoteapplicationcmdline:s:

Help

Server 2008 R2

XP Professional SP3

Hi John,.

Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question in the following forum.

Category of the Windows Server

Tags: Windows

Similar Questions

  • Create the command line for the Dump file without having to install additional tools

    I should automate the creation of dump files. It must to be command line and without installing tools such as ProcDumpTechNet.Microsoft.com/Sysinternals/dd996900, minidump or similar. I think that it is not a solution but if someone can help me.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • In bulk to rename files in a folder by using the DOS command line or a batch file.

    Can someone help with this problem, please?  I remember seeing the DOS command line to do a mass renaming of files in a folder or a batch file. for example, vacation photos are all in the format DSC00001.jpg to DSC001234 and I want to change it to something like, say, Rome0001.jpg to Rome1234.jpg.

    How about this:
    Go to the folder of your files in that.  Create a text file, and open it (Windows should use Notepad, that very well).
    in the file type:
    Ren dsc*.jpg rome*.jpg
    Now, save the file as:
    renamethem.bat
    (Make sure you call it ".bat" and save it as a txt document, which will make a simpel file and not add a strange formatting)
    From there, just double-click this file and it renames all your pictures accordingly.
    :)

    Old timer

  • Is there a problem with Adobe Reader DC using the command line to open a file?

    Hello

    I am a developer and we use Adobe Reader to view our PDF help files in our application.  For years, we used WinExec() to open Adobe Reader, by specifying the file to open on the command line and it has been working perfectly.  In other words, upward until our users began to load Adobe Acrobat Reader DC.  Despite this work very well when you type a command using CMD.exe, it simply does not help WinExec() from another application programmatically.  Also, I modified the code to try using CreateProcess() or ShellExecute() and these functions do not work either.

    It may have to do with the fact that there is a switch or a parameter now within the DC, but I don't know what it is, or why it happens.  If anyone can shed some light on this it would be much appreciated because it severely hampers our latest version of the software.

    Kind regards

    Leigh.

    A common cause is not to put quotes on the command line, so instead of

    "c:\program files...\acrord32.exe" "c:\documents and settings\...my file.pdf.

    You write

    "c:\program files...\acrord32.exe" c:\documents and settings\...my file.PDF

    This has always been bad, but older versions it would accept anyway. (It was a recent change but not in DC).

    I would recommend using ShellExecute instead of the command line, however. That simulates a double-click and executes everything the user has created for PDFs (perhaps Reader, Acrobat maybe, maybe something else).

  • Add controls from the command line to convert PDF files to excel

    Are there any current control command line to run the PDF to Excel conversion available via acrobat pro XI?

    N °

  • How to pass the line for the delimited file type?

    Hi, I want to ask you how to jump (example: the line of the first two) for delimited file type?
    Thank you...


    Here's my script
    Int NY_Skip06Center [strField, strRecord]
    '------------------------------------------------------------------
    "Script to Import DataPump FDM:
    "Created by: FDM_Admin"
    "Creation date: 28/02/2006.
    '------------------------------------------------------------------
    Dim strEntity
    'Check the first two characters of the entity.
    StrEntity = 1 to 6
    "Line break
    Res.PblnSKip = True
    Next StrEntity
    End if
    End Function

    But he returns this error when importing
    Error: An error occurred importing the file.
    Detail: Object Variable or With block variable not set

    Anyone know what is the problem

    Published by: user649207 on March 19, 2010 02:15

    Published by: user649207 on March 19, 2010 03:04

    You're overloading it.

    Your script can be this:

    Function SkipBlankAcc (strField, strRecord)

    If Trim (strField) = "" then
    Res.pblnSkip = True
    End if

    SkipBlankAcc = strField

    End Function

    If it works for you, please mark the answer as being correct others to take advantage.

  • syntax of command line for a .cmd file give share permissions

    I am trying to create a .cmd file (or script) to create a user in a shared folder and set permissions for this new user.

    .cmd file

    net share newspapers-OracleG = G:\newfolderz\Logs-Oracle / unlimited * it seems to work very well

    Subinacl /subdirectories G:\newfolderz\Logs-Oracle / * address email is removed from the privacy * = f * the window back 1:0, modified action result: 0, failed: 0, syntax errors: 0 when this works so do not think that anything good that happens.

    I realize the subinacl command does not create the user, I guess I'm looking for a command to stay between the netshare and the subinacl do the creation of the user to the administrator.

    any ideas appreciated.

    Thank you

    Jim

    Hello Jim,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

  • Start Adobe Updater from the command line or a batch file

    Anyone know how to start adobe Updater from the line Commane or ideally a batch file.

    I hope it's something easy as

    "%ProgramFiles%\Adobe\Reader 9.0\Reader\AcroRd32.exe" / Update

    It is easy, but you must first find the update.  Different versions of the Adobe Reader software installed on different locations; also, there are different versions.

    On the computer I am currently using, it is located in program files Files\Adobe\Updater5 - so I have to run as

    "%programfiles%\Common Files\Adobe\Updater5\AdobeUpdater.exe"
    
  • Go (argc and argv) command line argument to a LabVIEW built the shared library.

    Hello

    I correctly use this trick to create a LabVIEW application that runs on Linux without X display.

    http://digital.NI.com/public.nsf/allkb/5D6EC36DCF43343786257449006919E6

    I would like to know if it is possible to pass command line arguments (. / TEST A B C D) directly in the library shared without having to pass arguments using an array of strings that would need to write code using DSNewHandle, DSSetHandleSize, extract arguments and... (I'm not proficient in C, but if I don't have the choice, I'll do and improve my skills of C).

    int main(int argc, char *argv[])
    {
            Test(argc, argv);
            return 0;
    }
    

    Thank you

    Michel

    Well, you can always flatten it into a single string separated by a space and pass like that. Reverse basically what made the operating system, when he calls your main function with command line parameters. And while the first element of the array is always the name of the program itself you can just ignore that here, but then put shaped everything in a single string.

  • VBS script does not have command line parameters

    Suddenly the VBS scripts that I use for several years is no longer work correctly on Windows 7.  By "suddenly" I mean they worked Wednesday and do not work on Friday, two days later.  There were / are two incidents:

    First of all, the program default for the extension VBS WScript to CScript changed.  CScript would scripts pretty well, except that my scripts are designed to run in debug mode under CScript, with many calls MsgBox, and I need them to run unattended.

    So I re-associated .vbs WScript.  Now the question is that WScript.Arguments.Count always returns 0 even when the script is invoked with command-line parameters.  I checked with the command FTYPE that Windows is configured to pass arguments to WScript:

    C:\>Assoc .vbs
    .vbs = VBSFile

    C:\>ftype VBSFile
    VBSFile="%SystemRoot%\System32\WScript.exe" "%1" % *.

    It's as if a Windows Update has suddenly dropped support for the %

    If anyone else has noticed this?  I can't go to CScript - I wrote dozens of scripts that I designed to behave differently under CScript or WScript.

    OS = Win 7 Pro 64-bit SP1

    In the meantime, I'm going to see events in the event viewer to see if this box received updates, MS or otherwise.

    Thank you for responding.  The content of the registry that you have provided is almost identical to one that I exported from a work computer.  The only difference was in the placement of the @= line "VBScript Script file", so I tried to import them both.  No one changed the behavior.

    Fortunately, this isn't a problem only when I need to type command-line parameters.  So I also tape "WScript" before the name of the script before you press Enter.

    I don't think I'll do more to solve problems, but I'll keep trying all the answers in this thread that look promising.

    Hello
    Check this key?

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vbs

    You can export and send the content here. The value under "UserChoice" is most likely the culprit. And remove "UserChoice" key should straighten this issue.

  • Device command line find utility for Toshiba Bluetooth Stack

    Hello

    Is there a bluetooth for Toshiba Bluetooth Stack command line utility, which can be used to discover bluetooth devices? Our application needs such a command line utility to enable the detection of using Toshiba Bluetooth Stack bluetooth device.

    We looked at a few line utilities Bluetooth command line tools, which all work fine with Microsoft Bluetooth Stack and control including BluetoothView. However, they did not work with Toshiba Bluetooth Stack.

    We would be very grateful if someone could share experiences or throw us some lights on it.

    Thanks in advance
    Ray

    Hello

    Try to remove the Toshiba Bluetooth stack and to replace by the
    Microsoft Bluetooth Stack.
    Found an interesting document that explains how to:
    http://download.Parrot.com/HTML_Update_Procedure/Replacing_Toshiba_BT_Stack_by_the_Microsoft_BT_Sta ck_EN.pdf

    Then you could try to use the mentioned tools that work with Microsoft Bluetooth Stack

  • Pass the timeline variable to one of my classes!

    Hello!
    The title says it all.

    I need to pass a boolean variable is set to false for one of my classes called "Edit".

    It is passed to true when one of the functions of this class is managed.

    I tried a few ways different, but had no luck.

    Someone has an idea?

    If you instantiate the class in the timeline panel, you can simply call a method in the class - passing the variable as a parameter.

    easyGame.setTimelineVar (myVar);

    And have another method that allows you to retrieve the value:

    myVar = easyGame.getTimelineVar ();

  • Preview in Browser - Browser command-line switches

    You need to add a command line switch in the browser to "Preview in browser". DW 'add browsers' and 'Edit' will not accept command line switch. Created a shortcut of Windows with necessary command line switch, but DW will not allow a shortcut as a path to the browser either.

    Still, all this resolved?

    p.s. Chrome is notGoogle t allow session cookies (document.cookie) local. A command line switch of "- enable - file-cookies ' will do, however.

    Thanks in advance.

    You need to add a command line switch in the browser to "Preview in browser". DW 'add browsers' and 'Edit' will not accept command line switch. Created a shortcut of Windows with necessary command line switch, but DW will not allow a shortcut as a path to the browser either.

    p.s. Chrome is notGoogle t allow session cookies (document.cookie) local. A command line switch of "- enable - file-cookies ' will do, however.

    I have not tried, but try adding the switch directly in the preferences. The preview in the browser settings are stored here:

    Menus to launch \HKEY_CURRENT_USER\Software\Adobe\Dreamweaver CS5\Browser

    HTH,

    Randy

  • Add text from the command line to the output so that I can know how a command has been run when it generated the output

    This is a question and a suggestion...

    I would like to be able to precede or add if it works, the command line in the output file that creates the order.

    Example:

    I run dcdiag with switches, etc. and create an output file of results that gets saved or sent to a person or just put it in a folder. Of course, it could be that someone else ran the command and then sent the file. Anyway the problem is the same - what was the exact command line that has been executed to achieve these results?

    Question:

    Is there a known way to do from the command line that I can apply to any command?

    Suggestion:

    If this isn't the case, then I would suggest MS to include this function in all the BACK and PowerShell commands able to produce text output.

    If all goes well they monitor this forum and find it's a great idea and send me a check (pinky in my cheek) a meeellion of dollars. Then I and I alone will rule the world.

    Here you go:

    d:\>format i: / FS: NTFS > format.txt
    d:\>echo i format: / FS: NTFS > format.txt

  • How to pass variables by using the command line when starting from a native application ActionScript

    How to pass in variables or arguments to start using the command line when starting a native ActionScript application? For example, I have my app MySweetWidget call and it was compiled with Adobe AIR runtime in captivity so now I have MySweetWidget.exe.

    In the command line, I call MySweetWidget.exe and would like to pass in variables or properties of the application. I guess that these variables are read from the loaderInfo.parameters object.

    Please let me know if the Adobe AIR runtime supports passing the parameters to native execution. If so, I would like to help determine the correct format of how pass variables. So would you want to read those loaderinfo.parameters object?

    Thank you

    Jeff

    I found the answer to my own question:

    Yes, it's a feature supported. It is documented on the following page:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/desktop/NativeApp lication.html #event:invoke

    When you subscribe to the event from the NativeApplication invoke it will subsequently send the event and you read the table of e.arguments object to get the start in the native application arguments.

Maybe you are looking for

  • QuickTime will not be a film without launching all movies

    When I try to launch a film, he plays, but he is soon joined by all the movies on this computer. All movies start. They are not in the same folder. Only is selected and launched. QuickTime won't let me play one movie. There is no place to install any

  • How can I get the upgrade on my Satellite 2450-201 wireless?

    I'm a total newbie in the wireless world. Currently have a main PC connection broadband. I have my Toshiba laptop to my United work and need a constant internet access, which is difficult with 5 belonging to the family using the broadband on the PC H

  • How do I encrypt a data file so that only I can retrieve the Info?

    How do I encrypt a data file so that it cannot be read without permission? I have a request where the client shouldn't have access to the data that I need to save for troubleshooting purposes.  (there are trade secrets, I want to protect)  My plan is

  • Default link to e-mail

    When I click on an e-mail link (i.e. on craig's list, I am sent to the MSN e-mail account, I do not have access to.)  How can I change my routing by default to explore or hotmail?  I tried to remove MSN my default under Internet connections in the Pa

  • Analog output on USB6008 in C ANSI does not work

    I tried to program the analog output on a device of USB6008 under MSVC ++ 6.0 with the latest NOR-DAQ 8.8. The lines of the example of the ANSI C program ' MultVoltUpdates - IntClk.c ' work very well with a device emulator, but not as soon as I try t