Questions tagged [special-folders]

"Special folders" refers to directories in the Windows operating system that provide extended functionality in the user interface. Prominent examples are the "Desktop", "Start Menu", the "My Documents" and the "Fonts" folders.

The physical location and the number of special folders depend on the Windows version and system language.

Windows transparently manages the correlation between physical location on the disk and representation in the shell namespace, so these folders are best retrieved through the Windows API, as opposed to using fixed paths.

200 questions
1
vote
1 answer

How to get the music folder path in xamarin.android?

I'm trying to save a mp3 file, into the device's music library folder.(I Want it to show up immediately as a playable song). More clearly i'm looking for the path /storage/emulated/0/Music/, in each phone.Im not sure if this path changes, so i would…
David Barishev
  • 534
  • 7
  • 30
1
vote
1 answer

Is it possible to select a custom start path in modified FolderBrowser Dialog

Frustrated with the FolderBrowserDialog class UI, I decided to use this implementation which provides more user friendly features such as showing the folder path. https://support.microsoft.com/en-ca/kb/306285 Unfortunately, the startLocation…
1
vote
4 answers

best place for "secure" file on windows

I have written a program for one customer. I implemented a licensing method for him (signed XML files). This customer wants the application to be installed only once on his customer's PC, and wants me to "secure" this ... especially because his…
rene marxis
  • 385
  • 2
  • 13
1
vote
1 answer

Move files from a special folder to another special folder

I'm writing a script to move an Outlook signature into %APPDATA%\Microsoft\Signatures\ and it's just not going as planned. I want to instruct the user to put the "signature" folder on their desktop, and then run a script that will move all of the…
redjax
  • 63
  • 1
  • 6
1
vote
1 answer

WPF Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) throws System.Security.SecurityException

I am trying to define a local path for my WPF application to store some JSON files that are generated on operation. I define a static path like so: public static string LOCAL_PATH = …
Pol
  • 306
  • 2
  • 12
1
vote
1 answer

Moving Windows 7 user library (desktop, my docs...etc) to another location

In Windows 7, I cut the user library folders and then I paste them to another location (including the content of them). When I do it that way, Windows 7 makes the changes needed (registry, path ... etc.) in order to get those special folders working…
Letouane
  • 63
  • 1
  • 12
1
vote
3 answers

how to find MyMusic Folder from other users?

how to find MyMusic Folder of other users ?
pedram
  • 3,647
  • 6
  • 24
  • 28
1
vote
1 answer

How to get a path to some special folders in windows universal apps without "Enviroment"

Usualy, to put some file to local directory on different devices (for example to mydocuments on some phone) we can get this directory using something like environment.getfolderpath(environment.specialfolder.mydocuments). But if I am right, this…
MiddleD.
  • 315
  • 1
  • 4
  • 21
1
vote
0 answers

How to get the AppData folder in C# under Windows 10

I have always gotten the AppData folder using Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) However, on my Windows 10 test machine this returns "C:\Users\User\AppData\Roaming" not "C:\Users\\AppData\Roaming" as on all…
1
vote
1 answer

Getting Special Folder Path from OpenDialog selection in Delphi

I let my users select a folder via the OpenDialog component. However, when they select a folder such as Documents or My Videos or something like that, the path is just the name of the folder. I can get the path of such folder via the API, but how do…
vaid
  • 1,390
  • 12
  • 33
1
vote
2 answers

Downloading files and save it to a hidden folder on iPhone

can some give me a good resource for the iphone filesystem? Basically I want to know: Where can I save my downloaded files into which folders? And which are not allowed? Which of these folders are hidden? (which won't be backup extracted) These…
Buju
  • 1,546
  • 3
  • 16
  • 27
1
vote
2 answers

ForFiles not working for recursive folder with dynamic folder name

I wanna use forfiles to delete files older than 92 days, but the code seems to be breaking. I have a dynamic folder name. for /d %X in (e:\local\test\backups\s?????pbx\) do forfiles /p %X /m *.cab /c "cmd /c del @path" /d -92 I couldn't figure out…
Hashmukh
  • 13
  • 3
1
vote
0 answers

How can I make the setup install the program into an existing folder?

I want to use Inno Setup to install a tool into Visual Studio. My tool should be installed to an existing folder, with an existing file in the folder. I know how to search this file. I use this code in Inno Setup: function InitializeSetup:…
1
vote
1 answer

Installing assemblies to special folders like VS PrivateAssemblies in NuGet package

We are going to publish one of our commercial components, a .NET grid control, as a NuGet package. The product is separated into 2 DLLs - one is the core functionality, and the other is the design-time support assembly. The core assembly can be…
TecMan
  • 2,743
  • 2
  • 30
  • 64
1
vote
2 answers

Why do I not have a C:\Users\Username\AppData\Local\Apps folder?

I am trying to install a ClickOnce application and it is not working. I am told to delete the C:\Users\Username\AppData\Local\Apps\2.0 folder. However I do not even have a C:\Users\Username\AppData\Local\Apps folder. I have tried just creating a…
Coedcoe
  • 11
  • 1
  • 2
  • 5