Search code examples
windowspowershellfilepath

Where is the "downloads" folder located


I'm making a script in Powershell ISE and to prevent piracy a part of the script needs to locates the file name and if it exists on the computer the script won't work. This will work cause downloading a file twice will give it a little (1).

I've google all kind of questions but I just really want to figure out the file path to a file located in downloads.


Solution

  • Ummm... C:/Users/your name here/Downloads

    Put the name you registered your computer with as your name here