Autor Beitrag
Nano-Ware
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 7



BeitragVerfasst: Di 08.12.09 21:01 
Hi,

mein Programm wird unter C:/Programme/[Mein Programm]/ installiert.... ich wollte nur fragen, wie daas unter Vista mit den Rechten ist. Kann ich mit meinem Programm (das unter C:/Programme/MeinProgramm/) dann ohne Adminrechte eine Datei in

C:/Programme/MeinProgramm/TEMP/ schreiben? Auch ohne, dass da irgendwelche Meldungen kommen
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Di 08.12.09 21:40 
Nö.
Dafür gibt ja den "offiziellen" Temp Ordner.

Btw.: In windows verwendet man \ und nicht /

_________________
PROGRAMMER: A device for converting coffee into software.
Nano-Ware Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 7



BeitragVerfasst: Di 08.12.09 21:50 
Ja gibts das auch für alle Benutzer :wink: bzw wie soll ich das für die verschiedenen Systemversionen programmieren? Jede hat doch einen anderen Pfad
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 08.12.09 22:04 
user profile iconNano-Ware hat folgendes geschrieben Zum zitierten Posting springen:
Kann ich mit meinem Programm (das unter C:/Programme/MeinProgramm/) dann ohne Adminrechte eine Datei in C:/Programme/MeinProgramm/TEMP/ schreiben? Auch ohne, dass da irgendwelche Meldungen kommen

Nein.
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Di 08.12.09 22:46 
user profile iconNano-Ware hat folgendes geschrieben Zum zitierten Posting springen:
Jede hat doch einen anderen Pfad

Und? Für sowas gibt es Funktionen, die den Pfad zurückliefern..
www.delphi-library.d...ight=anwendungsdaten

_________________
PROGRAMMER: A device for converting coffee into software.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Di 08.12.09 23:04 
Das war übrigens auch vor Vista schon so. Du hast es bloß womöglich nicht gemerkt, weil du immer als Administrator angemeldet warst.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Nano-Ware Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 7



BeitragVerfasst: Mi 09.12.09 07:43 
Danke stimmt :wink: