Requestfile$ - Default folder

BlitzPlus Forums/BlitzPlus Programming/Requestfile$ - Default folder

Timjo(Posted 2007) [#1]
Is there a way to set the requestfile gadget thingy to open up to a particular folder - not just the last used one?

If I try with the 'defname$' flag there is a problem. If I'm setting to a folder like "c:\program files" - it sets the folder to "c:" alright - but it then assumes that "program files" is the default file name and puts this in the Filename box. There must be a way around this....Thanks - TimJo.


CS_TBL(Posted 2007) [#2]
-----------------------
Changedir "c:\somedir"
Bla$=RequestFile (...)
-----------------------


Timjo(Posted 2007) [#3]
That's what I thought, but Changedir has no effect on the requestfile default folder location ????? There must be another way, but I can't figure it out. Any other ideas always welcome....


William Drescher(Posted 2007) [#4]
Did you try opening the dir:

OpenDir("somedir")
File$=RequestFile(...)



Timjo(Posted 2007) [#5]
I don't seem to have OpenDir as a command - is it in one of the user libs?


William Drescher(Posted 2007) [#6]
I"m not sure, I'll look it up the OpenDir command works in BlitzPlus here, I'll see if I can find it in a userlib.