Troubles with file paths
Posted: Wed Apr 05, 2006 10:36 am
Bug in command 'Extract File Folder: TARGETDIR'
Value of TARGETDIR before command: "C:\\Programme\\Our Program\\File.exe"
Value of TARGETDIR after command: "C:\\Programme\\Our Program
Note the missing " at the end...
Bug in command 'Does File Exist $FILETOSEARCH$ (get result into variable FILEEXISTS)'
If FILETOSEARCH is C:\\Programme\\Our Program\\File2.exe then FILEEXISTS=TRUE.
If FILETOSEARCH is "C:\\Programme\\Our Program\\File2.exe" then FILEEXISTS=FALSE.
Note the great combination of the two bugs!
Set Variable FILETOSEARCH to $TARGETDIR$File2.exe
results in FILETOSEARCH being
"C:\\Programme\\Our Program\\File2.exe
Again the missing " at the end of course prevents us from finding the file.
Adding a " at the end still doesn´t work... (very annoying!)
Removing a " at the beginning with 'Parse String...' works but I´m not sure what would happen if there were none at the beginning.....
And anyway this is a very dirty hack....
I hope you can fix those two bugs soon.
PS: I get the TARGETDIR with the "" from the command 'Find All Files in path ...' so please don´t suggest using a string without "".
Value of TARGETDIR before command: "C:\\Programme\\Our Program\\File.exe"
Value of TARGETDIR after command: "C:\\Programme\\Our Program
Note the missing " at the end...
Bug in command 'Does File Exist $FILETOSEARCH$ (get result into variable FILEEXISTS)'
If FILETOSEARCH is C:\\Programme\\Our Program\\File2.exe then FILEEXISTS=TRUE.
If FILETOSEARCH is "C:\\Programme\\Our Program\\File2.exe" then FILEEXISTS=FALSE.
Note the great combination of the two bugs!
Set Variable FILETOSEARCH to $TARGETDIR$File2.exe
results in FILETOSEARCH being
"C:\\Programme\\Our Program\\File2.exe
Again the missing " at the end of course prevents us from finding the file.
Adding a " at the end still doesn´t work... (very annoying!)
Removing a " at the beginning with 'Parse String...' works but I´m not sure what would happen if there were none at the beginning.....
And anyway this is a very dirty hack....
I hope you can fix those two bugs soon.
PS: I get the TARGETDIR with the "" from the command 'Find All Files in path ...' so please don´t suggest using a string without "".