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

Ask your 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.
This topic is 4 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
stevens
Posts: 493
Last visit: Mon Sep 19, 2022 12:23 am
Has voted: 2 times

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

Post by stevens »

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: 1654
Last visit: Wed Mar 27, 2024 1:54 pm
Answers: 39
Been upvoted: 30 times

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

Post by brittneyr »

[TOPIC MOVED TO WINDOWS POWERSHELL FORUM BY MODERATOR]
Brittney
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

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

Post by jvierra »

You have to set the initial folder to any location you want.
This topic is 4 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked