AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

FileExists and %SYSTEMROOT%

Ein Thema von delphinia · begonnen am 18. Jun 2011 · letzter Beitrag vom 18. Jun 2011
Antwort Antwort
delphinia

Registriert seit: 16. Feb 2006
444 Beiträge
 
Delphi 11 Alexandria
 
#1

FileExists and %SYSTEMROOT%

  Alt 18. Jun 2011, 18:00
Delphi-Version: 5
Hallo,

bei mir erfolgte eine Abfrage - "%SYSTEMROOT%/System32/fgRt.bmp" auf Existens mittels FileExists was aber immer FALSE ist - die FIle ist da! Es liegt am "%Systemroot%"

Wenn ich das zB im Explorer eingeben will/würde der Explorer die File öffnen - warum ist aber aus Delphi heraus die Auflösung dieser SystemVariable nicht möglich bzw Fehlerhaft?
Doreen
Gruss Doreen
  Mit Zitat antworten Zitat
Benutzerbild von s.h.a.r.k
s.h.a.r.k

Registriert seit: 26. Mai 2004
3.159 Beiträge
 
#2

AW: FileExists and %SYSTEMROOT%

  Alt 18. Jun 2011, 18:07
Hier solltest du die Lösung finden.
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
  Mit Zitat antworten Zitat
delphinia

Registriert seit: 16. Feb 2006
444 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: FileExists and %SYSTEMROOT%

  Alt 18. Jun 2011, 18:15
Hey super danke - DAS hat geholfen!
Doreen
Gruss Doreen
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:59 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz