Create multiple shortcuts

Is it possible to create multiple shortcuts - specifically an online and an offline only shortcut, If so, how? Thanks.

I can get a shortcut created but as soon as I attempt to place the runas argument in it starts to fail working.
What does "I can get a shortcut created but as soon as I attempt to place the runas argument in it starts to fail working" mean? Show us your code, and also please copy and paste any error messages. (Remember, we can't see your screen.)
Bill
Here is the code that i currently have (a work in progress)
$ws = New-Object -com WScript.Shell
$Dt = $ws.SpecialFolders.Item("Desktop")
$Scp = Join-Path -Path $Dt -ChildPath "Notepad.lnk"
$Sc = $ws.CreateShortcut($Scp)
$Sc.TargetPath = "C:\Windows\system32\runas.exe /user:MiniLappy\Test C:\windows\System32\Notepad.exe"
$Sc.Description = "Notepad Link"
$Sc.Save()
Under the Target Path part if i have this then it doesnt work
$Sc.TargetPath = "C:\Windows\system32\runas.exe /user:MiniLappy\Test C:\windows\System32\Notepad.exe"
And i get this Error Message
Exception setting "TargetPath": "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"
At line:5 char:5
+ $Sc. <<<< TargetPath = "C:\Windows\system32\runas.exe /user:MiniLappy\Test C:\windows\System32\Notepad.exe"
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyAssignmentException
But have this which works but not as intended
$Sc.TargetPath = "C:\windows\System32\Notepad.exe"
It Creates the shortcut fine however it doesnt do what i want it to do so to speak.
Just getting this bit to work would be the first step for me and then the rest a phase 2 so to speak

Similar Messages

  • Multiple shortcut toolbars in Adobe Acrobat x std

    I'm looking for a way to have multiple shortcut toolbar lines in Adobe Acrobat X std.  I don't like the drop down tool bar that is present.  I use multiple addins in my toolbar and I want to see them all up in the toolbar for easy use.  Is there a way to add multiple lines of toolbars instead of having the drop down overflow box?

    You'll want to ask in the forum for Acrobat. This one is for the free Reader which cannot do any of this.
    But to get you started, you can use Document>Extract pages to create a new file of the modified pages...

  • How to create multiple toolbar buttons in jsp ?

    hi all,
    how to create multiple toolbar buttons in jsp ?
    plz help me

    mgmt
    plzhttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • Multiple shortcuts

    It's an organizational issue. For certain activities, the are generally a few apps one want to be able to access quickly and without the distraction of other icons. So, for example, I fly with my iPad. So I've created a home screen - the first page) -that has links to only those 4 apps I want to be able acess quickly in flight. But those apps are also useable for other endeavors, so I would want them there also.
    So, for example, I take in-flight notes in Notability, so I want a shortcut to GoodReader on my "In-flight" homescreen. But I also use it to take notes at business meetings, so I'd want a link to it in my Business group. Is placing multiple shortcuts to the same app on different pages and different groups somehting the iPad allows or is that level or organization available only in Android and (I assume) Windows tablets?
    Thanks.

    I've never seen on iOS devices the ability to create multiple links to the same app.

  • Create multiple language subtitles

    Hi,
    is it possible to create a subtitled movie in iMovie where you can change the language of subtitles (create multiple sets of subtitles)?
    Thanks!
    Ingo

    Tom Gewecke wrote:
    Unfortunately I have to switch between Romaji and Hiragana/Katakana input method every time I have to spell japanese folder names. (Tab completion doesn't work at all for these folders.)
    Sorry, I don't understand what you mean there. Where are you spelling the names? In Terminal?
    Yes, I meant typing Japanese characters in the Terminal. It works but it's very uncomfortable as shortcuts to switch the input method don't work while writing commands in the Terminal. Standard folders like "Documents", "Pictures" etc. appear in English in the Terminal even if the localization has been switched to an other language. (So there is no need to switch the input method while working in the Terminal.)
    In case the folders are stored on an external drive (even if it's fat) and it's plugged in on another computer they appear in English likewise.
    Self created folders normally won't have this ability. But to customize this behaviour is exactly what I am looking for. I guess the information about the "international aliases" must be in a hidden file or something like that.
    That must certainly be part of the localization system for the OS. Here is some info:
    http://developer.apple.com/internationalization/localization/tools.html
    Thank you for the link, first I'll explore the tools. Maybe I'll find some useful information.
    I'll return as soon as I need help again or if I found what I am searching for.
    Thank you so far.
    Kyoshiro

  • How do i creating multiple icloud accounts for one itunes account

    how do i creating multiple icloud accounts to access one itunes account?

    Perhaps you could explain a bit more what you want to do...
    iCloud accounts don't access an iTunes account.
    iTunes account is used to make purchases.

  • How do I create multiple-up pages populated with variable data?

    I am trying to create a variable data Illustrator file but with a catch, I have to create multiple points of data on one artboard.  I am using a template with 36 identical shapes, and I'm trying to add a different image to each based off of using variable data.  I understand the premise of creating multiple output files based off of an illustrator file and data, but I have to create a single output file using 36 points of data, all QR codes.  The reason is that this 36-up 14.5" x 14.5" sheet will be printed on a large format inkjet and then be fed into another machine (not a cutter) that requires that specific layout for it's process.  I cannot create individual files, I need sheets based off of my 14.5" x 14.5" 36-up template.
    Any suggestions other than making each shape in the template a separate variable (even though they are all the exact same shape) would be greatly appreciated.
    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.

    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.
    You're barking up the wrong tree for this with Illustrator's Variables palette.
    Think of it like this:
    Imagine a typical spreadsheet with multiple rows of the same kind of data, except for the first row which serves as the "labels" of the columns.
    The on-page objects which you define as Variables in Illustrator correspond to the first row; the column labels.
    The datasets correspond to the following rows of values below the label row.
    Cycling through the datasets simply moves up and down the rows, revealing one row's data at a time for each of the column labels.
    Your multi-up array does not fit that data model. You are essentially trying to make a layout showing all the individual cells below the single label of one column (downward across all rows). (Illustrator's Variables feature doesn't even let you put multiple instances of a single variable in the document, so that the same value occurs in multiple places.)
    You're trying to build the functional equivalent of a typical "gang up" press sheet, like a 10-up layout of business cards, each showing the same kind of data (name, phone, etc.) for multiple employees, so that you don't have to do separate press runs for each employee. That's certainly a common need, and one quite appropriate to a program like Illustrator. But Illustrator's Variables feature does not do that.
    Essentially, what you are wanting to do is to replicate the basic functionality of any program which is used to print labels from data (like the typical mail merge function for address labels which are ganged up with some number of different labels on a page). What you want could be done in Illustrator via a custom JavaScript, but it would be a pretty silly exercise in reinventing the wheel. If it were me, I'd probably build the solution in FileMaker Pro (a database program), depending on the specific graphics requirements. However, you should be able to do it in InDesign, using its data merge feature.
    JET

  • In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph?

    In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph. 
    I need to make a table of contents for my Mater's Thesis and want to use the automatic table of contents feature.  I want the first sentence of a paragraph to have a different paragraph setting than the rest of the paragraph.  Is this possible?
    Thanks!

    Nice of you to be doing this for your Mother's Thesis.
    There are several issues here:
    1. A Paragraph Style is what it says, the style for the paragraph
    2. You can format text within a paragraph by applying a Character Style
    3. Pages 5.5.1 lets you apply formatting to overall text for the T.O.C. but not parts of it and you can not retain that formatting as a Paragraph style
    So in answer to your question, no.
    You will need to create the T.O.C. manually and unfortunately as Pages 5.5.1 can't create bookmarks (just one of over 100 missing features) you will be unable to link the T.O.C. to the referred pages in the list.
    Peter
    Apple's marketing slogan:
    Pages 5.5.1 - Can't Do That!

  • How do I create multiple live USBs of Operating systems to boot from on one flashdrive?

    How do I create multiple live USBs of Operating systems to boot from on one flashdrive?
    I am attempting to create multiple live USBs within one flashdrive so that i can boot various operating systems without having to buy multiple USb sticks. I am using a Mac OS X Snow Leopard 10.6.8 Operating System currently. I am using the Terminal provided by the OS.
    I would like to try Debian, Kali, Precise Puppy, and Sabayon- with one space left empty for whatever Linux OS I would like to try next. I have partitioned an 8GB flashdrive into the following sections:
    name of intended OS,     space allocated for it:
    1)Debian ........................1.32 GB
    2)Kali..............................2.61GB
    3)Precise Puppy..............163.7MB
    4)Sabayon.......................1.77GB
    5)TBD..............................2.14GB
    I have figured out how to change the .iso files of the operating systems into .img files with the following commands:
    hdiutil convert -format UDRW /path/to/input.iso -o /path/to/output.img
    a .img.dmg file is created, this is corrected in the next line of code *please note: I am a a very beginner at programming, and would greatly appreciate any help. Thank you!
    mv /path/to/output/file.img{.dmg,}
    This is where I started to get confused:
    I entered diskutil list to find the location of the partitions on my flashdrive, and this is the relevant section:
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *8.0 GB     disk1
       1:                 DOS_FAT_32 DEBIAN               1.3 GB     disk1s1
       2:                 DOS_FAT_32 KALI                    2.6 GB     disk1s2
       3:                 DOS_FAT_32 PRECISE            163.7 MB   disk1s3
       4:                 DOS_FAT_32 SABAYON           1.8 GB     disk1s5
       5:                 DOS_FAT_32 TBD                     2.1 GB     disk1s6
    This is the code I attempted to use and the subsequent result:
    charles-burtons-mac-mini:~ charlesburton$ sudo dd if=/Users/charlesburton/Desktop/debian-live-7.2-i386-gnome-desktop.img of=/dev/disk1s1 bs=1m
    dd: /dev/disk1s1: Resource busy
    *at this point I went to the Disk Utility GUi and unmounted only the DEBIAN partition, now back to the terminal*
    charles-burtons-mac-mini:~ charlesburton$ sudo dd if=/Users/charlesburton/Desktop/debian-live-7.2-i386-gnome-desktop.img of=/dev/disk1s1 bs=1m
    dd: /dev/disk1s1: end of device
    1259+0 records in
    1258+1 records out
    1320005632 bytes transferred in 1011.966891 secs (1304396 bytes/sec)
    Please may someone help explain why I had a return value of +1 in my records in and how I can make it work properly.

    I would like to know the answer to this as well.  I tried renaming the 3D version by adding 3D after it, but it still not a separate movie in iTunes.
    It's putting them in the same folder.

  • Create Multiple Build Controllers in Team Foundation Server 2013

    Hi all,
    I have created an environment of Team Foundation Server 2013 & also installed SharePoint Foundation 2013. Everything is working fine. I have created a build controller on the same machine on which I have installed the TFS. This build controller is used
    for building the projects of a Team Project Collection. I know that a build controller can only be used for one Team Project collection. Creating multiple build controllers on the same machine is not recommended by Microsoft.
    I have another team project collection, for this I need to create another build controller. Could you please tell me how to create another build controller on a different machine.
    Please  help me with this.
    Thanks.

    Hi Vishwajeet,
    You can do this by installing TFS in another machine (do not configure as app tier), and then configuring build services.
    Complete instructions are in my post here http://chamindac.blogspot.com/2014/02/06-setup-build-server-setup-virtual.html 
    Setting up a TFS environment step by step explained in this blog series
    http://chamindac.blogspot.com/2013/12/setup-virtual-environment-for-tfs-2013.html
    My posts explain how to setup on virtual box but it is same steps even if you setup in hyperv VM or in a standard machine.
    One more recommendation I would like to make here is, it is better if you do not configure build services in TFS App Tier. Use separate build servers. Another one is do not create too many project collections. Project collections require separate build servers,
    test controllers etc. because one is fully isolated from another collection. So carefully plan your TFS environment. I recommend you to download and read TFS Planing Guide from ALM Rangers from here
    http://vsarplanningguide.codeplex.com/releases
    Cheers!
    Chaminda

  • Split the delivery or create multiple  deliveries

    Hi team,
    Sale order stock is grater than Truck capacity.
    We need a solution to either split the delivery; or create multiple deliveries at the time of delivery creation.
    Manually we are doing calculations for pallets capacity and then doing loading still some quantity pending or some space pending
    Is there any program that can split delivery via Sales order and create Outbound delivery through pallatization..
    Any such scenarios you have please suggest.?
    Thanks in Advance
    SAP MM

    Hi,
    Normally we can split the deliveries based on the following criteria
    1. Different delivery dates for line items.
    2. Different ship to parties for line items.
    3. Different routes for line items.
    But in your above case the issue is regarding truck capacity for which the system doesn't have any information.  So you can manually create a new delivery by adjusting the existing one or if you feel the issue is going to repeat for different items in future also then you can go build a custom logic in the system to address the delivery split using a user exit.
    Thanks,

  • Using Select all to create multiple lines in a sales order

    Hello SAP experts,
    In our business practice users create multiple line sales orders with reference to contracts and use the copy paste method and then assign each line to the contract manually.
    After a few years of this practice i found a new way to create multiple lines but it doesn't quite work correctly. When you have created the first line of an order if you click on the select all button the system will ask you how many lines do you want to copy. I don't know if this is standard SAP but 3 things don't happen when we use this 1) The schedule line information is blank 2) conditions do not copy from the contract even though the contract has been referenced. 3) Since there is no schedule line information the order fails when saving and we get a update terminated message.
    I am having problems finding any documentation around this function so any help with this would be greatly appreciated.
    error when updating is
    Transaction..   VA01
    Update key...   4D358878A8B601AAE10080000A2C4982
    Generated....   28.01.2011, 13:47:23
    Completed....   28.01.2011, 13:47:23
    Error Info...   00 671: ABAP/4 processor: GETWA_NOT_ASSIGNED

    GETWA_NOT_ASSIGNED
    Many threads are there on this error message and you would come to know if you google with this text.  Check couple of threads where  the same topic was discussed
    [Re: GETWA_NOT_ASSIGNED|Re: GETWA_NOT_ASSIGNED;
    [Re: GETWA_NOT_ASSIGNED ABAP Dump|GETWA_NOT_ASSIGNED ABAP Dump;
    Also there are some 20 OSS notes on this error message and you can have a look at the following notes:-
    1)   Note 913679 - VA01: Short Dump GETWA_NOT_ASSIGNED on click of quantity.
    2)   Note 591955 - ABAP runtime error GETWA_NOT_ASSIGNED
    3)   Note 870670 - SD_SALES_DOCU_MAINTAIN_DIALOG termination with GETWA_NOT_***
    4)   Note 141314 - VA02: Dump with 'GETWA_NOT_ASSIGNED'
    thanks
    G. Lakshmipathi

  • Create multiple sales orders from single service notification?

    Is it possible to create multiple sales orders from a single notification (IW51)? 
    We currently create sales orders directly within transaction IW51 (Create Service Notification).  We kick off the sales order creation by pressing the "SALES ORD." button in the notification screen.  We're now interested in creating a 2nd Sales Order which would tie directly to the same Service Notification.  This is so that we can have the second order assigned to a different account assignment WBS (there are two different parties doing work on the service notification).
    I assume you would have to go to VA01 to create the Sales Order, but am not sure how to tie it directly to the service notification from here.  I treied to do a create with reference, but there is no ability to create with reference to a service notification.
    Do I have to create a second service notification for the 2nd Sales Order for this to work?  I want to avoid doing this if at all possible.
    I'm running SAP R/3 Enterprise
    Thanks for your help!

    Hi,
    go to vtaa- copy controls for sales document to sales document.
    select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
    No need to change update document flow.
    After setting zero in copy control that be told on above. create order with respective to the quotation.
    After saving the order.
    go to document flow to see the status in between quotation and order.
    If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
    Have a good day..

  • How to create multiple tabs of report in 1 crystal report file

    Hi,
    Is there any feature in Crystal report 2008 on creating multiple tabs of report similar to Web-I?
    If there is, could you give me help on this.
    Thank you in advance.
    Rose

    Hi Rose,
    I think we cant achive the same functionality in Crystal Report designer.
    Regards,
    Shweta

  • How do I create multiple FB accounts for uploading iPhoto pix?

    I create content for several small business Facebook accounts.
    I was hoping to create multiple FB accounts within the iPhoto sharing accounts preferences, but iPhoto doesn't seem to accept my FB alter egos.
    I'd like to be able to have an account that goes right to my personal page pkus a separate sharing account for each FB page for which I'm an administrator. Doesn't seem like too much to ask, but I've been trying to figure this out for a few weeks now. Alas, FB has no real help to speak of so I throw myself on the mercy of the iPhoto community.
    Any suggestions? It would make uploading to FB much speedier--so I'd do it whenever I import pix from my camera into iPhoto instead of being a FB slacker.
    Thanks,
    Nancy

    Ahh, no wonder.
    I had assumed from the account preference choices that I ought be able to create multiple sharing accounts in FB, because of the + sign. And, in fact, for a while time I did have two sharing accounts for two different personal FB accounts. At that time it did work to upload photos directly from iPhoto to the two different personal accounts. But I was never able to upload directly from iPhoto to the intended business account. And since upgrading I can't seem to create a second personal FB account in iPhoto.
    Thanks, Larry, for the assistance. I'll follow your suggestion to recommend the feature to Apple.

Maybe you are looking for

  • Data coming out of a loop, how can I represent them to be similar like they were in the loop?

    If I link the vi "filter 2 1.03" located in the "analysis" vi (independantly from "analysis") to the "Global" vi located in the "3 dim-graph" vi and the link this to a 3D graph, I get the graph I looking for. Here, the "filter 2 1.03" vi is located i

  • Update Application Versions in Profile Manager

    When using Profile Manager I have noticed the version must match on an application both on the Server and the Client when using the Restrictions Payloads setting. We utilize the Restrictions Payload in PM to control what Applications users can open i

  • Notifications missings in 11.5.10.2

    In Oracle Applications 11.5.9 with Vision demo database, there used to be notifications displayed above the responsibilities. But in 11.5.10 they are not visible. How to enable/disable these notifications for a particular user?

  • Need help in setting up Gmail for mobile

    What is the localhost for gmail? Does it use httpProxy if yes what is the proxy host? thnks!!!

  • Time Machine Error Message.  What to do?

    Hello, My G5 has 2 built-in drives, each 160Gb. I have reserved one of these drives exclusively for Time Machine. There is no issue regarding the connection of these drives since they are internal. I started Time Machine 3 weeks ago, and it has been