Re: GetFilePart should ignore forward slash
Posted: Fri Feb 28, 2014 5:29 am
PB wrote:> The simple string "e" IS a valid filename, and can be valid for a file.
> However, "/e" cannot be, because the "e" would denote a folder name
Yes, exactly. However, Microsoft Excel is telling me that it launched a
file named "/e" via the commandline. This is obviously not true, but it's
the "filename" given to me. So, in my report, the user is told that they
worked on a document named "/e", which is obviously incorrect. What
do I tell the user? "Sorry mate, Excel said you did it, so you did it."
Excel's Help File wrote:/e or /embed
Prevents the Excel startup screen from appearing and a new blank workbook from opening.
Example
excel.exe /e