: : well use the full path
: : shell "c:\games\dll\123.dll"
: : tell me if it didnt help or if i got your question wrong
: : The Ghost
: : email@example.com
: :-/ It’s not quite the answer i was hoping for cause c:\games\dll\123.dll is just an example - there are 1000 of file paths that's shorted like this one. Beside there is one command that change the path (like PathTree
or so...), cause like I said its an impossible task to change all.
: I once got the command, but a virus forced me to format my comp. So i will be able to recognize the right command
: Btw: PathTree doesn't work just an example :)
You can use ChDir to change the path and then shell the program or you can use the API ShellExecute:
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
ShellExecute 0, "open", "File name here", "", "Folder here", 2