To use the result of FileToOpen or FileToSave you have to capture the 
command output, which can be done either by ...

+ redirecting the output into a temporary file (all Windows versions),
+ using a FOR /F construct (requires Win2000, XP ++) 


+++ Example with output redirection:

     FileToOpen "SET DaFile=" "G:\some\where\*.DAT" "Select File" /noquotes > temp.bat
     call temp.bat

     FileToOpen.exe outputs a statement like: SET DaFile=G:\some\where\file.exe
     which is redirected and written into "temp.bat",
     which is CALLed to run the SET statement.

     Note that this method produces a temporary file that you have to delete
     later. Instead of "temp.bat" (in the current directory) a file in the 
     %temp% directory is recommended, for example: "%temp%\temp.bat".


+++  Example with FOR construct (asssumed in a batch file):

     for /f "usebackq delims=" %%a in (`FileToOpen.exe "SET Mp3File=" "E:\Sound\*.mp3" "Select.."`) do %%a

     This will capture and run the output line from the command which is 
     enclosed in back quote marks. 
     Double quote marks may still be used for the command parameters (*)
     For details see FOR /? at the command prompt.


Note that in these examples the program FileToOpen.exe is assumed in the current
directory, or in a directory that is found through the system's PATH variable.

Alternatively, you may specify FileToOpen.exe with full path, (*) however, 
the FOR construct does not accept double quote marks around the program path,
i.e. the full path can only be used if it does not contain any spaces.

***



