mohan93 Posted February 19, 2014 Share Posted February 19, 2014 Hey guys, My shortcut is already present under the lcoation "C:programDataMicrosoftWindowsStart MenuPrograms" I need to change the shortcut icon for it. I will be having the icon file sample.ico in %temp% folder. When i try to get help from already avaible script, it resolves to @Desktopfolder or @windir. how do i resolve it for C:programData Please assist. Link to comment Share on other sites More sharing options...
SupaNewb Posted February 26, 2014 Share Posted February 26, 2014 (edited) $Path = @AppDataCommonDir ConsoleWrite($Path & @CRLF) $Path = @AppDataCommonDir & "\Microsoft\Windows\Start Menu\Programs" ConsoleWrite($Path & @CRLF) $Path = @ProgramsCommonDir ConsoleWrite($Path & @CRLF) Edited February 26, 2014 by SupaNewb Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now