PeterdeB
asked on
How to do this in Delphi? (some DOS commands)
Howdie Folks,
I'm using a command script to get my hands on a directory which is created by windows each time a program is installed. I cannot predefine the name and so far the only way for me to get the directory is by using this command script: (I use it in my unattended installs btw)
FOR /f %%i IN ('DIR /b /a:d "%AppData%\Mozilla\Firefox \Profiles" ') DO RMDIR /S /Q "%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Profi les\%%i\Ca che"
Is there a Delphi way of doing this? I need to access the directory after it has been created but before the user interacts.
Kind regards,
Dweep
Ps working samples make me a happy man
I'm using a command script to get my hands on a directory which is created by windows each time a program is installed. I cannot predefine the name and so far the only way for me to get the directory is by using this command script: (I use it in my unattended installs btw)
FOR /f %%i IN ('DIR /b /a:d "%AppData%\Mozilla\Firefox
Is there a Delphi way of doing this? I need to access the directory after it has been created but before the user interacts.
Kind regards,
Dweep
Ps working samples make me a happy man
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Kind regards,
Dweep ;-)