Hi,
I'm new to AMS and this is my first post so apologise of I'm wrong but I'm sort of getting the hang of it.
I've got a little issue with having my app running correctly on a USB drive in WinPE. I can get the app to start and run fine but I'm using a script to display some text from a Rich Text file contained on the USB Drive using the '_SourceDrive' variable as part as the path. For example:
RichText.LoadFromFile("richImageInfo", _SourceDrive.."\\Folder1\Folder2\Richtextfile.rtf
Am I correct in thinking that '_SourceDrive' is the letter of the drive that the app was run from. For example, if the USB Drive letter was E:\ then '_SourceDrive' is defined as that letter?
If so then for some reason it's not working. In fact it thinks the '_SourceDrive' is the system drive. In this case, for WinPE, it's X:\. Even if I ran it on a Windows 7 system it defines it as C:\.
Greatly appreciate any help
I'm new to AMS and this is my first post so apologise of I'm wrong but I'm sort of getting the hang of it.
I've got a little issue with having my app running correctly on a USB drive in WinPE. I can get the app to start and run fine but I'm using a script to display some text from a Rich Text file contained on the USB Drive using the '_SourceDrive' variable as part as the path. For example:
RichText.LoadFromFile("richImageInfo", _SourceDrive.."\\Folder1\Folder2\Richtextfile.rtf
Am I correct in thinking that '_SourceDrive' is the letter of the drive that the app was run from. For example, if the USB Drive letter was E:\ then '_SourceDrive' is defined as that letter?
If so then for some reason it's not working. In fact it thinks the '_SourceDrive' is the system drive. In this case, for WinPE, it's X:\. Even if I ran it on a Windows 7 system it defines it as C:\.
Greatly appreciate any help
Comment