AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Convert path with ~ inside

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Fishermans Friend
Guest





PostPosted: Fri Nov 06, 2009 9:13 pm    Post subject: Convert path with ~ inside Reply with quote

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

PostPosted: Fri Nov 06, 2009 9:49 pm    Post subject: Reply with quote

See A_LoopFileLongPath.

hth
_________________

Off diving into dll functions..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group