November 12, 200817 yr I have a script that sets a variable $Filename Value: Get(DesktopPath) & "xxxfilename" When I export data with the output file path as $Filename it works fine on a Mac but returns an error on a PC (XP Pro) saying: "xxxfilename" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk" When I export the file as normal it creates the file on the disk as expected. I am not hung up on using the desktop as the save location. Essentially I want to save a file with a variable filename and then attach it as an email that will work under any OS. Help would be greatly appreciated. Edited November 12, 200817 yr by Guest
November 12, 200817 yr IIRC, you must begin the path with "filewin:/". Strictly speaking, you should begin the path with either "filewin:/" or "filemac:/", according to the current platform, but as you have discovered, the OS X version is more forgiving.
Create an account or sign in to comment