I think i have a virus on my computer
That could be true, but now I'm confused. This flash drive works on the school computers and the
ProgramFilesDir variable is undefined?
How are you launching Photoshop, by double clicking it's icon or does in autostart when you insert the drive?
What about your computer, is
ProgramFilesDir assigned a value?
It's interesting to note that in the error message with
ProgramFilesDir undefined, the literal still resolves to a legal path.
The
ProgramFiles=C:/ ProgramFiles variable would point to the hard disk. Are you not running Photoshop from a portable drive?