Page 1 of 1

How to change default...

Posted: Tue Dec 12, 2017 10:24 pm
by TerryHough
I have a PB program that generated numerous .txt files that are to be upload to a web portal. These files are located in several directories.

Then the user logs into a web portal using a UserID and Password, clicks on a button, and the website opens a browse window to select the file(s) to be uploaded.

Unfortunately, the web site's browse window always opens the last local directory browsed online. The user has to change this almost every time.

Is there a way that I can have the local system set to use the proper directory every time? I know the location but there is no way to directly feed that to the web portal software.

Thanks for any help.
Terry

Re: How to change default...

Posted: Tue Jan 16, 2018 4:34 pm
by RSBasic
Which browser window is this?
Is that what you mean?
Image

And wich browser?

Re: How to change default...

Posted: Tue Jan 16, 2018 5:09 pm
by TerryHough
I have no control over which browser the user is utilizing.

But, the browser doesn't seem to matter. The accessed website opens a file browse to select the file to be uploaded.

I want to be able to set the directory where that browse window opens.

Thanks for your reply.
Terry

Re: How to change default...

Posted: Wed Jan 17, 2018 1:32 pm
by RSBasic
The last opened or saved path is saved in the Windows Registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU\
You can change this path.