| View previous topic :: View next topic |
| Author |
Message |
dater
Joined: 20 Apr 2007 Posts: 5
|
Posted: Fri Apr 20, 2007 10:05 pm Post subject: Bug in %A_WorkingDir% on Vista ! |
|
|
Hello,
my Programm need the %A_WorkingDir% Var, under XP no problems and now i use Vista and the %A_WorkingDir% var can not found the real dir !
>> Menu,Tray,Icon,%A_WorkingDir%\config\icon.ico
Realpfad is: >>C:\test\config\icon.ico
Searchpfad is: >>c:\Windows\system32\config\icon.ico
Bug.
Dater |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Apr 20, 2007 11:53 pm Post subject: |
|
|
Best way to fix this is...
- Boot to a floppy boot disk
- Reformat the hardrive
- Install Windows XP
You need to fix the 1st problem 1st (Vista), then we can talk AHK  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Apr 21, 2007 3:03 am Post subject: |
|
|
| I've no means to test this. Can anyone else reproduce it? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sat Apr 21, 2007 5:20 am Post subject: |
|
|
I ran a script containing the following code in five different folders. All did what I expected... does this work for you, Dater? Is there some other code I should test with?
| Code: |
msgbox, %A_ScriptWorkingDir%
|
I have Vista home premium _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|