How do i reference %homeshare% in

Posted on 2009-02-19
Last Modified: 2012-05-06
I am writing a app that is too Sync my documents and desktop to a homedrive.
Currently i am trying to find the VB code that in vb script would %homeshare%.
any ideas?
If you want to see the string im trying to access, open a command line prompt and type 'set'
our company uses the "homeshare" string and i am simply trying to read that string in vb! readonly is just fine.
Question by:scottsilvi
    LVL 2

    Accepted Solution

    Simply this:

    Open in new window


    Author Closing Comment

    Easy Mode, TYvm

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now