cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
karthic
Level 4

getting current directory

😞

hi,
Can anybody tell me how to get the CurrentDirectory property if i invoke the setup.exe through command prompt

i tried with GetCurrentDirectory(Vb Script code) n it gives path of setup.exe after double clicking on it.But when i invoke through command prompt it gives the
different path

E.g - C:\XXX\XXX>"D:\abc\dba\setup.exe"

after invoking it gives path as "C:\XXX\XXX>" n not the "D:\abc\dba\setup.exe"
Labels (1)
0 Kudos
(2) Replies
palanisamy
Level 7

use windows installer property "SETUPEXEDIR" to reteive the setup path..
0 Kudos
GetExp
Level 6

SRCDIR must also help
0 Kudos