How to create a shortcut to a windows program running in wine

I can open a windows application in wine by entering command in Terminal.
I would like to create a "shortcut" to do this that is effectively an application and can either live on the desktop, dock or apps menu
The commands I enter in Terminal are
cd ~/.wine/drive_c/Program\ Files/<<program folder name>>
wine <<program name>>.exe
I am running Yosemite on a MacBook Air
Any help appreciated
As you can guess this is all a bit new to me

Hi Scott,
Based on your aticle, I changed my script by adding the credential, but I still have an error.
Il also put the SQL specific port in the $dbServer variable.
Any idea ?
MY SCRIPT:
$siteName = "TEST Site"
$port = 80
$hostHeader = "sharepoint.test.be"
$url = "http://sharepoint.test.be"
$appPoolName = "TestAppPool"
$managedAccount = "DISNET\administrator"
$authenticationMethod = "NTLM"
$dbServer = "DSPORT-SQL02\DSPORTPRDEXT,50123"
$dbName = "WSS_TEST_Content"
$dbServer_secPassword = ConvertTo-SecureString "MySQLPassword" -AsPlaintext -Force
$dbServer_Creds = New-Object System.Management.Automation.PsCredential "DMZSharePointLoginSQL", $dbServer_secPassword
New-SPWebApplication -Name $siteName -Port $port -HostHeader $hostHeader -URL $url -ApplicationPool $appPoolName -ApplicationPoolAccount (Get-SPManagedAccount "$managedAccount") -AuthenticationMethod $authenticationMethod -DatabaseName
$dbName -DatabaseServer $dbServer -DatabaseCredentials $dbServer_Creds
Charles

Similar Messages

  • How to create a shortcut for desktop as with IE?

    I've switched my browser to "Firefox" from 'Internet Explorer and would like to know how to create a shortcut for my desktop.

    You can drag the favicon on the left end of the location bar onto the desktop to create a shortcut.
    You can also use an extension.
    * SaveLink: https://addons.mozilla.org/en-US/firefox/addon/savelink/
    * Deskcut: https://addons.mozilla.org/en-US/firefox/addon/deskcut/

  • How to create own customized screensaver on Windows 7 Embedded Standard sp1

    Hi Support,
                      How to create own customized screensaver on Windows 7 Embedded Standard sp1 OS.
    Regards
    YASH PAL SINGH

    This forum is for POSReady. wES7 forum can be found here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=quebecmisc
    Create the screen saver in Windows 7 first and then put the file in the distribution share to be included in the image. There are tools that can help create a custom screen saver:
    http://download.cnet.com/windows/screensaver-editors-and-tools
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • How to create a shortcut for a new application?

    I have made an application. I did a blankform too, which is the 1st form to start. Now I`d like to know how to create a shortcut that this form will start from a win desktop. What to write in the shortcut`s target (the path to the blankform- thats the name of it)!

    Well, if it's forms 10g, you can simply add the URL in your favourites and open it by selecting it from favourites menu of internet explorer.
    Please mark answer as helpful / correct, if it helps you
    Navnit

  • How to Create Roaming Profile(s) For Windows Workgroups

    This Tutorial Shows how to create roaming profile(s) for Windows Workgroups.
    Here are the steps in order to do this:
    On the host PC:
    1. Goto 'Folder Options'>'View' and un-tick 'Use Simple File Sharing'.
    2. Goto Network Connections and right click on the 'Local Area Connection' (Ethernet recommended)
    3. Goto Properties>General, and tick 'File and Printer Sharing'.
    Click Apply + Ok.
    4. Goto Control Panel>User Accounts, add a new user.
    5. Logon to this user, and open the profile folder properties.
    5b. Share this folder.
    6. Make the Share permissions so that 'everyone' has: Full Control, Read, Change.
    Click Apply + Ok.
    7. Click on 'Caching' and disable Caching for this Share.
    Click Ok.
    8. Now goto the 'Security' tab and give 'Administrator' and 'SYSTEM' 'Full Control'.
    Click Apply + Ok.
    On the remote PC(s):
    1. Make the same User as on the Host.
    1b.Logon to the account and log back out again. Delete the profile folder from 'Documents and Settings'.
    3. Give 'SYSTEM': 'Read','Read and Execute','List Folder Contents' to the 'Administrators' Profile
    4. Type 'lusrmgr.msc' into run, goto: 'Users', double click on the new user and goto the 'Profile' tab.
    4b. In the 'Profile Path' box, type \\hostPCname\ProfileName.
    Click Apply + Ok
    *Note* Replace the \\path\ accordingly to what names are on your Host PC.
    5. Goto regedit>HKLM\Software\Microsoft\Windows NT\CurrentVersion. Double click
    on 'ProfileList'.
    Find which key is for the new user. (Example S-1-5-21-58435627-18431725-18026167-1003)
    6. Right click that key and goto: 'Permissions' and give 'SYSTEM' 'read'.
    *Note* Once you logon to the roaming profile from the remote PC for the first time you can undo this step.
    7. goto GPEdit>Computer Configuration/Administrative Templates/System/User Profiles:
    Enable these settings:
    'Do not check for user ownership of roaming profile folders'
    'Delete cached copies of roaming profiles'
    'Log users off when roaming profile fails'
    "Add the Administrators security group to roaming profiles'
    'Prevent roaming profile changes from propagating to the server'
    7b. Make 'Timeout for dialog boxes' '1' (seconds)
    8. goto: Computer Configuration/Security Settings/Local Policies/Security Options:
    Make 'Number of previous logons to cache (if server is unavailable) '0'
    Now you're ready to login to the Profile on the remote PC.
    *Note* Sometimes, when windows loads it takes a minute for the profile folder to become shared again.
    Thanks for reading.

    Hi,
    I have replied to the below thread mentioning the FM's to create Profile sets, profiles and also target groups. This may be helpful to you.
    Re: target group creation
    Regards,
    Priyanka

  • How to create a shortcut on desktop

    how to create a shortcut on desktop

    Hi Julie,
    Sounds like you're using Acrobat.com. What browser are you using? The steps will vary a bit for the different browsers, but here are instructions for several popular web browsers:
    Create a desktop shortcut to a website | Firefox Help
    How to Create a Shortcut to the Current Web Page (Internet Explorer)
    How to Create Shortcuts to Websites on a Desktop for a Mac | Chron.com (Safari)
    Best,
    Sara

  • How to create a shortcut menu for the pane

    Hi all
    Well - I know how to create a shortcut menu for a control, but how is it created for a pane? There is the possibility to add an event case for a shortcut menu linked to a pane (see picture), but how can I create this menu?
    Message Edited by becktho on 08-01-2006 11:32 AM
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    ScreenShot001.png ‏22 KB

    ahlers option works, sorry but I can't add images from work!
    Just use the shortcut Menu Activation filter event? to create a menu.
    Ton
    Message Edited by TonP on 08-01-2006 12:56 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Example_BD.png ‏4 KB
    Example_BD.png ‏4 KB

  • I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    Have a look at the menu file/process multiple files. You can choose to add your signature (or the caption) to the image and export the new files.
    If that solution is not flexible enough, consider using the very affordable (12$)  Elements+ add-on which offers a 'meta stamp' script :
    http://elementsplus.net/v5/en/meta-stamp.htm
    Otherwise, have a look at other free and good solutions like Faststone Photoresizer, Xnview...

  • How to create an Oracle DATABASE through Java Programming Language.. ?

    How to create an Oracle DATABASE through Java Programming Language.. ?

    Oracle database administrators tend to be control freaks, especially in financial institutions where security is paramount.
    In general, they will supply you with a database, but require you to supply all the DDL scripts to create tables, indexes, views etc.
    So a certain amount of manual installation will always be required.
    Typically you would supply the SQL scripts, and a detailled installation document too.
    regards,
    Owen

  • How do i create a shortcut on my windows pc for accessing my icloud email

    How do i create a shortcut on my laptop desktop to access an icloud email
    detailed instructions please , not computer literate, please don't assume I know all the terms
    I want to click on shortcut...enter icloud name....enter password.....read and write icloud email
    thanks

    Ebay is a website, not a program. Refer to the article below to create a Firefox shortcut to a website.
    *See - https://support.mozilla.org/en-US/kb/create-desktop-shortcut-website
    Other - Check your Plugins and update as needed.
    #Check your Plugins - https://www.mozilla.org/en-US/plugincheck/
    #Next Generation Java Plug-in 10.15.2 for Mozilla browsers
    #*https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content

  • How to create a shortcut for all users in Win 7 and Win 8?

    Hi,
    I'll trying to make a script that will create a shortcut in every user profile account in a computer. I stumble upon the script below from
    http://gallery.technet.microsoft.com/scriptcenter/Create-shortcut-in-your-11cfd3de/view/Discussions#content.
    Option Explicit
    On Error Resume Next
    Dim objShell
    Dim objDesktop
    Dim  objLink
    Dim strAppPath
    Dim strWorkDir
    Dim strIconPath
    strWorkDir ="C:\Program Files\Microsoft Office\Office15"
    strAppPath = "C:\Program Files\Microsoft Office\Office15\ORGCHART.EXE"  'you have to use your URL to Interanet site or path to specific program
    'strIconPath = "\\server\Xyz.ico"     'specify the path to the icon please change to your valid path
    Set objShell = CreateObject("WScript.Shell")
    'objDesktop = objShell.SpecialFolders("Desktop")
    Set objLink = objShell.CreateShortcut("C:\Users\%userprofile%\Desktop\Org_chart_test.lnk") 'change here To your shortcut name
    objLink.Description = "this is a test" 'replaec with your description
    'objLink.IconLocation = strIconPath
    objLink.TargetPath = strAppPath
    objLink.WindowStyle = 3
    objLink.WorkingDirectory = strWorkDir
    objLink.Save
    I did some modifications to cater to my need. Now the question is, how can I make the script create a shortcut for every user profile from the script above?
    Any inputs would be greatly appreciated.
    Thanks!

    You could create the shortcut at one machine, then copy it to the target as part of the logon script. Note also that this line contains an error:
    "C:\Users\%userprofile%\Desktop\Org_chart_test.lnk"
    It should read:
    "%userprofile%\Desktop\Org_chart_test.lnk"

  • How to create an Interactive pop out window in inDesign CS 5?

    Happy New Year everyone.
    How do I create an interactive pop-out window in inDesign CS5? I want to have a filled content frame which has image, text and a border. when the user clicks on that frame, a pop-out window frame appears slightly over the previous frame in with a drop shadow fx. Then when the user clicks the pop-out window, it closes and the original content frame appears. Attached is a screenshot for reference.

    For what end product? HTML? SWF? PDF? Offset print? (I don't think so, but I might as well ask.)

  • CS4-How to create a shortcut for media browser icon clean up function?

    Hi again.
    I recently upgraded my system, now running CS4 suite in Window 7 - 64bits. This to be able to manage AVCHD files within premiere.
    I'm just starting to work with it and I'm missing the ability to create a shortcut for this function I had in PP2 cs2. I did go to the recommended reading before posing my question. There the most appropriate area I could find was about Bins Behaviours, at least I thought it was, and there was nothing in it.
    I have gone to Edit / keyboard  customization then each of the 3 choices, application, panels and tools. but could not see "Clean Up"
    I hope someone has an answer for me as I like to use this panel as a story board and use this function often and thank those who will try to help me.
    (I'm pleased that my avchd files are now coming nicely on the timeline!)_

    Is this what you are looking for?

  • How to create a VPN client for Windows Phone 8.1?

    We have our own VPN client for Windows and Android. I would like to create a VPN client  for Windows phone 8.1. After referring these site I found that there are some third
    party VPN plugins available for WP 8.1.
    I checked OpenVPN but it is also not available for WP 8.1.
    Is there any APIs available for creating a VPN client in WP 8.1 similar to
    VpnService provided by Android SDK ?

    The VPN APIs for WP8.1 are not open at this time.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to create a shortcut key for email ?

    how to create a short key on mac book pro

    You do not say what OS X you are running.  If it is 10.8.3 you simply can have Mail a 4-finger swipe away.
    No short key neccessary?
    If some earlier OS X see >System Preferences>Keyboard>KeyboardShortcuts>ApplicationsShortcuts

Maybe you are looking for