English
Forum

WIN 7 and the windows-programs directory...

 

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
CompileMarkSeparation
IniFile$            = 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

46 kB
Hochgeladen:03/16/11
Downloadcounter94
Download
 
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:  [...] 
 
03/16/11  
 




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!
 
03/16/11  
 




E.T.
functions by me correctly:
CompileMarkSeparation
DEF @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...


28 kB
Hochgeladen:03/17/11
Downloadcounter95
Download
 
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  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.715 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie