ArminVB Posted January 28, 2012 Share Posted January 28, 2012 [b]Arkadaşlar CMD komutları ile Program Files'teki bir programın kısayolunu masaüstüne atmasını sağlayabilirmiyiz ? [/b] Quote Link to comment Share on other sites More sharing options...
seyfi53 Posted January 28, 2012 Share Posted January 28, 2012 saglarsin. Quote Link to comment Share on other sites More sharing options...
ArminVB Posted January 28, 2012 Author Share Posted January 28, 2012 [quote name='seyfi53' date='28 January 2012 - 22:30 ' timestamp='1327782659' post='1147398'] saglarsin. [/quote] [b]Çok yardımcı oldun. CMD komutlarınıda verseydin keşke [/b] Quote Link to comment Share on other sites More sharing options...
casira Posted January 28, 2012 Share Posted January 28, 2012 Cmd ile yapılıyordur belki ama istersen autoit bu iş için ideal. [b] #NoTrayIcon FileCreateShortcut(@ProgramFilesDir & "\CCleaner\CCleaner.exe",@DesktopDir & "\CCleaner.lnk","","","Forever TNCTR")[/b] Quote Link to comment Share on other sites More sharing options...
ArminVB Posted January 28, 2012 Author Share Posted January 28, 2012 [quote name='casira' date='28 January 2012 - 22:48 ' timestamp='1327783703' post='1147422'] Cmd ile yapılıyordur belki ama istersen autoit bu iş için ideal. [b] #NoTrayIcon FileCreateShortcut(@ProgramFilesDir & "\CCleaner\CCleaner.exe",@DesktopDir & "\CCleaner.lnk","","","Forever TNCTR")[/b] [/quote] [center][b]cmd olursa daha iyi olur ama bir cevap alamazsam autoit'i denerim. [/b][/center] Quote Link to comment Share on other sites More sharing options...
blackman12 Posted January 28, 2012 Share Posted January 28, 2012 hayır cmd de bunun için bir komut yok ufak bir programcıkla yapıyordum ben eskiden. Quote Link to comment Share on other sites More sharing options...
Editor MOTUN Posted January 28, 2012 Editor Share Posted January 28, 2012 programı kısayolu ile paketleyip kopyalatsa olmaz mı modum? COPY "LEON.lnk" "%AllUsersProfile%\Desktop" Quote Link to comment Share on other sites More sharing options...
ArminVB Posted January 28, 2012 Author Share Posted January 28, 2012 [quote name='blackman12' date='29 January 2012 - 00:00 ' timestamp='1327788046' post='1147451'] hayır cmd de bunun için bir komut yok ufak bir programcıkla yapıyordum ben eskiden. [/quote] [b]peki ben nerden bulucağım öyle bir programcık ? [/b] Quote Link to comment Share on other sites More sharing options...
qwerty1986 Posted January 28, 2012 Share Posted January 28, 2012 windows7 yüklü sistemlere powershell ile aşağıdaki kodla yapabilirsin function CreatePSShortcut { $wshell = New-Object -comObject WScript.Shell $path1 = $wshell.SpecialFolders.Item('Desktop') $path1| ForEach-Object { $link = $wshell.CreateShortcut("$_\Hesap Makinesi.lnk") $link.TargetPath = 'calc.exe' $link.Description = 'Hesap Makinesi' $link.WorkingDirectory = $home $link.IconLocation = 'calc.exe' $link.Save() } } CreatePSShortcut Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.