How to get the Printer 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.PrinterShortcuts);

            Console.WriteLine(s);
        }
    }
}

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

*/

 



answered Jan 14, 2017 by avibootz

Related questions

1 answer 235 views
235 views asked Jan 14, 2017 by avibootz
1 answer 121 views
2 answers 221 views
1 answer 132 views
2 answers 162 views
162 views asked Aug 11, 2023 by avibootz
...