I have made an app that have a lot of image files stored within.
When I try to mount an image from the app i get an invalid image file error.
The mount script:
But if i copy the image file to an the harddrive like this its no problem:
This is not a good way to do it so if anyone can help me get ride of that error or help me with a better solution to mount the image please let me know.
Please help me!
When I try to mount an image from the app i get an invalid image file error.
The mount script:
Code:
File.Run("c:\\Program Files\\D-Tools\\daemon.exe", "-mount 0, \"AutoPlay\\LAN\\R6 RogueSpear\\Rainbowsixroguespear.cue\"", "c:\\Program Files\\D-Tools", SW_MINIMIZE, false)
Code:
File.Move(_SourceFolder.."\\AutoPlay\\LAN\\Ghostrecon\\GRECON.mds", "c:\\Program Files\\D-Tools\\GRECON.mds", true, true, false, false, nil); Application.Sleep(1000); File.Move(_SourceFolder.."\\AutoPlay\\LAN\\Ghostrecon\\GRECON.mdf", "c:\\Program Files\\D-Tools\\GRECON.mds", true, true, false, false, nil); Application.Sleep(1000); File.Run("c:\\Program Files\\D-Tools\\daemon.exe", "-mount 0, \"c:\\Program Files\\D-Tools\\GRECON.mds\"", "c:\\Program Files\\D-Tools", SW_MINIMIZE, false)
Please help me!
Comment