| |
|
|
Stephan Sonneborn | Hello together,
I Have a question in the Context with WIN 7: Intern is the programs directory C:\Program Files. on the disk standing but C:\programs. new programs go too to C:\programs stored.
becomes but the COPY-commands carryed out, verweigert this its service, because it The Quelldatei not finds (see Image).
The Quelldatei becomes through CompileMarkSeparationIniFile$ = PrgDir$ + "\\BOMGenerator.ini"
TemplateSearchPath$ = PrgDir$ + READINI$(IniFile$, "OPTIONS", "TemplateSearchPath")
Template$ = TemplateSearchPath$ + READINI$(IniFile$, "OPTIONS", "TEMPLATE")re> determined, where PrgDir$ so is determined: CompileMarkSeparation $IFDEF Interpreter
SET ("DEBUGMODE" , 1)
SET ("ERRORLEVEL" , 1)
VAR PrgDir$ = GETDIR$("@")
$ELSE
SET ("DEBUGMODE" , 0)
SET ("ERRORLEVEL" , 0)
VAR PrgDir$ = $PROGDIR
$ENDIFn>
The Entries in the INI lauten: CompileMarkSeparation
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/16/11 ▲ |
|
|
|
|
| the lying on the File- and Registry-Virtualisierung the UAC. See: [...] |
|
|
| |
|
|
|
Stephan Sonneborn | Hello Frank,
and what is the then for Programmer? the Program as solches runs, The Ini becomes found and has the same Pfadeinstellungen (except for whom Unterpfad \\Template\\). The copy-commands bemängelt but, that it The Quelldatei not finds. If I on C:\Programmname installiere, functions too the copy. |
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/16/11 ▲ |
|
|
|
|
| on the simplest - and so virtual - to $AppDataDir \ ProgrammName write! |
|
|
| |
|
|
|
E.T. | functions by me correctly: CompileMarkSeparationDEF @GSFP(4) ! "Shell32","SHGetSpecialFolderPathA"
Struct PfadInfo = PfadInf$(260)
Declare Pfad#, Pfad$
Dim pfad#,PfadInfo
@GSFP(%hwnd,pfad#,38,0)'oder 42
Case pfad#.PfadInf$ > "" : Pfad$ = "CSIDL "+ format$("0000",str$(38))+" = "+String$(Pfad#,0)
Dispose Pfad#
@Messagebox(Pfad$,"\qProgramme\q - Verzeichnis :",64)
a>
but How IF already anmerkte: In's Prog-directory write gives the öffteren gemecker |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 03/17/11 ▲ |
|
|
|
|
Stephan Sonneborn | Hello Mario,
How definierst You "korrekt"? shows The Messagebox with you "C:\Programme"?
by me becomes that here displayed...
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/17/11 ▲ |
|
|
|
|
Stephan Sonneborn | iF (16.03.11)
on the simplest - and so virtual - to $AppDataDir \ ProgrammName write!
Hello iF,
sincere said, find I personally not so cool, that pieces of Program in the Programmverzeichnis lying and others then in the Anwendungsdaten-directory.
therefore try I, so far It's all right, any Programmteile in a Path to leave. |
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/17/11 ▲ |
|
|
|
|
Dieter Zornow | your opinion contradict but the Sicherheitskonzept Windows, therefore indeed The virtual directories. the must now eachone Programmer so hold whether it wants or not or its programs hold not C:\programs install. The Browser Chromplus installs itself z.B. complete in the Appdata directory, would too for you a Solution, circa everything together To hold. |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 03/17/11 ▲ |
|
|
|
|
E.T. | Stephan Sonneborn (17.03.11)
Hello Mario, How definierst You "korrekt"? shows The Messagebox with you "C:\Programme"? ...
No, but shows the right directory (in the Var way$ cache), which for File-Operationen functions (nat. whom Program-way complement, z. B. with "\meinprogramm")
what me but even so falls in: I Have Yes 'ne engl. Version, there's this way correctly... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 03/17/11 ▲ |
|
|
|