Hi there

I have made an installer using Director 7 and Budapi to basically copy a
text file from a cdrom to the system folder.

Now the following code works fine on Win 2000 Professional but on my Win 98
Sony Vaio it is not working - the error message I am receiving is invalid
Destination file. Can anyone see why this is so and if there is a difference
between how the two operating systems path files, can anyone suggest a way
to detect the OS and have a case statement to include the appropriate code
for each OS.


  set app_Path=the applicationPath

  set default_Path=getOsDirectory()

  set sourcefile=app_Path & "\" & "Qbase.txt"

  set destfile=default_Path & "\" & "Qbase.txt"

  baCopyFile(sourcefile, destfile , "Always" )


Thanks in advance!!

Paul


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to