Is it possible to add UNC paths to the favorites menu with a batch script?

Hi all,
at present the office I work in uses mapped drives, this works well for people in our office but one people talk with the other offices things go south as they have no idea what a t drives is. So I would like to move my users away from the mapped drive and
add the folder locations to the favorites menu.
Short of making the shortcuts and asking each person to copy them in to the folder location there must be a way to write a script to do this? I have looked at using mklink but that failed. 
This is the code I used 
mklink /d %userprofile%\Favorites\tech \\brisfp01\Tech 
Any other ideas? 
Thanks

it is called an "Internet Shortcut"
$Shell = New-Object -ComObject WScript.Shell
$shortcut = $Shell.CreateShortcut($FullPath)
$shortcut.TargetPath = $Url
$shortcut.Save()
Look in Gallery for more examples.
¯\_(ツ)_/¯

Similar Messages

  • Is it possible to add an item to the context menu when you control-click...

    an application? More specifically, when someone ctrl-clicks my application, I want an item to appear in the pop-up menu and if selected, to run an apple script. I was looking at folder automation and all and it seems like the area where I would look to do something like that. I have been looking for a while and can't seem to find it.
    I found something about making an action specific to just your app such as: MyApp.app/Contents/Library/Automator/MyAction.action. Maybe I am barking up the wrong tree. Can this be done? If so, how? So far I do not see how to add something to that menu.

    Ok, I found out that thing I am looking for is a CMM (Contextual menu modules), but so far I can only find references to ones made, not how to make one.

  • Is it possible to add a service to the sharing menu?

    I just started using Minus, to upload some of  my photos specifically (10 GB for free!) Can it be added to to the"share"menu somehow, or is there an easier way to accomplish this? I've tried dragging the pix or folder into the upload interface, but it tells me the file is unavailable. Locating it in Finder is a bit of a chore if the pix were directly imported to iPhoto.

    The developers of this service would need to create some kind of plug-in.
    Other than that:
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • Is it possible to add Library permanently to the GO menu?

    I need to back up my website project  that is listed under GO/Library/Application support. I like to back up frequently so I'd like to access it easily.

    Sure it is but why not simply drag it to the Finder Sidebar, it's a lot easier to locate then. If for some reason you want it permanently it's always there, just hold down the Option Key when clicking the Go menu.

  • Is it possible to add a second monitor via mac mini with iMac

    Hi
    is it possible to add a second monitor via mac mini with iMac
    or is there another solution?
    all i want to know is if i can run a second monitor or link a mac mini for more speed like i heard you can with the G5 Towers.

    The iMac will allow you to connect a second monitor but that monitor will show the same thing as the iMac's built-in screen.
    You can network a Mac mini and iMac via Ethernet or Firewire.
    Software load sharing like Xgrid can allow you to share work between the Macs.

  • Is it possible to add a user using the RESTful Web Services SDK

    Others have asked before about user management features in the RESTful Web Services SDK.  However I can find no answers or links which provide an answer to the question 'Is it possible to add a user using the BI 4.1 SP2 RESTful Web Services SDK'?
    Any help would be appreciated.
    Regards,
    Steve

    Hi Steve
    Unfortunately, not possible. The BI RESTful can only get "stuff" that is already there. I suppose this would fall under some sort of "Object Creation" API and that is not there. Yet. Rumors abound, but nothing firm. Just as a BTW.; the Business Intelligence platform RESTful Web Service Developer Guide 4.1 is here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_bip_rest_ws_en.pdf
    SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
    SAP Crystal Reports RESTful web services - SAP Crystal Reports RESTful web services
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Is it possible to add a column to the Item matrix in the ItemLookup form (C

    Hi,
    Is it possible to add a column to the Item matrix in the ItemLookup form (CFL or Find Lookup).
    I need to display a value in the newly added column if the itemgroup in that row matches a certain value , how can I achieve this.
    Thanks

    Hi,
    You may check this: Can we add CFL to the  system/form defined textbox?
    Please close your previous open thread.
    Thanks,
    Gordon

  • Is it possible to add a Graph in the Teststand Labview OI

    Is it possible to add a graph to the Labview OI so that data can be passed up via the sequence context? Would posting a UI Message be the right way to trigger the graph to update? I'm not sure how to do this since the graph is not a UI control.
    Has anyone done this or is better to just pop-up a graph in a sequence step?  

    paulmw,
    I have not tried this, but one way you could do this is by running the VI with the same version of the LabVIEW run-time engine that the OI was build with.  The LV OI will load the run-time engine initially.  When TestStand runs the test VI, it will try to first load the run-time engine specified in the adapter configuration.  If the specified version is the same as the version used by the LV OI, it will used the one in memory.  Since TestStand and the OI share the same run-time engine, creating a queue in the OI and populating with the VI run by TestStand will theorically work.  Like I said, I have not tried this, but I am assuming it will work.   The key is to make sure the LV version used to create the LV OI executable and the VI are the same.
    Jose

  • Excel Formula Referring to a UNC Path is Corrupted when Open with Particular Workstation

    Hi Experts & Support,
    I have a critical problem when trying to refer across Excel workbooks which all are located in different network folders.
    There is a cell formula referring to another Excel file using UNC path, for instance, \\myserver\share\folder1\file.xlsm.
    It works as long as anyone who is opening the file has no mapped network drive-- access this Excel file directly via UNC path. 
    However, it turns out that one of the workstation (Windows 2008 Server x64), when trying to access this file--even from UNC path directly-- the link is corrupted. The formula is changed automatically to \\myserver\folder1\file.xlsm (please notice a missing
    \share\).
    And therefore, when the user on Windows 2008 Server save that Excel file, it causes the original file to be corrupted and every one who access the same file from another computers will all encounter a broken link then.
    This Windows 2008 Server has no mapped network drive at all. We have done a lot of researches on the Internet but still couldn't find a solution to this. Is there any way we can investigate further and resolve this issue please?
    Thanks in advance.

    Hi,
    In general,this issue should be  caused by a mapped drive.you can refer to the KB below:
    http://support.microsoft.com/kb/328440/en-us
    However, as you can be sure that there is no mapped drive in this server. could you please provide a litter more information about this server? Did a different version of Excel install in this server? Maybe you can try a repair of the office
    program.
    And I guess we can avoid this by using Hyperlink function.
    Wind Zhang
    TechNet Community Support

  • Is it possible to add VAT (TAX) in the order form and discount codes ?

    Is it possible to add VAT (TAX) in the order form and discount codes ?

    would it be possible to do a caculation field then ? if I create a number field and add some kind of caculation rule, i've noticed that other form websites do this.

  • Is it possible to add weather to my drop down menu on ios7?

    Is it possible to add weather to my drop down menu on ios7?

    I had this same trouble. 
    Necessary Settings:
    Location Services on.  Weather Location services on (both in Privacy Settings)
    Today Summary on (in Notification Center Settings)
    You need to use the weather application at least once post ios 7 download so it can sync with your location.  Make sure you have it set on your current location and not another city.
    If it still doesn't show up, go back into the notification center settings and turn today summary off and then on again.
    Your weather should show as written summary under the date and time

  • Let me know if it possible to add P3P header in the HTTP responses of Oracl

    Let me know if it possible to add P3P header in the HTTP responses of Oracle applications 11.5.10

    Could you please elaborate more on what you are trying to do/achieve?
    Thanks,
    Hussein

  • Need to add a Transaction in the SAP menu in the Given path

    Hi All,
    I need to add a transaction in the enhancement menu in the specified path.
    Kindly share the method.
    Thanks in Advance!
    Chirag Shah

    Hi ,
    Go to SE43 and give the AREA MENU , and press the create button and add the Tcode...
    Regards,
    Bharani

  • Problem when trying to add a link to the left menu item!!!!

    Hi everyone,
    I am trying to put a new menu group on the left menu,with a link in that group for every one.On checking with the customization guide this is what i did
    for one link i did add the following lines in each of the files
    1)xlWebAdmin.properties
    - menuGroup.Misc-Menu=Misc Menu
    - menuItem.Misc-Menu.My-Nomination=My Nomination
    2) xlDefaultAdmin.properties
    - menuItem.Misc-Menu.My-Nomination.link=mynomineefrm?showfrm
    3) repacked the war and the ear
    4) Restarted my server
    When I login into the administration(xelsysadm) page I didnt see any menu item with name "My Nomination" which i am supposed to see.
    secondly it shows the menu item when ever i select some group and click on assign menu item.
    Moreover, when I try to assign this menu item to all users group it gives me this error
    On browser it prints
    Permission Denied to Assign Selected Menu Items
    You do not have the permissions to assign one or more selected menu items.
    on console it prints
    ERROR [SERVER] Class/Method: tcDataObj/eventPreInsert Error :Insert
    permission is denied
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: maoRejections:You do not have permission to insert this obje
    ct.
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: Error occurred while adding menu items.
    ERROR [WEBAPP] Class/Method: UserGroupMenuItemsAction/commitGroupAs
    signMenuItems encounter some problems: {1}
    Thor.API.Exceptions.tcBulkException
    This problem eat my happy sunday :-(, any one has solution for this problem?
    - Also if some one can help on how to link jsp to the new link will be helpful for me!
    Thanks,
    doki

    Design Console > Form Information > add new
    Class Name Organizations.Merge
    Description Move users from one organization to another
    Type menuitem
    Add following to xlWebAdmin.properties, xlWebAdmin_en_US.properties
    Organizations.Merge=mergeOrgs.do?Display
    menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
    menuItem.Organizations.Merge=Merge
    mergeOrgs.button.display=Merge Organizations
    Even you have to assign first to System Administrator group
    First go to Manage Group
    Select System Administrator Group
    Select Menu Item
    Click Assign and select newly craeted Menu Item and click Confirm
    These are the steps to see the new menu item. To make this menu item working:
    you'll have to write action class, form bean class and you'll have to create JSPs and make their entry in struts-config as welll as in Tiles-def.xml
    Then your menu item will work.

  • On windows 7 pro, how do i add firefox bookmarks to the start menu?

    On Windows 7 professional, how do I add firefox bookmarks to the start menu so I can access my bookmarks without opening firefox first?

    Only Favorites can be displayed as a submenu of the Start Menu. You can convert your Firefox bookmarks to IE favorites as follows:
    # [[Exporting bookmarks to an HTML file|Export your bookmarks to an HTML file]].
    # [http://windows.microsoft.com/en-us/windows7/Import-or-export-favorites-in-Internet-Explorer Import the bookmarks in Internet Explorer].
    # In Firefox, install [https://addons.mozilla.org/firefox/addon/plainoldfavorites/ the PlainOldFavorites extension]. This will allow you to create and manage favorites from Firefox.
    # Alternatively, if you use both browsers, you can keep bookmarks and favorites synchronized with an extension like [https://addons.mozilla.org/firefox/addon/xmarks-sync/ Xmarks Sync].

Maybe you are looking for

  • Deploying ear file to Web AS server

    Hi, I am trying to deploy the ear file from Netweaver Developer Studio using "Administrator " user. After Successfull deployment I logon to Enterprise portal server, immediatelty asked passwd expired & change password.I have changed that! Then I logg

  • Recovery Disks won't install to new HD

    Hello, all, My laptop froze up last week and wouldn't boot to the OS. Laptop is an HP Pavillion g6-1b60us, running Windows 7. I've tried a number of things, including a new hard drive, the recovery partition, recovery CDs, standard OS install discs,

  • Changes to Variable in Customer exit

    Hi Experts, We have two variables in the ready for input query. First  Variable : Customer exit variable which gets populated based on user login details. Second Variable: Input ready variable. The values  will be populated depending on the first var

  • How to use user defined exception class

    Hi all I just need som help with creating a user defined exception class. Im writing a small/simple text editor. My exception class looks like this: public class myExcp extends Throwable      private String message;      public myExcep(String message

  • IPhone update 5 timing out

    Hi All, I'm trying to update my iPhone, and everytime I download the update, it downloads completely, then tells me that the network connection has timed out. There's nothing wrong with my network connection. I'm having no issues with it in any other