| View previous topic :: View next topic |
| Author |
Message |
Fishermans Friend Guest
|
Posted: Fri Nov 06, 2009 9:13 pm Post subject: Convert path with ~ inside |
|
|
Good day
I want to perform actions with a file that i load with the %1% parameter into a script, (drag and drop onto the script).
The file has the following path: (example)
C:\Users\me\Desktop\capa\daer\New folder\New folder\New Microsoft Office Excel Worksheet.xlsx
the problem is that when i load it into the script, the path is
C:\Users\me\Desktop\capa\daer\NEWFOL~1\NEWFOL~1\NEWMIC~1.XLS
I cannot work with this path, i need the other one. Does anyone knows how i can convert the second path to the first one?
Thank you in advance
Fishermans Friend |
|
| Back to top |
|
 |
TLM
Joined: 21 Aug 2006 Posts: 767 Location: The Shell
|
Posted: Fri Nov 06, 2009 9:49 pm Post subject: |
|
|
See A_LoopFileLongPath.
hth _________________
Off diving into dll functions.. |
|
| Back to top |
|
 |
|