Browse button: form on RDS server, howto point to local drive?

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Post Reply
User avatar
stevens
Posts: 351
Joined: Wed Jun 15, 2016 2:26 am

Browse button: form on RDS server, howto point to local drive?

Post by stevens » Fri Sep 20, 2019 8:30 am

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PS Studio, latest update
32 or 64 bit version of product: 64
Operating system: W2K15
32 or 64 bit OS: 64

*** Please add details and screenshots as needed below. ***

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Hi,

I have a Powershell Studio form which I offer via Remote Desktop on a Windows 2016 server (to upload software).
I offer a browse function, that by default points to the drive of the server, whereas it should point to any other location (preferrably the local drive).

$btnBrowse.Enabled = $false
Write-LogText "Getting installation file"
$dlgFileBrowse.Title = "Please select an installation file"


Pease advise,
S

User avatar
brittneyr
Site Admin
Posts: 187
Joined: Thu Jun 01, 2017 7:20 am

Re: Browse button: form on RDS server, howto point to local drive?

Post by brittneyr » Fri Sep 20, 2019 8:46 am

[TOPIC MOVED TO WINDOWS POWERSHELL FORUM BY MODERATOR]
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
jvierra
Posts: 13793
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Browse button: form on RDS server, howto point to local drive?

Post by jvierra » Mon Sep 23, 2019 4:59 pm

You have to set the initial folder to any location you want.

Post Reply