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 

Variable problem

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



Joined: 26 Oct 2007
Posts: 10

PostPosted: Mon Jul 14, 2008 11:08 am    Post subject: Variable problem Reply with quote

May i know how to copy files in a folder named %folder% ?
%folder% is not a variable.

But the hotkey will read it as variable.

Eg, C:\Dir\%folder% will read as C:\Dir rather than C:\Dir\%folder%

Is there any methods to rename this folder using ahk?
or tell the ahk the %% is the real %?
Please help!
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 650

PostPosted: Mon Jul 14, 2008 11:18 am    Post subject: Reply with quote

FAQ

Use the backtic `% see http://www.autohotkey.com/docs/commands/_EscapeChar.htm
Back to top
View user's profile Send private message
alantsd



Joined: 26 Oct 2007
Posts: 10

PostPosted: Mon Jul 14, 2008 11:24 am    Post subject: Reply with quote

HugoV wrote:
FAQ

Use the backtic `% see http://www.autohotkey.com/docs/commands/_EscapeChar.htm



Whao thanks mate! you have been very helpful..
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