How to get the Network Shortcuts path in C#

1 Answer

0 votes
using System;

namespace ConsoleApplication_C_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = Environment.GetFolderPath(Environment.SpecialFolder.NetworkShortcuts);

            Console.WriteLine(s);
        }
    }
}

/*
run:
  
C:\Users\USER\AppData\Roaming\Microsoft\Windows\Network Shortcuts

*/

 



answered Jan 14, 2017 by avibootz

Related questions

1 answer 148 views
148 views asked Jan 14, 2017 by avibootz
1 answer 121 views
2 answers 221 views
1 answer 132 views
...