Jump to content

Local Ve Locallow Dizinleri


FLaky
 Share

Recommended Posts

mrb arkadaşlar...Local ve LocalLow dizinlerini bi türlü tam olarak oturtamıyorum @UserProfileDir kullandığımda ise farklı yerlere atıyor dosyları...Roaming klasöründe sorun yok ama local ve locallow ile ilgili yardımlarınızı bekliyorum

 

 

 

C:\Users\User\AppData\Roaming = @AppDataDir

 

C:\Users\User\AppData\LocalLow = ?

 

C:\Users\User\AppData\Local = ?
Link to comment
Share on other sites

flaky, prk programlamadan anlamam ana File menü tools çalışmamda Akozdemirin verdiği bir kod var.

Source: {app}\RadioSure.xml; DestDir: {localappdata}\RadioSure

Bu kod 

C:\Users\Kullanıcı adı\AppData\Local dizinine RadioSure adlı bir klasör oluşturuyor ve bu klasörün içine RadioSure.xml dosyasını kopyalıyor.

Belki bir fikir verir diye yazdım.

Not: bu kod "iss" (inno setup dosyası) içindedir.

Link to comment
Share on other sites

Flaky,inno setup programıyla ilgili soracağınız biri varsa o da Akozdemirdir.Cidden ben anlamam.Sadece varolanı düzenler kısmen değiştirebilirim hepsi bu.Ama sıfırdan iss dosya oluşturamam bilesin.

O verdiğim kod makroda(Makro mu değil mi onu da bilmiyorum ya.) falan değildi ki.Akozdemir yazmıştı.Saygılarımla

Kaynak klasör : app klasörü.

Kopyalanacak dosya : RadioSure.xml

RadioSure klasörü oluşturulduktan sonra

Kopyalanacağı yer : C:\Users\YAGMUR\AppData\Local\RadioSure

Link to comment
Share on other sites

NT5 ile NT6 gördüğüm kadarıyla farklı. Neyse aşağıdaki kodları denersin...

Global $UserProfileDir = @UserProfileDir
If StringRight($UserProfileDir, 1) <> "\" Then $UserProfileDir &= "\"

Global $User_LocalLow = $UserProfileDir & "AppData\LocalLow"
Global $User_Local = $UserProfileDir & "AppData\Local"

If StringInStr("|WIN_2003|WIN_XP|WIN_XPe|WIN_2000|", "|" & @OSVersion & "|") <> 0 Then
	$User_LocalLow = $UserProfileDir & "Application Data"
	$User_Local = $UserProfileDir & "Local Settings"
EndIf

MsgBox(64, "", "LocalLow =  " & $User_LocalLow & @CRLF & "Local =  " & $User_Local)
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...