How to determine if file is within the prefix/bottle or not?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to put a warning into my application that warns the user if they try to store their document inside the prefix/bottle.  (In other words I want to help the user avoid putting user data under the "drive_c" folder.)

I know that some folders are redirects, such as C:\Users\{user}\Desktop refers to the Desktop folder in the user's real profile, so this is safe, as well as many other special locations.

Is there a command-line tool my app can call (running within Wine) that will convert any given path to the native path outside of Wine?







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux