English
Forum

Open File

 

Thomas
Freier
If a File because of fehlender link not open can, use I z.Z.:
CompileMarkSeparation
Def FileOpenAs(1) WinExec("RUNDLL32 SHELL32.DLL,OpenAs_RunDLL " + $(1),1)
FileOpenAs("neu.dcg")
WaitInput
end<
pre>

Can at chosen Program, which kompletten way + *.exe, detect?
 
Gruß Thomas
Windows XP SP2, XProfan X2
07/11/10  
 




Dieter
Zornow
Yes the goes, The File must thereby but existieren, The Exe becomes displayed with way
CompileMarkSeparation
cls
declare exe#
dim exe#,256
var ext$ = loadfile$("Datei laden","*.*")
External("SHELL32","FindExecutableA",addr(ext$),0,exe#)
print string$(exe#,0)
dispose exe#
waitin
>
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/11/10  
 




Thomas
Freier
is of course not How I me the vorstellte, but interestingly and helpful.
I should then a File with the Endung produce and to Pfadermittlung again delete.
 
Gruß Thomas
Windows XP SP2, XProfan X2
07/11/10  
 




Dieter
Zornow

I should then a File with the Endung produce and to Pfadermittlung again delete.


so is it, if The File No is must temporär a created go.

what seek thou very, have your question then not correctly. understood. whom way and the names the auszuführenden File must You Yes having.
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/11/10  
 




Thomas
Freier
Dieter, your Script is the tidy Solution, a EXE to a File extension to find, if at all present.
I wanted to a EXE, its way not famous is, started without the a File opened and is whom dialog "Öffnen mit" abuse, d.h., Filenames with richtiger Endung pretending, moreover gehörende EXE select and started. my thought, here now whom way the launched EXE To get.
then comes of Program naturally The Message: can I not open ..New... Cancel. New ought to it then his.
yet Search I then all the partitions The EXE. lasts hold its Time.
 
Gruß Thomas
Windows XP SP2, XProfan X2
07/11/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.181 Views

Untitledvor 0 min.
RudiB.10/07/22
Torben Nissen02/01/21
Christian Hahn06/25/13
excedra11/19/12
More...

Themeninformationen

this Topic has 2 subscriber:

Thomas Freier (3x)
Dieter Zornow (2x)


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