bursa_Texas Posted April 4, 2011 Share Posted April 4, 2011 (edited) C:\Documents and Settings\Administrator\Application Data ya veri göndermem gerekiyor. Winrar ile sfx arşivi yapıyorum ancak bilgisayara göre sürücü harfi ve kullanıcı adı değişkenlik gösterebilir. Path=%systemdrive%\Documents and Settings\Administrator\Application Data olarak sürücü kısmını çözüyorum ancak acık olan oturumu kullanıcı adını hangi komutla yazdırabilirim. Her bilgisayarda administrator olmayabilir. %systemuser%, %user% gibi kendimce komutlar türetip denedim ama nafile nedir oturumun adını yazdıracak komut? Edited April 4, 2011 by bursa_Texas Quote Link to comment Share on other sites More sharing options...
casira Posted April 4, 2011 Share Posted April 4, 2011 (edited) %UserProfile%\Application Data\Klasör adı yazdığın zaman olur. %AllUsersProfile%\Application Data\Klasör adı yolunada bu komutla yollayabilirsin. Ayrıca bu tür işlerde autoitte çok başarılı. Edited April 4, 2011 by casira Quote Link to comment Share on other sites More sharing options...
bursa_Texas Posted April 4, 2011 Author Share Posted April 4, 2011 [quote name='casira' date='04 April 2011 - 12:56 ' timestamp='1301921790' post='987453'] %UserProfile%\Application Data\Klasör adı [/quote] Süpersin Teşekkürler. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted April 11, 2011 Share Posted April 11, 2011 Bu konu "Katılımsız Kurulum Destek" forumundan "Yazılım" forumuna taşınmıştır. Quote Link to comment Share on other sites More sharing options...
xarax Posted April 11, 2011 Share Posted April 11, 2011 [quote]http://en.wikipedia.org/wiki/Environment_variable[/quote] buradan tümüne ulaşabilirsin.. Quote Link to comment Share on other sites More sharing options...
berce Posted April 12, 2011 Share Posted April 12, 2011 [quote name='casira' date='04 April 2011 - 15:56 ' timestamp='1301921790' post='987453'] %UserProfile%\Application Data\Klasör adı yazdığın zaman olur. %AllUsersProfile%\Application Data\Klasör adı yolunada bu komutla yollayabilirsin. Ayrıca bu tür işlerde autoitte çok başarılı. [/quote] onun yerine şu kullanılabilir daha kısa olur %appdata%\klasör_ismi %appdata% komutunu kullanabilirsin 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.